diff options
author | rubidium <rubidium@openttd.org> | 2008-10-13 03:26:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-10-13 03:26:48 +0000 |
commit | f1f5b248c2a99f728d704b8840b6ccb2f9558986 (patch) | |
tree | 85fa073697b6d9960bca90c52e215ea66078536e /src/sprite.h | |
parent | 313f193b55b75c6d4253887e65ffd81e1dee839f (diff) | |
download | openttd-f1f5b248c2a99f728d704b8840b6ccb2f9558986.tar.xz |
(svn r14461) -Document: add some doxygen comments (Albert)
Diffstat (limited to 'src/sprite.h')
-rw-r--r-- | src/sprite.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sprite.h b/src/sprite.h index 2b1755432..2fbef0c64 100644 --- a/src/sprite.h +++ b/src/sprite.h @@ -23,8 +23,9 @@ * bounding box. Used especially for various multi-sprite buildings (like * depots or stations): */ +/** A tile child sprite and palette to draw for stations etc, with 3D bounding box */ struct DrawTileSeqStruct { - int8 delta_x; // 0x80 is sequence terminator + int8 delta_x; ///< \c 0x80 is sequence terminator int8 delta_y; int8 delta_z; byte size_x; @@ -33,9 +34,10 @@ struct DrawTileSeqStruct { PalSpriteID image; }; +/** Ground palette sprite of a tile, together with its child sprites */ struct DrawTileSprites { - PalSpriteID ground; - const DrawTileSeqStruct *seq; + PalSpriteID ground; ///< Palette and sprite for the ground + const DrawTileSeqStruct *seq; ///< Array of child sprites. Terminated with a terminator entry }; /** |