summary refs log tree commit diff stats
path: root/src/game.h
Commit message (Collapse)AuthorAgeFilesLines
* Added music and lamp popping soundStar Rauchenberger2022-03-111-0/+2
|
* zooming fixesKelly Rauchenberger2018-06-061-2/+9
| | | | when zooming out, the view center stays the same (shifted by map edges). when zooming in, the view center becomes the player position at the start of zoom. the boundary of player movement is now also set to the target view area at start of zoom.
* players must move when dropping lampsKelly Rauchenberger2018-06-051-0/+3
| | | | if no direction is pressed, player dashes in direction of most recent movement. if no movement has occured, choose a random direction. if player cannot move in the chosen direction, choose a random direction. if the player cannot move in any direction, prevent dropping a lamp.
* refactored so that the renderer is its own classKelly Rauchenberger2018-06-051-0/+104