summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-01-14 18:19:29 +0000
committerbelugas <belugas@openttd.org>2008-01-14 18:19:29 +0000
commite789ee83ab6a89878e0cd0e6fdbe2ad8790a6e1a (patch)
tree4e5205e079a64c2541f8bb7a427f9c04b6f5ddaf /src/newgrf_callbacks.h
parentea808b2bfa3244999c02b940e72ed4e1abb5a15f (diff)
downloadopenttd-e789ee83ab6a89878e0cd0e6fdbe2ad8790a6e1a.tar.xz
(svn r11851) -Codechange: A few magic numbers removal, plus a little code style
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index 3dffdcf03..b21b29f8e 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -297,10 +297,11 @@ enum IndustryTileCallbackMask {
};
/**
- * Result of a failed callback.
+ * Different values for Callback result evaluations
*/
enum {
- CALLBACK_FAILED = 0xFFFF
+ CALLBACK_FAILED = 0xFFFF, ///< Result of a failed callback.
+ CALLBACK_HOUSEPRODCARGO_END = 0x20FF, ///< Sentinel indicating that the loop for CBID_HOUSE_PRODUCE_CARGO has ended
};
#endif /* NEWGRF_CALLBACKS_H */