From 576bd27e11ec70bdbd1b9a644d2e227b57586337 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Sun, 10 May 2026 00:28:14 -0400 Subject: i ain't splitting alla this up --- teensy/teensy.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'teensy/teensy.h') 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. -- cgit v1.3-2-g0d8e