diff options
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, |
