mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 10:30:28 +00:00
(svn r25831) -Change: Increase the object class limit from 32 to 255. (sbr)
This commit is contained in:
parent
3d5a91424a
commit
b1131671d4
@ -46,7 +46,7 @@ void ResetObjects();
|
|||||||
/** Class IDs for objects. */
|
/** Class IDs for objects. */
|
||||||
enum ObjectClassID {
|
enum ObjectClassID {
|
||||||
OBJECT_CLASS_BEGIN = 0, ///< The lowest valid value
|
OBJECT_CLASS_BEGIN = 0, ///< The lowest valid value
|
||||||
OBJECT_CLASS_MAX = 32, ///< Maximum number of classes.
|
OBJECT_CLASS_MAX = 0xFF, ///< Maximum number of classes.
|
||||||
INVALID_OBJECT_CLASS = 0xFF, ///< Class for the less fortunate.
|
INVALID_OBJECT_CLASS = 0xFF, ///< Class for the less fortunate.
|
||||||
};
|
};
|
||||||
/** Allow incrementing of ObjectClassID variables */
|
/** Allow incrementing of ObjectClassID variables */
|
||||||
|
Loading…
Reference in New Issue
Block a user