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.

IZ_app.h 672 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef IZ_APP_H
  2. #define IZ_APP_H
  3. #include <SDL.h>
  4. #include <libwebsockets.h>
  5. #include "asset/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. #include "../log/IZ_log.h"
  12. #include "../log/IZ_intercept.h"
  13. #include "../stdinc/IZ_string.h"
  14. #include "../timer/IZ_timer.h"
  15. typedef enum {
  16. IZ_APP_RESULT_INITIALIZATION_ERROR = -1,
  17. IZ_APP_RESULT_OK,
  18. } IZ_AppResult;
  19. typedef struct IZ_App {
  20. IZ_InputState input_state;
  21. IZ_VideoState video_state;
  22. IZ_Pool pool;
  23. u64 ticks;
  24. IZ_NetClientState net_state;
  25. } IZ_App;
  26. IZ_AppResult IZ_AppRun(struct IZ_App*, u8, const char*[]);
  27. #endif