misc work
Merge branch 'restructure' of https://github.com/aj-r/uwgame into restructure
implement map update function
fix merge conflicts
additional info in input, improved movement handling
unpress inputs queued, movement stops if both directions pressed
Fixed comment
Add event MAP_UPDATE, implement idplay update
Implemented background reload threshold, renamed some things for clarity
Merge branch master into menu
Fixed merge bugs
Added mouse and tap events
Do drawing properly
Changed the input handling structure so now only the input target has access to the current input states.
Changed where the repeat bit is stored so it is in a more logical location
Merged master into menu
Fixed menu code to work with new input handling system