From c72e2dde603fe9ba0d57d2e6f259f32398b75a15 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 25 Apr 2010 16:27:30 +0000 Subject: (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. --- src/window_type.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/window_type.h') 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 }; -- cgit v1.2.3-54-g00ecf