| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | + Started unit selection implementation. Not finished yet. | XaviDCR92 | 2018-08-02 | 1 | -0/+2 |
| | | |||||
| * | * Menu.cpp: actions for CHOICE_SINGLE_PLAYER_GAME have been moved to a new ↵ | XaviDCR92 | 2018-07-26 | 1 | -2/+0 |
| | | | | | | | | | | | | | | 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. | ||||
| * | Camera is now an independent instance, and HumanPlayer only holds a ↵ | XaviDCR92 | 2018-07-10 | 1 | -18/+54 |
| | | | | | reference to it. | ||||
| * | More work on Unit/BaseUnit concepts. | XaviDCR92 | 2018-07-10 | 1 | -0/+102 |
| | | |||||
| * | Unit renamed to BaseUnit. | XaviDCR92 | 2018-07-09 | 1 | -39/+0 |
| | | |||||
| * | Fixed "includes/defines/local variables" headers. | XaviDCR92 | 2018-07-09 | 1 | -16/+20 |
| | | |||||
| * | Game has been restructured in favor of OOP | XaviDCR92 | 2018-07-09 | 1 | -0/+35 |
| | | |||||
| * | * Player can now select nearest unit or building. Multiple buildings and ↵ | XaviDCR92 | 2017-03-12 | 1 | -108/+0 |
| | | | | | | | | 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). | XaviDCR92 | 2017-03-09 | 1 | -27/+54 |
| | | | | | | | * Preliminar unit/building selection algorithm. * Added cursor onscreen. - Removed old Peasant sprites. Only 2 sprites needed! | ||||
| * | + Initial commit. Added source, sprites and final executable. | XaviDCR92 | 2017-03-07 | 1 | -0/+81 |
