2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
 
 
 
 
 
 

29 lines
442 B

  1. #ifndef IZ_APP_H
  2. #define IZ_APP_H
  3. #include <SDL.h>
  4. #include <stdbool.h>
  5. #ifdef __WIN32__
  6. #include <getopt.h>
  7. #else
  8. #include <unistd.h>
  9. #endif
  10. #include "input/IZ_input.h"
  11. #include "output/IZ_video.h"
  12. #include "memory/IZ_pool.h"
  13. typedef struct {
  14. SDL_Event sdl_event;
  15. IZ_InputState input_state;
  16. IZ_VideoState video_state;
  17. IZ_Pool memory_pool;
  18. u64 ticks;
  19. bool quit;
  20. } IZ_App;
  21. IZ_ProcedureResult IZ_AppRun(IZ_App*, u8, char**);
  22. #endif