summaryrefslogtreecommitdiff
path: root/GameStructures.h
Commit message (Collapse)AuthorAgeFilesLines
* Removed Building and GameStructures modules. Restructured SW for Unit and ↵XaviDCR922017-09-081-79/+0
| | | | Player, still a lot TODO
* * TYPE_BUILDING_ID and TYPE_UNIT_ID partially implementedXaviDCR922017-08-261-1/+11
|
* + Added MouseSpr and Unit modules.XaviDCR922017-08-261-0/+1
| | | | * Unit actions, building actions.
* * Player can now select nearest unit or building. Multiple buildings and ↵XaviDCR922017-03-121-1/+3
| | | | | | | 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/+4
| | | | | | * 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/+62