2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

25 行
595 B

  1. #ifndef IZ_INPUT_H
  2. #define IZ_INPUT_H
  3. #include "IZ_action.h"
  4. #include "IZ_keyboard.h"
  5. #include "IZ_joystick.h"
  6. #include "IZ_midi.h"
  7. typedef struct {
  8. IZ_Action action[IZ_PLAYERS];
  9. IZ_KeyboardState keyboard_state[IZ_PLAYERS];
  10. IZ_JoystickState joystick_state[IZ_PLAYERS];
  11. IZ_MIDIInputState midi_input_state[IZ_PLAYERS];
  12. } IZ_InputState;
  13. void IZ_InputHandleSDLEvents(IZ_InputState*, SDL_Event);
  14. void IZ_InputHandlePortMIDIEvents(IZ_InputState*, PmEvent);
  15. IZ_ProcedureResult IZ_InputInitialize(IZ_InputState*, const char*, u8, const char*[]);
  16. void IZ_InputTeardown(IZ_InputState*);
  17. #endif