diff options
author | rubidium <rubidium@openttd.org> | 2011-05-01 19:14:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-01 19:14:12 +0000 |
commit | 1a515e6344028854c855671c19f49d8f869eb18f (patch) | |
tree | e1bba97c1a8fd80f564729cc2d5fc2049110cb2a /src/tilearea_type.h | |
parent | b27dd1dcd7375dae63724879eb0f56dd703e5312 (diff) | |
download | openttd-1a515e6344028854c855671c19f49d8f869eb18f.tar.xz |
(svn r22405) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/tilearea_type.h')
-rw-r--r-- | src/tilearea_type.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tilearea_type.h b/src/tilearea_type.h index 219416acf..46a093fc6 100644 --- a/src/tilearea_type.h +++ b/src/tilearea_type.h @@ -132,9 +132,12 @@ public: /** Iterator to iterate over a diagonal area of the map. */ class DiagonalTileIterator : public TileIterator { private: - uint base_x, base_y; ///< The base tile x and y coordinates from where the iterating happens. - int a_cur, b_cur; ///< The current (rotated) x and y coordinates of the iteration. - int a_max, b_max; ///< The (rotated) x and y coordinates of the end of the iteration. + uint base_x; ///< The base tile x coordinate from where the iterating happens. + uint base_y; ///< The base tile y coordinate from where the iterating happens. + int a_cur; ///< The current (rotated) x coordinate of the iteration. + int b_cur; ///< The current (rotated) y coordinate of the iteration. + int a_max; ///< The (rotated) x coordinats of the end of the iteration. + int b_max; ///< The (rotated) y coordinate of the end of the iteration. public: DiagonalTileIterator(TileIndex begin, TileIndex end); |