summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-02 17:42:12 +0000
committerrubidium <rubidium@openttd.org>2011-05-02 17:42:12 +0000
commitfb5ecb94992e7febf4bc059cb6ec4a51f50c66b0 (patch)
tree87956636c318baa8d5d8d62f13263c4f64dbe881 /src/gfxinit.cpp
parent4d5dbf51707c42c24eeafdb65016b079c54adcf2 (diff)
downloadopenttd-fb5ecb94992e7febf4bc059cb6ec4a51f50c66b0.tar.xz
(svn r22411) -Document: another bunch of bits
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r--src/gfxinit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index ae4eec92e..4270a102e 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -135,7 +135,7 @@ void CheckExternalFiles()
if (add_pos != error_msg) ShowInfoF("%s", error_msg);
}
-
+/** Actually load the sprite tables. */
static void LoadSpriteTables()
{
memset(_palette_remap_grf, 0, sizeof(_palette_remap_grf));
@@ -199,6 +199,7 @@ static void LoadSpriteTables()
}
+/** Initialise and load all the sprites. */
void GfxLoadSprites()
{
DEBUG(sprite, 2, "Loading sprite set %d", _settings_game.game_creation.landscape);