summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-10-13 03:26:48 +0000
committerrubidium <rubidium@openttd.org>2008-10-13 03:26:48 +0000
commit3ee482ca1bd4eb1ff049c4506d864c87f227f463 (patch)
tree85fa073697b6d9960bca90c52e215ea66078536e /src/gfx_type.h
parentc768516a61ee02b6a773418300d571cf865490ae (diff)
downloadopenttd-3ee482ca1bd4eb1ff049c4506d864c87f227f463.tar.xz
(svn r14461) -Document: add some doxygen comments (Albert)
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r--src/gfx_type.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 039191a75..558519fb0 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -12,9 +12,10 @@
typedef uint32 SpriteID; ///< The number of a sprite, without mapping bits and colortables
+/** Combination of a palette sprite and a 'real' sprite */
struct PalSpriteID {
- SpriteID sprite;
- SpriteID pal;
+ SpriteID sprite; ///< The 'real' sprite
+ SpriteID pal; ///< The palette (use \c PAL_NONE) if not needed)
};
typedef int32 CursorID;