summaryrefslogtreecommitdiff
path: root/GUI.h
diff options
context:
space:
mode:
authorPetr Mrázek2011-07-22 01:56:16 +0000
committerPetr Mrázek2011-07-22 01:56:16 +0000
commit9b364f1cd23dc74b96809f77e45ba3397a646e7a (patch)
tree914e8d1f7ece1606d75e1e35bf443689b05b0ffb /GUI.h
parentbf89e3ad6b98442dca909e327b80c5e292db6092 (diff)
downloadstonesense-9b364f1cd23dc74b96809f77e45ba3397a646e7a.tar.gz
stonesense-9b364f1cd23dc74b96809f77e45ba3397a646e7a.tar.bz2
stonesense-9b364f1cd23dc74b96809f77e45ba3397a646e7a.tar.xz
Const correctness of string constant handling, some other warnings fixed.
Diffstat (limited to 'GUI.h')
-rw-r--r--GUI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/GUI.h b/GUI.h
index eed56e0..8d8bffa 100644
--- a/GUI.h
+++ b/GUI.h
@@ -15,7 +15,7 @@ void draw_ustr_border(const ALLEGRO_FONT *font, ALLEGRO_COLOR color, float x, fl
ALLEGRO_BITMAP* getImgFile(int index);
void flushImgFiles();
//returns index into getImgFile. Will only create new bitmaps when needed
-int loadImgFile(char* filename);
+int loadImgFile(const char* filename);
int loadImgFile(ALLEGRO_PATH* filepath);
void DrawSpriteFromSheet( int spriteNum,ALLEGRO_BITMAP* spriteSheet, ALLEGRO_COLOR color, int x, int y, Block * b = 0);
ALLEGRO_BITMAP * CreateSpriteFromSheet( int spriteNum, ALLEGRO_BITMAP* spriteSheet);