Starter project for SDL2.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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