summaryrefslogtreecommitdiff
path: root/Camera.c
Commit message (Collapse)AuthorAgeFilesLines
* Game has been restructured in favor of OOPXaviDCR922018-07-091-175/+0
|
* *Removed decceleration for camera.XaviDCR922017-11-051-20/+6
| | | | | | Improved pathfinding when a unit collides with another unit. Added generic function to find distances. Other minor changes.
* Deprecated use of sprintf() in favor of custom routine Systemitoa().XaviDCR922017-11-051-12/+6
| | | | When B button is released and showActionsMenu == true, showActionsMenu = false.
* + Added copy of BitmapEncoderXaviDCR922017-11-051-1/+1
| | | | | | + New sprite and unit "Town center" * Provisional collision checking. * Many other modifications.
* Removed Building and GameStructures modules. Restructured SW for Unit and ↵XaviDCR922017-09-081-54/+52
| | | | Player, still a lot TODO
* * Player can now select nearest unit or building. Multiple buildings and ↵XaviDCR922017-03-121-2/+35
| | | | | | | units can be selected at the same time. * Unit module moved from C++ to C (only extension change - and compiler - was needed). * GfxGetHeightFromSpriteData and GfxGetWidthFromSpriteData were getting incorrect data! Incorrect memory address was being read when calling pgm_read_byte, and caused unexpected behaviour under real hw.
* * Nearest unit and/or building is found (no sqrt method used).XaviDCR922017-03-091-0/+14
| | | | | | * Preliminar unit/building selection algorithm. * Added cursor onscreen. - Removed old Peasant sprites. Only 2 sprites needed!
* + Initial commit. Added source, sprites and final executable.XaviDCR922017-03-071-0/+150