OpenRCT2/src/ride_data.c

295 lines
7.8 KiB
C
Raw Normal View History

2014-05-23 11:26:49 +02:00
/*
* Whether a particular ride has a running track or not. Will probably end up
* being used in various places in the game.
*
* Data source is 0x0097E3AC
2014-05-23 12:09:16 +02:00
*
* Generating function is here
* https://gist.github.com/kevinburke/eaeb1d8149a6eef0dcc1
2014-05-23 11:26:49 +02:00
*/
const bool hasRunningTrack[0x59] = {
true, // 0 Spiral Roller coaster
true, // 1 Stand Up Coaster
true, // 2 Suspended Swinging
true, // 3 Inverted
true, // 4 Steel Mini Coaster
true, // 5 Mini Railroad
true, // 6 Monorail
true, // 7 Mini Suspended Coaster
false, // 8 Bumper Boats
true, // 9 Wooden Wild Mine/Mouse
true, // a Steeplechase/Motorbike/Soap Box Derby
true, // b Car Ride
true, // c Launched Freefall
true, // d Bobsleigh Coaster
true, // e Observation Tower
true, // f Looping Roller Coaster
true, // 10 Dinghy Slide
true, // 11 Mine Train Coaster
true, // 12 Chairlift
true, // 13 Corkscrew Roller Coaster
false, // 14 Maze
false, // 15 Spiral Slide
true, // 16 Go Karts
true, // 17 Log Flume
true, // 18 River Rapids
false, // 19 Bumper Cars
false, // 1a Pirate Ship
false, // 1b Swinging Inverter Ship
false, // 1c Food Stall
false, // 1d (none)
false, // 1e Drink Stall
false, // 1f (none)
false, // 20 Shop (all types)
false, // 21 Merry Go Round
false, // 22 Balloon Stall (maybe)
false, // 23 Information Kiosk
false, // 24 Bathroom
false, // 25 Ferris Wheel
false, // 26 Motion Simulator
false, // 27 3D Cinema
false, // 28 Gravitron
false, // 29 Space Rings
true, // 2a Reverse Freefall Coaster
true, // 2b Elevator
true, // 2c Vertical Drop Roller Coaster
false, // 2d ATM
false, // 2e Twist
false, // 2f Haunted House
false, // 30 First Aid
false, // 31 Circus Show
true, // 32 Ghost Train
true, // 33 Twister Roller Coaster
true, // 34 Wooden Roller Coaster
true, // 35 Side-Friction Roller Coaster
true, // 36 Wild Mouse
true, // 37 Multi Dimension Coaster
true, // 38 (none)
true, // 39 Flying Roller Coaster
true, // 3a (none)
true, // 3b Virginia Reel
true, // 3c Splash Boats
true, // 3d Mini Helicopters
true, // 3e Lay-down Roller Coaster
true, // 3f Suspended Monorail
true, // 40 (none)
true, // 41 Reverser Roller Coaster
true, // 42 Heartline Twister Roller Coaster
true, // 43 Mini Golf
true, // 44 Giga Coaster
true, // 45 Roto-Drop
false, // 46 Flying Saucers
false, // 47 Crooked House
true, // 48 Monorail Cycles
true, // 49 Compact Inverted Coaster
true, // 4a Water Coaster
true, // 4b Air Powered Vertical Coaster
true, // 4c Inverted Hairpin Coaster
false, // 4d Magic Carpet
false, // 4e Submarine Ride
true, // 4f River Rafts
false, // 50 (none)
false, // 51 Enterprise
false, // 52 (none)
false, // 53 (none)
false, // 54 (none)
true, // 55 (none)
true, // 56 Inverted Impulse Coaster
true, // 57 Mini Roller Coaster
true, // 58 Mine Ride
true, // 59 LIM Launched Roller Coaster
}
2014-05-23 12:09:16 +02:00
/**
* Data about ride running costs. This is widely adjusted by the upkeep
* function, so values that don't make much sense here (a roller coaster having
* cheaper upkeep than a car ride) are fixed later on.
*
* data generation script: https://gist.github.com/kevinburke/6bcf4a8fcc95faad7bac
*/
const uint8 initialUpkeepCosts[0x59] = {
41, // 00 Spiral Roller coaster
40, // 01 Stand Up Coaster
40, // 02 Suspended Swinging
40, // 03 Inverted
40, // 04 Steel Mini Coaster
60, // 05 Mini Railroad
65, // 06 Monorail
40, // 07 Mini Suspended Coaster
50, // 08 Bumper Boats
40, // 09 Wooden Wild Mine/Mouse
40, // 0a Steeplechase/Motorbike/Soap Box Derby
70, // 0b Car Ride
50, // 0c Launched Freefall
40, // 0d Bobsleigh Coaster
50, // 0e Observation Tower
40, // 0f Looping Roller Coaster
40, // 10 Dinghy Slide
40, // 11 Mine Train Coaster
60, // 12 Chairlift
40, // 13 Corkscrew Roller Coaster
50, // 14 Maze
50, // 15 Spiral Slide
50, // 16 Go Karts
80, // 17 Log Flume
82, // 18 River Rapids
50, // 19 Bumper Cars
50, // 1a Pirate Ship
50, // 1b Swinging Inverter Ship
50, // 1c Food Stall
50, // 1d (none)
50, // 1e Drink Stall
50, // 1f (none)
50, // 20 Shop (all types)
50, // 21 Merry Go Round
50, // 22 Balloon Stall (maybe)
50, // 23 Information Kiosk
50, // 24 Bathroom
50, // 25 Ferris Wheel
50, // 26 Motion Simulator
50, // 27 3D Cinema
50, // 28 Gravitron
50, // 29 Space Rings
80, // 2a Reverse Freefall Coaster
50, // 2b Elevator
44, // 2c Vertical Drop Roller Coaster
40, // 2d ATM
50, // 2e Twist
50, // 2f Haunted House
45, // 30 First Aid
50, // 31 Circus Show
80, // 32 Ghost Train
43, // 33 Twister Roller Coaster
40, // 34 Wooden Roller Coaster
39, // 35 Side-Friction Roller Coaster
40, // 36 Wild Mouse
75, // 37 Multi Dimension Coaster
75, // 38 (none)
49, // 39 Flying Roller Coaster
49, // 3a (none)
39, // 3b Virginia Reel
70, // 3c Splash Boats
70, // 3d Mini Helicopters
49, // 3e Lay-down Roller Coaster
70, // 3f Suspended Monorail
49, // 40 (none)
39, // 41 Reverser Roller Coaster
47, // 42 Heartline Twister Roller Coaster
30, // 43 Mini Golf
10, // 44 Giga Coaster
50, // 45 Roto-Drop
90, // 46 Flying Saucers
30, // 47 Crooked House
47, // 48 Monorail Cycles
40, // 49 Compact Inverted Coaster
60, // 4a Water Coaster
90, // 4b Air Powered Vertical Coaster
40, // 4c Inverted Hairpin Coaster
50, // 4d Magic Carpet
50, // 4e Submarine Ride
50, // 4f River Rafts
50, // 50 (none)
50, // 51 Enterprise
50, // 52 (none)
50, // 53 (none)
50, // 54 (none)
40, // 55 (none)
180, // 56 Inverted Impulse Coaster
35, // 57 Mini Roller Coaster
50, // 58 Mine Ride
42, // 59 LIM Launched Roller Coaster
}
const uint8 costPerTrackPiece[0x59] = {
80, // 00 Spiral Roller coaster
80, // 01 Stand Up Coaster
80, // 02 Suspended Swinging
80, // 03 Inverted
80, // 04 Steel Mini Coaster
0, // 05 Mini Railroad
0, // 06 Monorail
80, // 07 Mini Suspended Coaster
0, // 08 Bumper Boats
80, // 09 Wooden Wild Mine/Mouse
80, // 0a Steeplechase/Motorbike/Soap Box Derby
0, // 0b Car Ride
0, // 0c Launched Freefall
80, // 0d Bobsleigh Coaster
0, // 0e Observation Tower
80, // 0f Looping Roller Coaster
80, // 10 Dinghy Slide
80, // 11 Mine Train Coaster
0, // 12 Chairlift
80, // 13 Corkscrew Roller Coaster
0, // 14 Maze
0, // 15 Spiral Slide
0, // 16 Go Karts
0, // 17 Log Flume
0, // 18 River Rapids
0, // 19 Bumper Cars
0, // 1a Pirate Ship
0, // 1b Swinging Inverter Ship
0, // 1c Food Stall
0, // 1d (none)
0, // 1e Drink Stall
0, // 1f (none)
0, // 20 Shop (all types)
0, // 21 Merry Go Round
0, // 22 Balloon Stall (maybe)
0, // 23 Information Kiosk
0, // 24 Bathroom
0, // 25 Ferris Wheel
0, // 26 Motion Simulator
0, // 27 3D Cinema
0, // 28 Gravitron
0, // 29 Space Rings
0, // 2a Reverse Freefall Coaster
0, // 2b Elevator
80, // 2c Vertical Drop Roller Coaster
0, // 2d ATM
0, // 2e Twist
0, // 2f Haunted House
0, // 30 First Aid
0, // 31 Circus Show
0, // 32 Ghost Train
80, // 33 Twister Roller Coaster
80, // 34 Wooden Roller Coaster
80, // 35 Side-Friction Roller Coaster
80, // 36 Wild Mouse
90, // 37 Multi Dimension Coaster
90, // 38 (none)
90, // 39 Flying Roller Coaster
90, // 3a (none)
80, // 3b Virginia Reel
0, // 3c Splash Boats
0, // 3d Mini Helicopters
90, // 3e Lay-down Roller Coaster
0, // 3f Suspended Monorail
90, // 40 (none)
80, // 41 Reverser Roller Coaster
80, // 42 Heartline Twister Roller Coaster
80, // 43 Mini Golf
80, // 44 Giga Coaster
0, // 45 Roto-Drop
0, // 46 Flying Saucers
0, // 47 Crooked House
0, // 48 Monorail Cycles
80, // 49 Compact Inverted Coaster
80, // 4a Water Coaster
0, // 4b Air Powered Vertical Coaster
80, // 4c Inverted Hairpin Coaster
0, // 4d Magic Carpet
0, // 4e Submarine Ride
0, // 4f River Rafts
0, // 50 (none)
0, // 51 Enterprise
0, // 52 (none)
0, // 53 (none)
0, // 54 (none)
80, // 55 (none)
80, // 56 Inverted Impulse Coaster
80, // 57 Mini Roller Coaster
80, // 58 Mine Ride
80, // 59 LIM Launched Roller Coaster
}