2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
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