diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-11-05 04:16:32 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-11-05 04:16:32 +0100 |
| commit | 2cf2d608af862e812e7fd3ac580f869141a96fa7 (patch) | |
| tree | 29a356a46635e4bc14e9e7342eb5a41defcab899 /Gfx.h | |
| parent | b764612a79100271270012053bdb1e4302cd93b7 (diff) | |
| download | pocketempires-2cf2d608af862e812e7fd3ac580f869141a96fa7.tar.gz | |
+ Added copy of BitmapEncoder
+ New sprite and unit "Town center"
* Provisional collision checking.
* Many other modifications.
Diffstat (limited to 'Gfx.h')
| -rw-r--r-- | Gfx.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -59,7 +59,7 @@ typedef struct t_Camera TYPE_CAMERA; * Global prototypes * *************************************/ -void GfxDrawSprite(TYPE_SPRITE * ptrSprite); +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); void GfxFillRectangle(uint8_t x, uint8_t y, uint8_t w, uint8_t h, int8_t color); @@ -68,7 +68,7 @@ bool GfxRefreshNeeded(void); void GfxShowKeyboard(char* str, uint8_t length); uint8_t GfxGetWidthFromSpriteData(const uint8_t* sprData); uint8_t GfxGetHeightFromSpriteData(const uint8_t* sprData); -bool GfxIsSpriteInsideScreenArea(TYPE_SPRITE * spr); +bool GfxIsSpriteInsideScreenArea(TYPE_SPRITE* spr); void GfxClearScreen(void); #ifdef __cplusplus void GfxPrintText_Flash(const __FlashStringHelper * str); @@ -76,7 +76,6 @@ void GfxPrintText_Flash(const __FlashStringHelper * str); void GfxPrintText(const char* str, uint8_t x, uint8_t y); void GfxPrintTextFont(const char* str, const uint8_t* font, uint8_t x, uint8_t y); void GfxInit(void); -void GfxRenderTiles(TYPE_CAMERA* ptrCamera); #ifdef __cplusplus } |
