Starter project for SDL2.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

22 lignes
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