From 6a0ef52763cee6e6d7c631516461e0600d9a2da1 Mon Sep 17 00:00:00 2001 From: realtradam Date: Sun, 26 Mar 2023 04:19:40 -0400 Subject: hmm --- include/rodeo.h | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'include/rodeo.h') diff --git a/include/rodeo.h b/include/rodeo.h index b67970c..1adb258 100644 --- a/include/rodeo.h +++ b/include/rodeo.h @@ -3,7 +3,7 @@ // public #include "rodeo_types.h" -// system +// -- system -- #include #include #include @@ -38,8 +38,14 @@ rodeo_color_RGBAFloat_to_RGBA8(const rodeo_color_RGBAFloat_t color); rodeo_color_RGBAFloat_t rodeo_color_RGBA8_to_RGBAFloat(const rodeo_color_RGBA8_t color); -int32_t -rodeo_random_simple_get(void); +void +rodeo_random_seed_set(uint64_t seed); + +double +rodeo_random_double_get(void); + +uint64_t +rodeo_random_uint64_get(void); /// --- Core --- @@ -60,14 +66,20 @@ mrodeo_window_do( \ void rodeo_window_init( - int screen_height, - int screen_width, - char* title + uint16_t screen_height, + uint16_t screen_width, + rodeo_string_t title ); void rodeo_window_deinit(void); +uint16_t +rodeo_screen_width_get(void); + +uint16_t +rodeo_screen_height_get(void); + #define \ mrodeo_frame_do( \ state \ @@ -108,8 +120,8 @@ rodeo_texture_2d_default_get(void); rodeo_texture_2d_t rodeo_texture_2d_create_from_RGBA8( - const uint32_t width, - const uint32_t height, + const uint16_t width, + const uint16_t height, const uint8_t memory[] ); -- cgit v1.2.3