diff options
Diffstat (limited to 'game/client/toggles.hh')
| -rw-r--r-- | game/client/toggles.hh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/game/client/toggles.hh b/game/client/toggles.hh new file mode 100644 index 0000000..98b9fe5 --- /dev/null +++ b/game/client/toggles.hh @@ -0,0 +1,27 @@ +#ifndef CLIENT_TOGGLES_HH +#define CLIENT_TOGGLES_HH 1 +#pragma once + +namespace toggles +{ +// The value is true whenever the debug +// toggles manager awaits for a sequenced key +// to be pressed. During this no input should +// be processed by any other gameplay system +extern bool is_sequence_await; +} // namespace toggles + +namespace toggles +{ +extern bool draw_chunk_borders; +extern bool draw_metrics; +extern bool render_fullbright; +extern bool render_wireframe; +} // namespace toggles + +namespace toggles +{ +void init(void); +} // namespace toggles + +#endif /* CLIENT_TOGGLES_HH */ |
