diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-05-01 09:12:20 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-05-01 09:12:20 +0200 |
| commit | b694a83655d97bb93318c4523a40c1915f3c05ee (patch) | |
| tree | 49c23560bdcc0837eb4726770eac4a4735b527fe /include | |
| parent | 3767d1ce3e2b90d4eb667985c0997cb5293cc27e (diff) | |
work
Diffstat (limited to 'include')
| -rw-r--r-- | include/editor.h | 11 | ||||
| -rw-r--r-- | include/game.h | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/include/editor.h b/include/editor.h new file mode 100644 index 0000000..e6fbb0a --- /dev/null +++ b/include/editor.h @@ -0,0 +1,11 @@ +#ifndef INCLUDE_EDITOR +#define INCLUDE_EDITOR + +#ifdef MODE_DEBUG +bool is_editing_map = false; + +void update_editor(platform_window* window); +void draw_editor(platform_window* window); +#endif + +#endif
\ No newline at end of file diff --git a/include/game.h b/include/game.h index cc1057d..f2fd0cb 100644 --- a/include/game.h +++ b/include/game.h @@ -11,8 +11,6 @@ #define SERVER_MAX_PLAYERS (10) #define SERVER_PATHFINDING_INTERVAL (0.25f) -bool is_editing_map = false; - typedef enum t_game_state { GAMESTATE_IDLE, GAMESTATE_LOADING_MAP, |
