From 2cf2d608af862e812e7fd3ac580f869141a96fa7 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Sun, 5 Nov 2017 04:16:32 +0100 Subject: + Added copy of BitmapEncoder + New sprite and unit "Town center" * Provisional collision checking. * Many other modifications. --- Gfx.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Gfx.h') diff --git a/Gfx.h b/Gfx.h index 7617f62..e42e25b 100644 --- a/Gfx.h +++ b/Gfx.h @@ -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 } -- cgit v1.2.3