summaryrefslogtreecommitdiffstats
path: root/src/game/client/game.hh
blob: 66b28cd03a36521347f8928365073096fbdb3b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: game.hh
// Description: Main game logic

#ifndef CLIENT_GAME_HH
#define CLIENT_GAME_HH
#pragma once

namespace config
{
class Boolean;
class String;
class Unsigned;
} // namespace config

namespace client_game
{
extern config::Boolean streamer_mode;
extern config::Boolean world_curvature;
extern config::Unsigned fog_mode;
extern config::String username;
} // namespace client_game

namespace client_game
{
extern bool hide_hud;
} // namespace client_game

namespace client_game
{
void init(void);
void init_late(void);
void shutdown(void);
void fixed_update(void);
void fixed_update_late(void);
void update(void);
void update_late(void);
void render(void);
void layout(void);
} // namespace client_game

#endif