diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-03-09 23:59:53 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-03-09 23:59:53 +0100 |
| commit | f416816883545433ea33ca410983371e657dba18 (patch) | |
| tree | 1c8682679b1c67261447570c4f66d0d8919bdc00 /Gfx.h | |
| parent | 8ec41b4410aba535008daf991ea59a8740951d44 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |
