2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

IZ_input.h 625 B

12345678910111213141516171819202122232425
  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. #include "../../log/IZ_log.h"
  8. typedef struct {
  9. IZ_Action action[IZ_PLAYERS];
  10. IZ_KeyboardState keyboard_state[IZ_PLAYERS];
  11. IZ_JoystickState joystick_state[IZ_PLAYERS];
  12. IZ_MIDIInputState midi_input_state[IZ_PLAYERS];
  13. } IZ_InputState;
  14. void IZ_InputHandleSDLEvents(IZ_InputState*, SDL_Event);
  15. void IZ_InputHandlePortMIDIEvents(IZ_InputState*, PmEvent);
  16. IZ_ProcedureResult IZ_InputInitialize(IZ_InputState*, const char*, u8, const char*[]);
  17. void IZ_InputTeardown(IZ_InputState*);
  18. #endif