summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-25 19:06:29 +0000
committerrubidium <rubidium@openttd.org>2007-07-25 19:06:29 +0000
commit9e3ee0e689343c7701453c0fa4220d21fa3c46ce (patch)
treef2e904bfcb0f95592e6d631d8b0bacddd27cbdd6 /src/newgrf_callbacks.h
parent77b0e30b763688e108f49f1d035aee8daa51c6ac (diff)
downloadopenttd-9e3ee0e689343c7701453c0fa4220d21fa3c46ce.tar.xz
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index 33f005c2b..59fd6da60 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -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,