From d9d75c83d5b0839d335db453b4482fcaf306bac7 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 17 Jan 2010 01:01:56 +0000 Subject: (svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE(). --- src/table/sprites.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/table/sprites.h') diff --git a/src/table/sprites.h b/src/table/sprites.h index aa0a033a8..4198e8b8a 100644 --- a/src/table/sprites.h +++ b/src/table/sprites.h @@ -1419,7 +1419,7 @@ enum AnimCursors { enum SpriteSetup { TRANSPARENT_BIT = 31, ///< toggles transparency in the sprite RECOLOUR_BIT = 30, ///< toggles recolouring in the sprite - OFFSET_BIT = 29, + CUSTOM_BIT = 29, OPAQUE_BIT = 28, PALETTE_WIDTH = 24, ///< number of bits of the sprite containing the recolour palette @@ -1435,7 +1435,8 @@ enum SpriteSetup { * @see SpriteSetup */ enum Modifiers { - SPRITE_MODIFIER_USE_OFFSET = OFFSET_BIT, + /** Set when a sprite originates from an Action 1 */ + SPRITE_MODIFIER_CUSTOM_SPRITE = CUSTOM_BIT, /** Set when a sprite must not ever be displayed transparently */ SPRITE_MODIFIER_OPAQUE = OPAQUE_BIT, /** when a sprite is to be displayed transparently, this bit needs to be set. */ -- cgit v1.2.3-54-g00ecf