| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | * Sprite data width and height is now extracted from Sprite class. | XaviDCR92 | 2018-08-05 | 1 | -4/+14 |
| | | |||||
| * | * Menu.cpp: actions for CHOICE_SINGLE_PLAYER_GAME have been moved to a new ↵ | XaviDCR92 | 2018-07-26 | 1 | -78/+87 |
| | | | | | | | | | | | | | | 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 know | XaviDCR92 | 2018-07-13 | 1 | -4/+21 |
| | | |||||
| * | Camera is now an independent instance, and HumanPlayer only holds a ↵ | XaviDCR92 | 2018-07-10 | 1 | -6/+107 |
| | | | | | reference to it. | ||||
| * | Fixed "includes/defines/local variables" headers. | XaviDCR92 | 2018-07-09 | 1 | -21/+23 |
| | | |||||
| * | Calls to HumanPlayer and Camera button pressed event handlers are now ↵ | XaviDCR92 | 2018-07-09 | 1 | -1/+11 |
| | | | | | automatically handled by two const arrays of member functions pointers. | ||||
| * | Game has been restructured in favor of OOP | XaviDCR92 | 2018-07-09 | 1 | -0/+67 |
