1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
// public internal
#include "rodeo_types.h"
// system
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
void
Rodeo__\
init_window(
Rodeo__data_p *state,
int screen_height,
int screen_width,
char* title
);
void
Rodeo__\
deinit_window(Rodeo__data_p state);
void
Rodeo__\
quit();
void
Rodeo__\
begin(Rodeo__data_p state);
void
Rodeo__\
end(Rodeo__data_p state);
void
Rodeo__\
execute_main_loop(
Rodeo__data_p state,
Rodeo__main_loop_p main_loop_function
);
bool
Rodeo__\
should_quit(Rodeo__data_p state);
void
Rodeo__\
set_quit(Rodeo__data_p state, bool quit);
void
Rodeo__\
draw_debug_text(uint16_t x, uint16_t y, const char *format, ...);
const char *
Rodeo__\
get_renderer_name_as_string();
void
Rodeo__\
flush_batch(Rodeo__data_p state);
void
Rodeo__\
draw_rectangle(
Rodeo__data_p state,
uint16_t x,
uint16_t y,
uint16_t width,
uint16_t height,
Rodeo__color_rgba_t color
);
|