Re-implementation of Izanami game engine
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.

32 lines
418 B

  1. #ifndef IZ_APP_H
  2. #define IZ_APP_H
  3. #include <SDL.h>
  4. #include "config/IZ_config.h"
  5. #include "timer/IZ_timer.h"
  6. #include "logging/IZ_log.h"
  7. typedef struct {
  8. IZ_Config config;
  9. } IZ_App;
  10. typedef enum {
  11. IZ_APP_RESULT_OK,
  12. IZ_APP_RESULT_FRAMEWORK_ERROR,
  13. IZ_APP_RESULT_CONFIG_ERROR,
  14. } IZ_AppResult;
  15. IZ_AppResult IZ_AppRun(
  16. IZ_App*,
  17. int,
  18. char**,
  19. const char*,
  20. unsigned int,
  21. unsigned int,
  22. unsigned int
  23. );
  24. #endif