summaryrefslogtreecommitdiff
path: root/Gameplay.cpp
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-09-09 12:47:17 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-09-09 12:47:17 +0200
commita7dd9781961b5f26d5dca6829e1933dff6209d23 (patch)
tree6e3f1c469e6997fedbaa096f377d67f99a65ae47 /Gameplay.cpp
parent786dccd2bc0946d48b8a2758ef2c607678bc8dd9 (diff)
downloadpocketempires-a7dd9781961b5f26d5dca6829e1933dff6209d23.tar.gz
Simple collision detection between units added. libgamebuino was always updating header files, so targets were always being rebuilt.
Diffstat (limited to 'Gameplay.cpp')
-rw-r--r--Gameplay.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Gameplay.cpp b/Gameplay.cpp
index 55c22d5..bcada48 100644
--- a/Gameplay.cpp
+++ b/Gameplay.cpp
@@ -82,6 +82,8 @@ void GameInit(void)
GamePlayers[i].Init();
}
+ GamePlayers[0].setHuman(true);
+
MouseSpr.Data = MouseSprData;
MouseSpr.color = GFX_INVERT;
MouseSpr.rotation = NOROT;
@@ -129,7 +131,7 @@ void GameGraphics(void)
{
uint8_t i;
- //GfxClearScreen();
+ GfxClearScreen();
for (i = 0; i < GAME_MAX_PLAYERS; i++)
{