2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

29 rader
520 B

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