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
commitf1f5b248c2a99f728d704b8840b6ccb2f9558986 (patch)
tree85fa073697b6d9960bca90c52e215ea66078536e /src/gfx_type.h
parent313f193b55b75c6d4253887e65ffd81e1dee839f (diff)
downloadopenttd-f1f5b248c2a99f728d704b8840b6ccb2f9558986.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;