- add keyboard bindings button to options
- hooked keyboard binding panel to button
- WIP bindings drawn in activity
- keyboard binding keys finally appear
- keyboard binding input widget
- reserved keys logic working
- removed debug logs
- pref saved on key release
- more reserved keys
- fixed memory bad alloc error
- modifier bindings
- scroll panel for bindings view
- added sdl id to bindings
- cache sdl scan id into prefs
- function ids are getting picked up
- more keyboard mappings
- more key bindings + reserved keys
- keyboard bindings working
- write keyboard bindings pref on load
- sync new functions to prefs
- final touches
- Keep those include trees flat (see 0179cefc)
- Fix tabs
- WIP - many to one binding
- WriteDefaultPrefs is now instance method
- model add, remove and save methods
- clear prefs before saving
- added method for checking binding conflict
- notify view on key combo change
- route binding notification to gameview
- view foundations for overhaul
- fixed memory issue + has conflicting key issue
- fixed prefs not being cleared before save
- override text input to do nothing
- fixed many complications due to duplicated hotkeys
- missing index on new model caused problems
- WIP - view adaptation
- WIP - add and remove button layout
- more patches
- fixed empty textboxes problem
- WIP - frontend overhaul
- fixed ordering issue
- binding removal - wip
- function store to hold no shortcut data
- reset to defaults button added
- add from no shortcut works
- error message on conflict
- better summary for PopBindingByFunctionId
- keyboard bindings hooked to gameview keypress
- do not return correcty function id if no shortcut
- flatten include trees
- remove debug comment
- spaces to tabs
Still currently in process, there are some issues:
Windows version doesn't work, mac version might not work, opengl might not work
Icon doesn't work (on Linux at least)
Lua will need some changes, there are some sdl 1.2 hacks in there
When entering fullscreen, the window loses focus
When holding down mouse out of bounds, mouse move events stop being sent
When letting go of mouse out of bounds, mouseup event doesn't take into account double scale mode
Clicking on startup without moving mouse will draw at 0,0 for a frame
Renderer probably won't compile because USE_SDL doesn't entirely work
... and maybe others
Some nice things were done though:
no more blit2, sdl can do the scaling itself
3d effect removed, no reason to support this joke any longer
No need to support copy/paste ourselves, sdl does it now
text handling done much better now, separate events for key presses and text input
when a new window is shown, all events ignored until next tick (ignore textinput event if window shown from key press event like console)
worked fine on my computer, maybe something with the older gcc version? Affected both lin64 and lin32 versions. /LTGC works fine on msvc also, so stays enabled.
-flto can be added manually with environment variables for anyone that wants to use it
Fixes cross compilers, TODO: I don't think scons can check if a flag exists but might support adding a test for that, even if through hacky means, like CheckFramework