summaryrefslogtreecommitdiff
path: root/Gfx.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Game has been restructured in favor of OOPXaviDCR922018-07-091-78/+71
|
* Deprecated use of sprintf() in favor of custom routine Systemitoa().XaviDCR922017-11-051-16/+5
| | | | When B button is released and showActionsMenu == true, showActionsMenu = false.
* * Modified shadows for Town centre.XaviDCR922017-11-051-0/+11
| | | | | | * Bugfixes in unit movement and collision detection. Now it should work fine. * Added include guards to all *.i files. * Other minor changes
* + Added copy of BitmapEncoderXaviDCR922017-11-051-46/+7
| | | | | | + New sprite and unit "Town center" * Provisional collision checking. * Many other modifications.
* Simple collision detection between units added. libgamebuino was always ↵XaviDCR922017-09-091-21/+1
| | | | updating header files, so targets were always being rebuilt.
* Removed Building and GameStructures modules. Restructured SW for Unit and ↵XaviDCR922017-09-081-57/+63
| | | | Player, still a lot TODO
* * Player can now select nearest unit or building. Multiple buildings and ↵XaviDCR922017-03-121-12/+27
| | | | | | | 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/+24
| | | | | | * 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/+191