Define constant for the maximum number of cars in a train

This commit is contained in:
X7123M3-256 2016-03-28 21:58:14 +01:00 committed by Michał Janiszewski
parent 9d618231fb
commit 652ab949b0
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ typedef fixed16_2dp ride_rating;
// integer. To create the ride rating 3.65 type RIDE_RATING(3,65)
#define RIDE_RATING(whole, fraction) FIXED_2DP(whole, fraction)
#define RIDE_MAX_CARS_PER_TRAIN 64
// Used for return values, for functions that modify all three.
typedef struct {
ride_rating excitement;