Commit graph

15 commits

Author SHA1 Message Date
Andrei "Akari" Alexeyev
dacbf96427 moved util functions from global to where they make a bit more sense 2017-03-06 03:24:47 +02:00
Andrei "Akari" Alexeyev
57053210dd Refactored and improved menus and transitions 2017-02-24 23:58:27 +02:00
Andrei "Akari" Alexeyev
802cacb799 Config callback system
No more hacks in options menu code to update stuff when a setting
changes
2017-02-17 20:23:22 +02:00
Andrei "Akari" Alexeyev
32f7edd24e Refactored config into a macro hell 2017-02-17 18:03:49 +02:00
Andrei "Akari" Alexeyev
84cb01d733 Disable global keybindings when handling text
Fixes #58
2017-02-15 13:41:53 +02:00
Andrei "Akari" Alexeyev
9a7a874783 Use the standard bool type instead of that stupid enum
Also removed all of the annoying trailing tabs/whitespaces
2017-02-11 05:56:47 +02:00
Andrei "Akari" Alexeyev
dcfec0ffad Use scancodes instead of keycodes for keyboard input
See https://wiki.libsdl.org/CategoryKeyboard for the implications of this
2017-02-07 06:26:04 +02:00
Andrei "Akari" Alexeyev
5150cb91e3 Don't convert repeated keys to game events 2017-02-04 19:28:59 +02:00
Andrei "Akari" Alexeyev
2a296871e3 Support window resizing and pause on focus loss 2017-02-04 19:17:08 +02:00
Andrei "Akari" Alexeyev
948e502466 Slightly better handling of text input 2017-02-04 06:51:00 +02:00
Andrei "Akari" Alexeyev
167e9e12f1 Initial migration to SDL2 (WIP) 2017-02-04 04:56:40 +02:00
laochailan
53d3829861 make bomb key work to cancel menus. 2017-01-28 16:39:25 +01:00
Andrew "Akari" Alexeyew
30befb3960 basic gamepad/joystick support 2012-08-15 03:41:21 +03:00
Andrew "Akari" Alexeyew
ddaff00327 Merge branch 'newmenu' into events
Conflicts:
	src/global.c
2012-08-13 18:59:14 +03:00
Andrew "Akari" Alexeyew
cf72d8dee3 event abstraction layer 2012-08-13 18:50:28 +03:00