<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/pocketempires/HumanPlayer.h, branch master</title>
<subtitle>Real-time strategy video game for Gamebuino.
</subtitle>
<id>https://gitea.privatedns.org/xavi/pocketempires/atom?h=master</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/pocketempires/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/'/>
<updated>2018-08-05T16:06:49+00:00</updated>
<entry>
<title>* Increased MAX_SELECTION_DISTANCE, but this should be done according to BaseUnit instead!</title>
<updated>2018-08-05T16:06:49+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2018-08-05T16:06:49+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=efc7020defa40c74a467442e6763df71c0783fd0'/>
<id>urn:sha1:efc7020defa40c74a467442e6763df71c0783fd0</id>
<content type='text'>
+ 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.
</content>
</entry>
<entry>
<title>* Menu.cpp: actions for CHOICE_SINGLE_PLAYER_GAME have been moved to a new function called MainMenuSinglePlayer().</title>
<updated>2018-07-26T19:15:59+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2018-07-26T19:15:59+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=bfdc0b9f497ef10f6687abcc55d93405c611af11'/>
<id>urn:sha1:bfdc0b9f497ef10f6687abcc55d93405c611af11</id>
<content type='text'>
+ 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.
</content>
</entry>
<entry>
<title>Camera is now an independent instance, and HumanPlayer only holds a reference to it.</title>
<updated>2018-07-10T21:17:34+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2018-07-10T21:17:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=20936e93023c18f54d217c66b0e08fa80f4f7d50'/>
<id>urn:sha1:20936e93023c18f54d217c66b0e08fa80f4f7d50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More work on Unit/BaseUnit concepts.</title>
<updated>2018-07-09T22:04:16+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2018-07-09T22:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=14c12aeea30d59e9c811f1cc8c7019053d646033'/>
<id>urn:sha1:14c12aeea30d59e9c811f1cc8c7019053d646033</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Calls to HumanPlayer and Camera button pressed event handlers are now automatically handled by two const arrays of member functions pointers.</title>
<updated>2018-07-09T20:22:26+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2018-07-09T20:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=cd78b97bceaf6ecbbab6f89631c15ed712878d4d'/>
<id>urn:sha1:cd78b97bceaf6ecbbab6f89631c15ed712878d4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Game has been restructured in favor of OOP</title>
<updated>2018-07-09T17:26:13+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2018-07-09T17:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=f0b654b9bf3bc2a93c1f89d4cc3edcf77b948555'/>
<id>urn:sha1:f0b654b9bf3bc2a93c1f89d4cc3edcf77b948555</id>
<content type='text'>
</content>
</entry>
</feed>
