diff options
author | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-04-25 23:51:58 +0300 |
---|---|---|
committer | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-04-25 23:51:58 +0300 |
commit | a7cc19f9e254d0ee391b2b65ef6da6e471da803c (patch) | |
tree | 5ef2d2c1974c4500942f78e38eccc06b38fafecb /sources/main.c | |
parent | 3f382e6e0a494baaf3d4d104c1af0630fb3817a9 (diff) | |
download | gamejam-slgj-2024-a7cc19f9e254d0ee391b2b65ef6da6e471da803c.tar.gz gamejam-slgj-2024-a7cc19f9e254d0ee391b2b65ef6da6e471da803c.tar.bz2 gamejam-slgj-2024-a7cc19f9e254d0ee391b2b65ef6da6e471da803c.zip |
Adding more API
Diffstat (limited to 'sources/main.c')
-rw-r--r-- | sources/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sources/main.c b/sources/main.c index 3601fe3..5086080 100644 --- a/sources/main.c +++ b/sources/main.c @@ -4,8 +4,10 @@ #endif #include "raylib.h" -#include "text.h" #include "s7.h" +#include "text.h" +#include "texture.h" +#include "core.h" #include <math.h> #include <stdio.h> @@ -41,6 +43,8 @@ int main(int argc, char* argv[]) { s7 = s7_init(); rl_text_define_methods(s7); + rl_texture_define_methods(s7); + rl_core_define_methods(s7); const int screen_width = 800; const int screen_height = 600; @@ -48,7 +52,6 @@ int main(int argc, char* argv[]) { InitWindow(screen_width, screen_height, "SLGJ - 2024"); SetTargetFPS(60); - printf("foi"); char filename[] = SCRIPTS_PATH"main.scm"; s7_load(s7, filename); |