#include #include "texture_sys.h" #include "shader_sys.h" #include "script_sys.h" #include "controller.h" #include "rand_sys.h" int main() { InitWindow(640, 480, "Gunner Engine"); SetTargetFPS(60); rand_seed(); init_tex_sys(); init_shader_sys(); init_script_sys(); while(!WindowShouldClose()){ float dt = GetFrameTime(); poll_rumble(dt); update_textures(); update_shaders(); ClearBackground(WHITE); BeginDrawing(); update_script(); EndDrawing(); } deinit_script_sys(); unload_active_textures(); unload_active_shaders(); CloseWindow(); return 0; }