summaryrefslogtreecommitdiff
path: root/Exe/POCKET.MAP
Commit message (Collapse)AuthorAgeFilesLines
* * Increased MAX_SELECTION_DISTANCE, but this should be done according to ↵HEADmasterXaviDCR922018-08-051-363/+404
| | | | | | | | 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.
* + Started unit selection implementation. Not finished yet.XaviDCR922018-08-021-318/+339
|
* * Menu.cpp: actions for CHOICE_SINGLE_PLAYER_GAME have been moved to a new ↵XaviDCR922018-07-261-440/+498
| | | | | | | | | | | | | 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.
* don't knowXaviDCR922018-07-131-270/+270
|
* Camera is now an independent instance, and HumanPlayer only holds a ↵XaviDCR922018-07-101-423/+440
| | | | reference to it.
* More work on Unit/BaseUnit concepts.XaviDCR922018-07-101-397/+446
|
* Calls to HumanPlayer and Camera button pressed event handlers are now ↵XaviDCR922018-07-091-1/+6
| | | | automatically handled by two const arrays of member functions pointers.
* Game has been restructured in favor of OOPXaviDCR922018-07-091-1510/+988
|
* Kinda improved pathfinding algorithm. Still some work TODO.XaviDCR922017-11-101-426/+432
| | | | | | | Fixed some errors in DEBUG_VAR macro. Shadows are now drawn before any other object. Different strings are now shown depending on the number of selected units. Some work on calculating actions mask when different types of units are selected. Still some work TODO.
* *Removed decceleration for camera.XaviDCR922017-11-051-541/+553
| | | | | | Improved pathfinding when a unit collides with another unit. Added generic function to find distances. Other minor changes.
* Deprecated use of sprintf() in favor of custom routine Systemitoa().XaviDCR922017-11-051-623/+566
| | | | When B button is released and showActionsMenu == true, showActionsMenu = false.
* * Modified shadows for Town centre.XaviDCR922017-11-051-551/+570
| | | | | | * 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-548/+551
| | | | | | + New sprite and unit "Town center" * Provisional collision checking. * Many other modifications.
* Simple collision detection between units added. libgamebuino was always ↵XaviDCR922017-09-091-460/+459
| | | | updating header files, so targets were always being rebuilt.
* Removed Building and GameStructures modules. Restructured SW for Unit and ↵XaviDCR922017-09-081-481/+477
| | | | Player, still a lot TODO
* -Deleted *.elfXaviDCR922017-08-261-1214/+1539
|
* *Makefile MMCU was not set for linking (text overflow occurred)XaviDCR922017-08-261-0/+2129