summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* * Increased MAX_SELECTION_DISTANCE, but this should be done according to ↵HEADmasterXaviDCR922018-08-051-1/+1
| | | | | | | | BaseUnit instead! + BaseUnit now takes a pointer to a Camera object. + Implemented Unit basic movement. + Initial stub for Coordinates class, meant to replace all manual X/Y coordinates handling between classes.
* * Menu.cpp: actions for CHOICE_SINGLE_PLAYER_GAME have been moved to a new ↵XaviDCR922018-07-261-2/+3
| | | | | | | | | | | | | function called MainMenuSinglePlayer(). + BaseUnit.cpp, BaseUnit.h: new _selected flag. + Camera.cpp, Camera.h: linear movement has been taken over quadratic movement. Also, cursor now moves if dealing with screen borders. + Cursor.cpp, Cursor.h: new Cursor class holds cursor X/Y information. It is meant to be contained inside a HumanPlayer object. * Game.cpp: minor changes in casts and comments. + HumanPlayer.cpp: added callbacks for button release events. * HumanPlayer.cpp, HumanPlayerBtn.cpp: button handling has been transferred from HumanPlayer.cpp to HumanPlayerBtn.cpp in order to improve modularity. + Sprite.cpp: sprite data was not being checked against NULL. - Unit.cpp: drawHandler() is now executed by Player object.
* More work on Unit/BaseUnit concepts.XaviDCR922018-07-101-1/+1
|
* Game has been restructured in favor of OOPXaviDCR922018-07-091-2/+3
|
* Simple collision detection between units added. libgamebuino was always ↵XaviDCR922017-09-091-9/+7
| | | | updating header files, so targets were always being rebuilt.
* Removed Building and GameStructures modules. Restructured SW for Unit and ↵XaviDCR922017-09-081-14/+29
| | | | Player, still a lot TODO
* *Makefile MMCU was not set for linking (text overflow occurred)XaviDCR922017-08-261-23/+32
|
* * Player can now select nearest unit or building. Multiple buildings and ↵XaviDCR922017-03-121-1/+1
| | | | | | | 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-1/+1
| | | | | | * 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/+43