diff options
| author | Petr Mrázek | 2011-07-22 01:56:16 +0000 |
|---|---|---|
| committer | Petr Mrázek | 2011-07-22 01:56:16 +0000 |
| commit | 9b364f1cd23dc74b96809f77e45ba3397a646e7a (patch) | |
| tree | 914e8d1f7ece1606d75e1e35bf443689b05b0ffb /GUI.h | |
| parent | bf89e3ad6b98442dca909e327b80c5e292db6092 (diff) | |
| download | stonesense-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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);
|
