1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r7146) -CodeChange: ST_CONST macro removed as it is no longer needed (Tron)

This commit is contained in:
KUDr
2006-11-14 12:02:36 +00:00
parent 55d6c98f89
commit ecccf79c07
5 changed files with 12 additions and 23 deletions

View File

@@ -18,9 +18,9 @@ protected:
CSuperArray m_a; ///< array of arrays of items
public:
ST_CONST(int, Tblock_size = Tblock_size_) ///< block size is now visible from outside
ST_CONST(int, Tnum_blocks = Tnum_blocks_) ///< number of blocks is now visible from outside
ST_CONST(int, Tcapacity = Tblock_size * Tnum_blocks) ///< total max number of items
static const int Tblock_size = Tblock_size_; ///< block size is now visible from outside
static const int Tnum_blocks = Tnum_blocks_; ///< number of blocks is now visible from outside
static const int Tcapacity = Tblock_size * Tnum_blocks; ///< total max number of items
/** implicit constructor */
FORCEINLINE CArrayT() { }