summaryrefslogtreecommitdiff
path: root/Unit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Camera is now an independent instance, and HumanPlayer only holds a ↵XaviDCR922018-07-101-18/+54
| | | | reference to it.
* More work on Unit/BaseUnit concepts.XaviDCR922018-07-101-0/+102
|
* Unit renamed to BaseUnit.XaviDCR922018-07-091-39/+0
|
* Fixed "includes/defines/local variables" headers.XaviDCR922018-07-091-16/+20
|
* Game has been restructured in favor of OOPXaviDCR922018-07-091-0/+35
|
* * Player can now select nearest unit or building. Multiple buildings and ↵XaviDCR922017-03-121-108/+0
| | | | | | | 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-27/+54
| | | | | | * 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/+81