Commit Graph

9 Commits

Author SHA1 Message Date
XaviDCR92 f0b654b9bf Game has been restructured in favor of OOP 2018-07-09 19:26:13 +02:00
XaviDCR92 2d04eba931 Deprecated use of sprintf() in favor of custom routine Systemitoa().
When B button is released and showActionsMenu == true, showActionsMenu = false.
2017-11-05 18:00:57 +01:00
XaviDCR92 8fba2176bc * Modified shadows for Town centre.
* Bugfixes in unit movement and collision detection. Now it should work fine.
* Added include guards to all *.i files.
* Other minor changes
2017-11-05 05:38:31 +01:00
XaviDCR92 2cf2d608af + Added copy of BitmapEncoder
+ New sprite and unit "Town center"
* Provisional collision checking.
* Many other modifications.
2017-11-05 04:16:32 +01:00
XaviDCR92 a7dd978196 Simple collision detection between units added. libgamebuino was always updating header files, so targets were always being rebuilt. 2017-09-09 12:47:17 +02:00
XaviDCR92 786dccd2bc Removed Building and GameStructures modules. Restructured SW for Unit and Player, still a lot TODO 2017-09-08 18:39:22 +02:00
XaviDCR92 6628e7de58 * Player can now select nearest unit or building. Multiple buildings and 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.
2017-03-12 21:09:29 +01:00
XaviDCR92 f416816883 * Nearest unit and/or building is found (no sqrt method used).
* Preliminar unit/building selection algorithm.
* Added cursor onscreen.
- Removed old Peasant sprites. Only 2 sprites needed!
2017-03-09 23:59:53 +01:00
XaviDCR92 8ec41b4410 + Initial commit. Added source, sprites and final executable. 2017-03-07 20:57:09 +01:00