summaryrefslogtreecommitdiff
path: root/src/window_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-04-25 16:27:30 +0000
committerrubidium <rubidium@openttd.org>2010-04-25 16:27:30 +0000
commitc72e2dde603fe9ba0d57d2e6f259f32398b75a15 (patch)
treea4245990af5d20004a918d8b0131bd3a96e88613 /src/window_type.h
parent4868fb988ff7373ac0b436511464434a310273fd (diff)
downloadopenttd-c72e2dde603fe9ba0d57d2e6f259f32398b75a15.tar.xz
(svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets.
Diffstat (limited to 'src/window_type.h')
-rw-r--r--src/window_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window_type.h b/src/window_type.h
index dd6982909..8cd45c64f 100644
--- a/src/window_type.h
+++ b/src/window_type.h
@@ -107,6 +107,7 @@ enum WindowClass {
WC_AI_LIST,
WC_AI_SETTINGS,
WC_NEWGRF_INSPECT,
+ WC_SPRITE_ALIGNER,
WC_INVALID = 0xFFFF
};