diff options
Diffstat (limited to 'src/graphics.h')
| -rw-r--r-- | src/graphics.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h index e9ea1fd..65c2ddc 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -3,7 +3,16 @@ #define GRAPHICS_H #include <raylib.h> +#include <stdint.h> #include "common.h" -void create_new_object(object_t object); +void init_graphics(uint32_t x, uint32_t y, const char* title); +void close_graphics(void) +void begin_graphics_drawing(void); +void end_graphics_drawing(void); +void clear_graphics(const Color color); +void draw_graphics_object(const object_t* obj, Color color); +void draw_graphics_objects(const object_t* world, uint32_t count, Color color); +void draw_graphics_info(uint32_t fps, uint32_t objs, uint32_t max_objs); +bool should_close_graphics(void); #endif // GRAPHICS_H |
