-
-
Notifications
You must be signed in to change notification settings - Fork 957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove TinyEnumT type #7538
Remove TinyEnumT type #7538
Conversation
7b97ffd
to
c12d322
Compare
STAT_CLASS_BEGIN = 0, ///< the lowest valid value | ||
STAT_CLASS_DFLT = 0, ///< Default station class. | ||
STAT_CLASS_WAYP, ///< Waypoint class. | ||
STAT_CLASS_MAX = 256, ///< Maximum number of classes. | ||
STAT_CLASS_MAX = 255, ///< Maximum number of classes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change may need more work because the max value is used as array declaration size in
Line 32 in 66cd32a
static NewGRFClass<Tspec, Tid, Tmax> classes[Tmax]; |
OpenTTD/src/newgrf_class_func.h
Line 26 in 66cd32a
NewGRFClass<Tspec, Tid, Tmax> NewGRFClass<Tspec, Tid, Tmax>::classes[Tmax]; |
Edit: after looking at the newgrf station spec it may be correct.
c12d322
to
4987307
Compare
4987307
to
130d16f
Compare
No description provided.