diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-03-09 23:59:53 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-03-09 23:59:53 +0100 |
| commit | f416816883545433ea33ca410983371e657dba18 (patch) | |
| tree | 1c8682679b1c67261447570c4f66d0d8919bdc00 /Camera.h | |
| parent | 8ec41b4410aba535008daf991ea59a8740951d44 (diff) | |
| download | pocketempires-f416816883545433ea33ca410983371e657dba18.tar.gz | |
* Nearest unit and/or building is found (no sqrt method used).
* Preliminar unit/building selection algorithm.
* Added cursor onscreen.
- Removed old Peasant sprites. Only 2 sprites needed!
Diffstat (limited to 'Camera.h')
| -rw-r--r-- | Camera.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,6 +29,9 @@ extern "C" void CameraInit(TYPE_CAMERA * ptrCamera); void CameraHandler(TYPE_CAMERA * ptrCamera); +TYPE_COLLISION_BLOCK CameraApplyCoordinatesToCoordinates( TYPE_CAMERA * ptrCamera, + uint16_t x, + uint16_t y ); void CameraApplyCoordinatesToSprite(TYPE_CAMERA * ptrCamera, TYPE_SPRITE * spr, uint16_t x, |
