summaryrefslogtreecommitdiff
path: root/Player.cpp
Commit message (Collapse)AuthorAgeFilesLines
* + Added MouseSpr and Unit modules.XaviDCR922017-08-261-19/+99
| | | | * Unit actions, building actions.
* * Player can now select nearest unit or building. Multiple buildings and ↵XaviDCR922017-03-121-3/+107
| | | | | | | 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-20/+169
| | | | | | * 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/+192