summaryrefslogtreecommitdiff
path: root/GUI.h
diff options
context:
space:
mode:
authorJapa2010-07-18 19:23:05 +0000
committerJapa2010-07-18 19:23:05 +0000
commit2fc5d2f220a5c841bd7f84b860bfd20782d43abe (patch)
tree0bf0e3c8e5601daaba79c39df17e5d13a690e82b /GUI.h
parent910620453473215b191ecdc5c1d8bff350dd4037 (diff)
downloadstonesense-2fc5d2f220a5c841bd7f84b860bfd20782d43abe.tar.gz
stonesense-2fc5d2f220a5c841bd7f84b860bfd20782d43abe.tar.bz2
stonesense-2fc5d2f220a5c841bd7f84b860bfd20782d43abe.tar.xz
Updated Allegro to version 4.9.21
Diffstat (limited to 'GUI.h')
-rw-r--r--GUI.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/GUI.h b/GUI.h
index 2406f0e..729c569 100644
--- a/GUI.h
+++ b/GUI.h
@@ -9,15 +9,15 @@ Crd2D LocalBlockToScreen(int32_t x, int32_t y, int32_t z);
void DrawCurrentLevelOutline(bool backPart);
void DrawMinimap();
void paintboard();
-void draw_textf_border(const ALLEGRO_FONT *font, float x, float y, int flags, const char *format, ...);
-void draw_text_border(const ALLEGRO_FONT *font, float x, float y, int flags, const char *ustr);
-void draw_ustr_border(const ALLEGRO_FONT *font, float x, float y, int flags, const ALLEGRO_USTR *ustr);
+void draw_textf_border(const ALLEGRO_FONT *font, ALLEGRO_COLOR color, float x, float y, int flags, const char *format, ...);
+void draw_text_border(const ALLEGRO_FONT *font, ALLEGRO_COLOR color, float x, float y, int flags, const char *ustr);
+void draw_ustr_border(const ALLEGRO_FONT *font, ALLEGRO_COLOR color, float x, float y, int flags, const ALLEGRO_USTR *ustr);
ALLEGRO_BITMAP* getImgFile(int index);
void flushImgFiles();
//returns index into getImgFile. Will only create new bitmaps when needed
int loadImgFile(char* filename);
int loadImgFile(ALLEGRO_PATH* filepath);
-void DrawSpriteFromSheet( int spriteNum,ALLEGRO_BITMAP* spriteSheet, int x, int y);
+void DrawSpriteFromSheet( int spriteNum,ALLEGRO_BITMAP* spriteSheet, ALLEGRO_COLOR color, int x, int y);
ALLEGRO_BITMAP * CreateSpriteFromSheet( int spriteNum, ALLEGRO_BITMAP* spriteSheet);
ALLEGRO_BITMAP* load_bitmap_withWarning(char* path);
void DrawSpriteIndexOverlay(int i);