mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 22:20:30 -04:00
support for controllers, save effect, fix bugs
This commit is contained in:
parent
9e5faf53de
commit
44e73566b1
16 changed files with 306 additions and 38 deletions
|
@ -197,7 +197,15 @@ protected:
|
|||
SDL_Point _mouse_finger;
|
||||
SpriteList _sprites;
|
||||
|
||||
|
||||
int axis1_cooldown = 0;
|
||||
int axis2_cooldown = 0;
|
||||
int axis3_cooldown = 0;
|
||||
int axis4_cooldown = 0;
|
||||
int check_axis_dir(int &cooldown, int value);
|
||||
|
||||
Uint32 _update_request_event;
|
||||
Uint32 _refresh_request;
|
||||
|
||||
|
||||
void event_loop(std::stop_token stp);
|
||||
|
@ -233,4 +241,6 @@ protected:
|
|||
void push_hi_image(const unsigned short *image);
|
||||
void update_zindex();
|
||||
|
||||
void joystick_handle();
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue