diff options
author | truelight <truelight@openttd.org> | 2007-06-13 16:21:11 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-06-13 16:21:11 +0000 |
commit | b7443d800bddcdc7f3e5feaa0130df2445af4160 (patch) | |
tree | 214b44d6a6b5ee20d5f7eb13ed8d04475c94bd5f /src/spriteloader/grf.hpp | |
parent | 4185c4afcdd58d49c33e64c6d53a7eb71d44bd1e (diff) | |
download | openttd-b7443d800bddcdc7f3e5feaa0130df2445af4160.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/grf.hpp')
-rw-r--r-- | src/spriteloader/grf.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spriteloader/grf.hpp b/src/spriteloader/grf.hpp index 27083f993..e6e67be15 100644 --- a/src/spriteloader/grf.hpp +++ b/src/spriteloader/grf.hpp @@ -12,7 +12,7 @@ public: /** * Load a sprite from the disk and return a sprite struct which is the same for all loaders. */ - bool LoadSprite(SpriteLoader::Sprite *sprite, uint32 file_pos); + bool LoadSprite(SpriteLoader::Sprite *sprite, const char *filename, uint32 file_pos); }; #endif /* SPRITELOADER_GRF_HPP */ |