Merge: A few game related services and tweaks
authorJean Privat <jean@pryen.org>
Mon, 23 May 2016 02:28:26 +0000 (22:28 -0400)
committerJean Privat <jean@pryen.org>
Mon, 23 May 2016 02:28:26 +0000 (22:28 -0400)
commita82a9632603e0fbd93073a67b88e483faa182193
tree89424d8f8231f54376cc23f2d085e381ae78cdf4
parent16ff42dff4e3b5c6fce64ae80e50138b2010b3fe
parent893f15d7eb8bbea216778919297885a5cfc54584
Merge: A few game related services and tweaks

Once again, here are some details on less intuitive commits:

* `AMotionEventAction::down_time` is used to better understand and respond to complex touch gestures.
* Serialization caches are accessed in the game WBTW to selectively delete data from the memory.
* `ThinGame::tick` is basically a counter of the current game logic frame. This value must be modified externally in mutliplayer games or sometimes when deserializing a game.
* `ImprovedNoise` can be useful in the lib, from experience it gives a better result that our current noise algorithms and it is in 3D. However it has less customization options.
* `EulerCamera::camera_to_world` is used to translate mouse position to in-world 3D coordinates in simple games viewed from directly above or from the side, like SDO and Action Nitro.

Pull-Request: #2119
Reviewed-by: Jean Privat <jean@pryen.org>