2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
547 B

  1. #ifndef IZ_APP_H
  2. #define IZ_APP_H
  3. #include <SDL.h>
  4. #include <libwebsockets.h>
  5. #include "data/IZ_asset.h"
  6. #include "memory/IZ_pool.h"
  7. #include "IZ_app_config.h"
  8. #include "IZ_app_input.h"
  9. #include "IZ_app_net.h"
  10. #include "IZ_app_video.h"
  11. typedef enum {
  12. IZ_APP_RESULT_INITIALIZATION_ERROR = -1,
  13. IZ_APP_RESULT_OK,
  14. } IZ_AppResult;
  15. typedef struct IZ_App {
  16. IZ_InputState input_state;
  17. IZ_VideoState video_state;
  18. IZ_Pool pool;
  19. u64 ticks;
  20. IZ_NetClientState net_state;
  21. } IZ_App;
  22. IZ_AppResult IZ_AppRun(struct IZ_App*, u8, const char*[]);
  23. #endif