summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-01-17 01:01:56 +0000
committerfrosch <frosch@openttd.org>2010-01-17 01:01:56 +0000
commitd9d75c83d5b0839d335db453b4482fcaf306bac7 (patch)
treead207b20db255982fe6d12d77b480c3d918ad5be /src/sprite.h
parent707cf045f8703700887757ecfa4e309b61e2fd4f (diff)
downloadopenttd-d9d75c83d5b0839d335db453b4482fcaf306bac7.tar.xz
(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().
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/sprite.h b/src/sprite.h
index 5251f7a3b..9144fe979 100644
--- a/src/sprite.h
+++ b/src/sprite.h
@@ -20,15 +20,6 @@
#define GENERAL_SPRITE_COLOUR(colour) ((colour) + PALETTE_RECOLOUR_START)
#define COMPANY_SPRITE_COLOUR(owner) (GENERAL_SPRITE_COLOUR(_company_colours[owner]))
-/**
- * Whether a sprite comes from the original graphics files or a new grf file
- * (either supplied by OpenTTD or supplied by the user).
- *
- * @param sprite The sprite to check
- * @return True if it is a new sprite, or false if it is original.
- */
-#define IS_CUSTOM_SPRITE(sprite) ((sprite) >= SPR_SIGNALS_BASE)
-
/* The following describes bunch of sprites to be drawn together in a single 3D
* bounding box. Used especially for various multi-sprite buildings (like
* depots or stations): */