Starter project for SDL2.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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