summaryrefslogtreecommitdiff
path: root/src/spriteloader/spriteloader.hpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-13 16:21:11 +0000
committertruelight <truelight@openttd.org>2007-06-13 16:21:11 +0000
commit19513f26042a5e8b25843413bdc24a509da248b0 (patch)
tree214b44d6a6b5ee20d5f7eb13ed8d04475c94bd5f /src/spriteloader/spriteloader.hpp
parent63f56f811b14a761344baa015ce9ea7ed669761c (diff)
downloadopenttd-19513f26042a5e8b25843413bdc24a509da248b0.tar.xz
(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
-Codechange: store the SpriteID in the spritecache too -Add: add a PNG loader for graphical files -Documentation: added a document to explain the PNG format
Diffstat (limited to 'src/spriteloader/spriteloader.hpp')
-rw-r--r--src/spriteloader/spriteloader.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spriteloader/spriteloader.hpp b/src/spriteloader/spriteloader.hpp
index 658277236..fe0e6ab8e 100644
--- a/src/spriteloader/spriteloader.hpp
+++ b/src/spriteloader/spriteloader.hpp
@@ -26,7 +26,7 @@ public:
/**
* Load a sprite from the disk and return a sprite struct which is the same for all loaders.
*/
- virtual bool LoadSprite(SpriteLoader::Sprite *sprite, uint32 file_pos) = 0;
+ virtual bool LoadSprite(SpriteLoader::Sprite *sprite, const char *filename, uint32 file_pos) = 0;
virtual ~SpriteLoader() { }
};