forked from mirror/OpenTTD
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -341,9 +341,7 @@ enum AirportTileCallbackMask {
|
||||
/**
|
||||
* Different values for Callback result evaluations
|
||||
*/
|
||||
enum {
|
||||
CALLBACK_FAILED = 0xFFFF, ///< Result of a failed callback.
|
||||
CALLBACK_HOUSEPRODCARGO_END = 0x20FF, ///< Sentinel indicating that the loop for CBID_HOUSE_PRODUCE_CARGO has ended
|
||||
};
|
||||
static const uint CALLBACK_FAILED = 0xFFFF; ///< Result of a failed callback.
|
||||
static const uint CALLBACK_HOUSEPRODCARGO_END = 0x20FF; ///< Sentinel indicating that the loop for CBID_HOUSE_PRODUCE_CARGO has ended
|
||||
|
||||
#endif /* NEWGRF_CALLBACKS_H */
|
||||
|
Reference in New Issue
Block a user