diff options
| author | Uneven Prankster <unevenprankster@protonmail.com> | 2023-09-23 19:28:45 -0300 |
|---|---|---|
| committer | Uneven Prankster <unevenprankster@protonmail.com> | 2023-09-23 19:28:45 -0300 |
| commit | a89f892640cf12f75c7ce18e6e88c70a8d3965ed (patch) | |
| tree | e917bda607b86cb7c5bd80df2e5abf549d972163 /src/main.c | |
| parent | 83505b7be49dbf7789deb814bd159d9c37181d05 (diff) | |
things can always be nicer :D
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -5,6 +5,7 @@ #include "controller.h" #include "rand_sys.h" +#include "audio_sys.h" int main() { @@ -12,6 +13,8 @@ int main() SetTargetFPS(60); + InitAudioDevice(); + rand_seed(); init_tex_sys(); @@ -22,6 +25,8 @@ int main() float dt = GetFrameTime(); poll_rumble(dt); + update_audio(); + update_textures(); update_shaders(); @@ -31,10 +36,15 @@ int main() EndDrawing(); } + unload_active_audio(); + unload_current_music(); + deinit_script_sys(); unload_active_textures(); unload_active_shaders(); + CloseAudioDevice(); + CloseWindow(); return 0; }
\ No newline at end of file |
