forked from mirror/OpenTTD
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
* Names are formatted as CBID_<CLASS>_<CALLBACK>
|
||||
*/
|
||||
enum CallbackID {
|
||||
/** Set when using the callback resolve system, but not to resolve a callback. */
|
||||
CBID_NO_CALLBACK = 0x00,
|
||||
|
||||
/** Set when calling a randomizing trigger (almost undocumented). */
|
||||
CBID_RANDOM_TRIGGER = 0x01,
|
||||
|
||||
|
Reference in New Issue
Block a user