Starter project for SDL2.
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.

22 lines
391 B

  1. #ifndef IZ_APP_H
  2. #define IZ_APP_H
  3. #include "input/IZ_keyboard.h"
  4. #include "input/IZ_joystick.h"
  5. #include "output/IZ_video.h"
  6. #include "IZ_action.h"
  7. typedef struct {
  8. IZ_VideoConfig video_config;
  9. IZ_Action actions[PLAYERS];
  10. IZ_KeyboardState keyboard_state[PLAYERS];
  11. IZ_JoystickState joystick_state[PLAYERS];
  12. uint64_t video_update_at;
  13. } IZ_App;
  14. int IZ_InitializeApp(IZ_App*);
  15. #endif