summaryrefslogtreecommitdiff
path: root/Gfx.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-03-09 23:59:53 +0100
committerXaviDCR92 <xavi.dcr@gmail.com>2017-03-09 23:59:53 +0100
commitf416816883545433ea33ca410983371e657dba18 (patch)
tree1c8682679b1c67261447570c4f66d0d8919bdc00 /Gfx.h
parent8ec41b4410aba535008daf991ea59a8740951d44 (diff)
* Nearest unit and/or building is found (no sqrt method used).
* Preliminar unit/building selection algorithm. * Added cursor onscreen. - Removed old Peasant sprites. Only 2 sprites needed!
Diffstat (limited to 'Gfx.h')
-rw-r--r--Gfx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Gfx.h b/Gfx.h
index b07e0c6..3385946 100644
--- a/Gfx.h
+++ b/Gfx.h
@@ -46,6 +46,8 @@ typedef struct
* *************************************/
void GfxDrawSprite(TYPE_SPRITE * ptrSprite);
+void GfxDrawCircle(uint16_t x, uint16_t y, uint8_t radius, int8_t color);
+void GfxDrawRectangle(uint8_t x, uint8_t y, uint8_t w, uint8_t h, int8_t color);
bool GfxRefreshNeeded(void);
void GfxShowKeyboard(char * str, uint8_t length);
uint8_t GfxGetWidthFromSpriteData(const uint8_t * sprData);