- Added Cursor struct.
- Added deltaY member for Player struct.
- Changed the args to db_*_state to be more logical.
- Replaced magic number with MOUSE_MULTIPLIER constant.
- Replaced a call to RADIANS(360) and RADIANS(90) with constants, although I'm not sure if it had any impact. They could have been executed at compile-time.
- Added SessionBlock struct. I append a SessionBlock to a list of of them each time I destroy or place a block. When the game is closed, each SessionBlock in the list is added to the database. This gives a speedup when playing the game as there is less of a noticeable delay when block changes are made, but a longer delay when closing the game.
Implemented faster way of saving the blocks to the db.
Removed unnecessary indirection.