blob: 62dd8746fc4e48cf3536ca788073b4a9656d44be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// graphics.h
#ifndef GRAPHICS_H
#define GRAPHICS_H
#include "common.h"
#include <raylib.h>
#include <stdint.h>
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);
void draw_graphics_objects(const object_t* world, uint32_t count);
void draw_graphics_info(uint32_t objs);
bool should_close_graphics(void);
#endif // GRAPHICS_H
|