diff options
| author | iamcheeseman <[email protected]> | 2026-05-12 16:41:37 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-12 16:41:37 -0400 |
| commit | 897a153d290ed4d3647ad9e0100d1b717f580b5f (patch) | |
| tree | 844dee0b3b2b7d869cd8e1ba27ffb403e8d51d99 /teensy/teensy_platform.h | |
| parent | c1dd3ce9850fb2906aa5937b4374d1c0fc74ccf7 (diff) | |
typedef all structs and rename to Ada_Case
There isn't really a technical reason that I made this change. I just
wanted to use Ada_Case. All types were prefixed with ty_, e.g. ty_Image.
Diffstat (limited to 'teensy/teensy_platform.h')
| -rw-r--r-- | teensy/teensy_platform.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/teensy/teensy_platform.h b/teensy/teensy_platform.h index 2128c5e..5301385 100644 --- a/teensy/teensy_platform.h +++ b/teensy/teensy_platform.h @@ -6,14 +6,14 @@ // This platform functions are to be implemented by a platform library. -void ty_platform_init(struct ty_ctx *ctx); +void ty_platform_init(ty_Ctx *ctx); void ty_platform_deinit(void); -void ty_platform_frame(struct ty_image img); +void ty_platform_frame(ty_Image img); bool ty_platform_os_wants_quit(void); double ty_platform_get_time(void); -bool ty_platform_is_button_down(enum ty_button btn); +bool ty_platform_is_button_down(ty_Button btn); // Optional, no editor if not implemented -struct ty_vec2i ty_platform_get_mouse(void); +ty_Vec2i ty_platform_get_mouse(void); #endif // TEENSY_PLATFORM_H_ |
