diff options
| author | iamcheeseman <[email protected]> | 2026-05-10 00:28:14 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-10 00:28:14 -0400 |
| commit | 576bd27e11ec70bdbd1b9a644d2e227b57586337 (patch) | |
| tree | 2dc41e3f88bb95568f73ee372fc35512afcbcf9b /teensy/teensy.h | |
| parent | 9ed5698b3c74c7ce1784d3bebe2aa73d5a0c319d (diff) | |
i ain't splitting alla this up
Diffstat (limited to 'teensy/teensy.h')
| -rw-r--r-- | teensy/teensy.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/teensy/teensy.h b/teensy/teensy.h index c94986f..1f082f9 100644 --- a/teensy/teensy.h +++ b/teensy/teensy.h @@ -1,9 +1,9 @@ #ifndef TEENSY_H_ #define TEENSY_H_ -#include "common.h" -#include "context.h" -#include "dyn_arr.h" +#include "teensy_common.h" +#include "teensy_context.h" +#include "teensy_list.h" #define ty_vec2(x, y) ((struct ty_vec2){x, y}) #define ty_vec2i(x, y) ((struct ty_vec2i){x, y}) @@ -19,15 +19,15 @@ #define TY_COLOR_CYAN ty_color(0, 255, 255) #define TY_COLOR_WHITE ty_color(255, 255, 255) -struct ty_creation_hints { - int win_width; - int win_height; - const char *win_title; +struct ty_hints { + int scr_width; + int scr_height; + const char *game_title; int ticrate; }; struct ty_ctx { - struct ty_creation_hints creation_hints; + struct ty_hints hints; double ticrate; double prev_tic_ts; }; @@ -72,7 +72,7 @@ struct ty_renderer { struct ty_image screen; }; -void ty_init(struct ty_creation_hints creation_hints); +void ty_init(struct ty_hints hints); void ty_deinit(void); // Whether or not the main loop should continue executing. |
