adding the start of the inventory

This commit is contained in:
Clément Le Bihan
2020-04-27 19:45:07 +02:00
parent 008b9c5fbe
commit 2a09832124
6 changed files with 53 additions and 13 deletions
+2
View File
@@ -24,6 +24,8 @@ bool catch(gc_engine *engine, gc_entity *entity, gc_vector2 _, \
enum gc_mousekeys __);
bool toggle_pause(gc_engine *engine, gc_entity *entity, gc_vector2 _, \
enum gc_mousekeys __);
bool toggle_inventory(gc_engine *engine, gc_entity *entity, gc_vector2 _, \
enum gc_mousekeys __);
int checkbox_update(gc_scene *s, gc_entity *entity, bool checked);
void resolution_set_txt(gc_entity *entity, gc_engine *engine, \
+6 -1
View File
@@ -10,6 +10,11 @@
#include "system.h"
const gc_system game_manager_system;
struct game_manager_system {
gc_system base;
bool is_inventory;
};
const struct game_manager_system game_manager_system;
#endif //_MAP_MOVEMENT_SYSTEM_H__