<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/pocketempires/Player.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-07-26T19:15:59+00:00</updated>
<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>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>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>
<entry>
<title>Kinda improved pathfinding algorithm. Still some work TODO.</title>
<updated>2017-11-09T23:04:35+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2017-11-09T23:04:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=d85464781580796bbcc744ae732e56d1920e3b0f'/>
<id>urn:sha1:d85464781580796bbcc744ae732e56d1920e3b0f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>*Removed decceleration for camera.</title>
<updated>2017-11-05T18:08:38+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2017-11-05T18:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=7b05778e3ef8ef01a4bb15a6ed6fde5b329a8c9b'/>
<id>urn:sha1:7b05778e3ef8ef01a4bb15a6ed6fde5b329a8c9b</id>
<content type='text'>
Improved pathfinding when a unit collides with another unit.
Added generic function to find distances.
Other minor changes.
</content>
</entry>
<entry>
<title>* Modified shadows for Town centre.</title>
<updated>2017-11-05T04:38:31+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2017-11-05T04:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=8fba2176bc34aa7e507f0b9d983427bb5e522e17'/>
<id>urn:sha1:8fba2176bc34aa7e507f0b9d983427bb5e522e17</id>
<content type='text'>
* Bugfixes in unit movement and collision detection. Now it should work fine.
* Added include guards to all *.i files.
* Other minor changes
</content>
</entry>
<entry>
<title>+ Added copy of BitmapEncoder</title>
<updated>2017-11-05T03:16:32+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2017-11-05T03:16:32+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=2cf2d608af862e812e7fd3ac580f869141a96fa7'/>
<id>urn:sha1:2cf2d608af862e812e7fd3ac580f869141a96fa7</id>
<content type='text'>
+ New sprite and unit "Town center"
* Provisional collision checking.
* Many other modifications.
</content>
</entry>
<entry>
<title>Simple collision detection between units added. libgamebuino was always updating header files, so targets were always being rebuilt.</title>
<updated>2017-09-09T10:47:17+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2017-09-09T10:47:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=a7dd9781961b5f26d5dca6829e1933dff6209d23'/>
<id>urn:sha1:a7dd9781961b5f26d5dca6829e1933dff6209d23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed Building and GameStructures modules. Restructured SW for Unit and Player, still a lot TODO</title>
<updated>2017-09-08T16:39:22+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2017-09-08T16:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=786dccd2bc0946d48b8a2758ef2c607678bc8dd9'/>
<id>urn:sha1:786dccd2bc0946d48b8a2758ef2c607678bc8dd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>* TYPE_BUILDING_ID and TYPE_UNIT_ID partially implemented</title>
<updated>2017-08-26T15:55:06+00:00</updated>
<author>
<name>XaviDCR92</name>
<email>xavi.dcr@gmail.com</email>
</author>
<published>2017-08-26T15:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/pocketempires/commit/?id=72d350a37aa67936361ac8a374472b7e0227da61'/>
<id>urn:sha1:72d350a37aa67936361ac8a374472b7e0227da61</id>
<content type='text'>
</content>
</entry>
</feed>
