summaryrefslogtreecommitdiff
path: root/src/spriteloader/grf.hpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-09-13 18:22:34 +0000
committertruelight <truelight@openttd.org>2007-09-13 18:22:34 +0000
commite5452205634d47d61039208c2d2fa6457b3f32bf (patch)
tree0593f8ece7aec74da5da2ff346539cd1698e6ec4 /src/spriteloader/grf.hpp
parent5ec047d6b721b2abc463eafa149c3b1a1fe297dd (diff)
downloadopenttd-e5452205634d47d61039208c2d2fa6457b3f32bf.tar.xz
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in it too, but use a nice seperate variable for it
-Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
Diffstat (limited to 'src/spriteloader/grf.hpp')
-rw-r--r--src/spriteloader/grf.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spriteloader/grf.hpp b/src/spriteloader/grf.hpp
index e6e67be15..fe9405339 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, const char *filename, uint32 file_pos);
+ bool LoadSprite(SpriteLoader::Sprite *sprite, const char *filename, uint8 file_slot, uint32 file_pos);
};
#endif /* SPRITELOADER_GRF_HPP */