forked from rosebudai/OpenRCT2-Web
Merge pull request #4592 from marijnvdwerf/clean/address-comment
Add address comments to paint functions
This commit is contained in:
commit
3085dfd73c
29 files changed
+2094
-1
No files matched your search
@@ -178,6 +178,7 @@ static uint32 air_powered_vertical_rc_get_support_colour()
|
||||
return colourFlags;
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFAD4 */
|
||||
static void air_powered_vertical_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4] = {
|
||||
@@ -277,6 +278,7 @@ static void air_powered_vertical_rc_track_left_quarter_turn_5(uint8 rideIndex, u
|
||||
air_powered_vertical_rc_track_right_quarter_turn_5(rideIndex, trackSequence, (direction + 1) % 4, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFB74 */
|
||||
static void air_powered_vertical_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -302,6 +304,7 @@ static void air_powered_vertical_rc_track_flat_to_left_bank(uint8 rideIndex, uin
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFB84 */
|
||||
static void air_powered_vertical_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -332,6 +335,7 @@ static void air_powered_vertical_rc_track_left_bank_to_flat(uint8 rideIndex, uin
|
||||
air_powered_vertical_rc_track_flat_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFBA4 */
|
||||
static void air_powered_vertical_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
air_powered_vertical_rc_track_flat_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
@@ -402,6 +406,7 @@ static void air_powered_vertical_rc_track_banked_left_quarter_turn_5(uint8 rideI
|
||||
air_powered_vertical_rc_track_banked_right_quarter_turn_5(rideIndex, trackSequence, (direction + 1) % 4, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFBD4 */
|
||||
static void air_powered_vertical_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4] = {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x006FE5B4 */
|
||||
static void bobsleigh_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -84,6 +85,7 @@ static void bobsleigh_rc_track_station(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE5C4 */
|
||||
static void bobsleigh_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -140,6 +142,7 @@ static void bobsleigh_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, u
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE5D4 */
|
||||
static void bobsleigh_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -196,6 +199,7 @@ static void bobsleigh_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE5E4 */
|
||||
static void bobsleigh_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -252,21 +256,25 @@ static void bobsleigh_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE5F4 */
|
||||
static void bobsleigh_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
bobsleigh_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE604 */
|
||||
static void bobsleigh_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
bobsleigh_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE614 */
|
||||
static void bobsleigh_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
bobsleigh_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE624 */
|
||||
static void bobsleigh_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -402,12 +410,14 @@ static void bobsleigh_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE634 */
|
||||
static void bobsleigh_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
bobsleigh_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE644 */
|
||||
static void bobsleigh_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -436,6 +446,7 @@ static void bobsleigh_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE654 */
|
||||
static void bobsleigh_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -464,6 +475,7 @@ static void bobsleigh_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE664 */
|
||||
static void bobsleigh_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -492,6 +504,7 @@ static void bobsleigh_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE674 */
|
||||
static void bobsleigh_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -520,6 +533,7 @@ static void bobsleigh_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE684 */
|
||||
static void bobsleigh_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -655,12 +669,14 @@ static void bobsleigh_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE694 */
|
||||
static void bobsleigh_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
bobsleigh_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE6A4 */
|
||||
static void bobsleigh_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -693,6 +709,7 @@ static void bobsleigh_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE6B4 */
|
||||
static void bobsleigh_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -725,6 +742,7 @@ static void bobsleigh_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE6C4 */
|
||||
static void bobsleigh_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -757,6 +775,7 @@ static void bobsleigh_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE6D4 */
|
||||
static void bobsleigh_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -789,26 +808,31 @@ static void bobsleigh_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE6E4 */
|
||||
static void bobsleigh_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
bobsleigh_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE6F4 */
|
||||
static void bobsleigh_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
bobsleigh_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE704 */
|
||||
static void bobsleigh_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
bobsleigh_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE714 */
|
||||
static void bobsleigh_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
bobsleigh_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE724 */
|
||||
static void bobsleigh_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -837,11 +861,13 @@ static void bobsleigh_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, u
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE734 */
|
||||
static void bobsleigh_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
bobsleigh_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE744 */
|
||||
static void bobsleigh_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -953,6 +979,7 @@ static void bobsleigh_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE754 */
|
||||
static void bobsleigh_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1064,6 +1091,7 @@ static void bobsleigh_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE794 */
|
||||
static void bobsleigh_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1152,12 +1180,14 @@ static void bobsleigh_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE7A4 */
|
||||
static void bobsleigh_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
bobsleigh_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE7B4 */
|
||||
static void bobsleigh_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1246,12 +1276,14 @@ static void bobsleigh_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE7C4 */
|
||||
static void bobsleigh_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
bobsleigh_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE7D4 */
|
||||
static void bobsleigh_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1422,6 +1454,7 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE7E4 */
|
||||
static void bobsleigh_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1592,6 +1625,7 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE7F4 */
|
||||
static void bobsleigh_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -1602,6 +1636,7 @@ static void bobsleigh_rc_track_left_half_banked_helix_down_small(uint8 rideIndex
|
||||
bobsleigh_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE804 */
|
||||
static void bobsleigh_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -1612,6 +1647,7 @@ static void bobsleigh_rc_track_right_half_banked_helix_down_small(uint8 rideInde
|
||||
bobsleigh_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE814 */
|
||||
static void bobsleigh_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1876,6 +1912,7 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE824 */
|
||||
static void bobsleigh_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2140,6 +2177,7 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE834 */
|
||||
static void bobsleigh_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2150,6 +2188,7 @@ static void bobsleigh_rc_track_left_half_banked_helix_down_large(uint8 rideIndex
|
||||
bobsleigh_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE844 */
|
||||
static void bobsleigh_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2160,6 +2199,7 @@ static void bobsleigh_rc_track_right_half_banked_helix_down_large(uint8 rideInde
|
||||
bobsleigh_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE854 */
|
||||
static void bobsleigh_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2182,6 +2222,7 @@ static void bobsleigh_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE864 */
|
||||
static void bobsleigh_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008AE6E0 */
|
||||
static void compact_inverted_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -81,6 +82,7 @@ static void compact_inverted_rc_track_station(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE6F0 */
|
||||
static void compact_inverted_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -147,6 +149,7 @@ static void compact_inverted_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE700 */
|
||||
static void compact_inverted_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -189,6 +192,7 @@ static void compact_inverted_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 120, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE710 */
|
||||
static void compact_inverted_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -255,6 +259,7 @@ static void compact_inverted_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE720 */
|
||||
static void compact_inverted_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -301,6 +306,7 @@ static void compact_inverted_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 88, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE730 */
|
||||
static void compact_inverted_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -371,6 +377,7 @@ static void compact_inverted_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 88, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE740 */
|
||||
static void compact_inverted_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -437,36 +444,43 @@ static void compact_inverted_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE750 */
|
||||
static void compact_inverted_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE760 */
|
||||
static void compact_inverted_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE770 */
|
||||
static void compact_inverted_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE780 */
|
||||
static void compact_inverted_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE790 */
|
||||
static void compact_inverted_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE7A0 */
|
||||
static void compact_inverted_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE7B0 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -582,12 +596,14 @@ static void compact_inverted_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE7C0 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
compact_inverted_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE7D0 */
|
||||
static void compact_inverted_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -612,6 +628,7 @@ static void compact_inverted_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE7E0 */
|
||||
static void compact_inverted_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -636,6 +653,7 @@ static void compact_inverted_rc_track_flat_to_right_bank(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE7F0 */
|
||||
static void compact_inverted_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -660,6 +678,7 @@ static void compact_inverted_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE800 */
|
||||
static void compact_inverted_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -684,6 +703,7 @@ static void compact_inverted_rc_track_right_bank_to_flat(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE810 */
|
||||
static void compact_inverted_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -799,12 +819,14 @@ static void compact_inverted_rc_track_banked_left_quarter_turn_5(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE820 */
|
||||
static void compact_inverted_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
compact_inverted_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE830 */
|
||||
static void compact_inverted_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -842,6 +864,7 @@ static void compact_inverted_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE840 */
|
||||
static void compact_inverted_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -879,6 +902,7 @@ static void compact_inverted_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE850 */
|
||||
static void compact_inverted_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -916,6 +940,7 @@ static void compact_inverted_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE860 */
|
||||
static void compact_inverted_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -953,26 +978,31 @@ static void compact_inverted_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE870 */
|
||||
static void compact_inverted_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE880 */
|
||||
static void compact_inverted_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE890 */
|
||||
static void compact_inverted_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE8A0 */
|
||||
static void compact_inverted_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE8B0 */
|
||||
static void compact_inverted_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -997,11 +1027,13 @@ static void compact_inverted_rc_track_left_bank(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE8C0 */
|
||||
static void compact_inverted_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE8D0 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1117,6 +1149,7 @@ static void compact_inverted_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE8E0 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1232,18 +1265,21 @@ static void compact_inverted_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE8F0 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
compact_inverted_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE900 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
compact_inverted_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE910 */
|
||||
static void compact_inverted_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1339,6 +1375,7 @@ static void compact_inverted_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE920 */
|
||||
static void compact_inverted_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1434,6 +1471,7 @@ static void compact_inverted_rc_track_s_bend_right(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE930 */
|
||||
static void compact_inverted_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1609,6 +1647,7 @@ static void compact_inverted_rc_track_left_vertical_loop(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE940 */
|
||||
static void compact_inverted_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1784,6 +1823,7 @@ static void compact_inverted_rc_track_right_vertical_loop(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE980 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1860,12 +1900,14 @@ static void compact_inverted_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE990 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
compact_inverted_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE9A0 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1942,12 +1984,14 @@ static void compact_inverted_rc_track_left_quarter_turn_3_bank(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE9B0 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
compact_inverted_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE9C0 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2009,6 +2053,7 @@ static void compact_inverted_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE9D0 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2070,18 +2115,21 @@ static void compact_inverted_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE9E0 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
compact_inverted_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE9F0 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
compact_inverted_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA00 */
|
||||
static void compact_inverted_rc_track_left_twist_down_to_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2155,6 +2203,7 @@ static void compact_inverted_rc_track_left_twist_down_to_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA10 */
|
||||
static void compact_inverted_rc_track_right_twist_down_to_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2228,6 +2277,7 @@ static void compact_inverted_rc_track_right_twist_down_to_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA20 */
|
||||
static void compact_inverted_rc_track_left_twist_up_to_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2301,6 +2351,7 @@ static void compact_inverted_rc_track_left_twist_up_to_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA30 */
|
||||
static void compact_inverted_rc_track_right_twist_up_to_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2374,6 +2425,7 @@ static void compact_inverted_rc_track_right_twist_up_to_down(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA40 */
|
||||
static void compact_inverted_rc_track_half_loop_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2462,11 +2514,13 @@ static void compact_inverted_rc_track_half_loop_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA50 */
|
||||
static void compact_inverted_rc_track_half_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_half_loop_up(rideIndex, 3 - trackSequence, direction, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA60 */
|
||||
static void compact_inverted_rc_track_left_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2540,6 +2594,7 @@ static void compact_inverted_rc_track_left_corkscrew_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA70 */
|
||||
static void compact_inverted_rc_track_right_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2613,16 +2668,19 @@ static void compact_inverted_rc_track_right_corkscrew_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA80 */
|
||||
static void compact_inverted_rc_track_left_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_right_corkscrew_up(rideIndex, 2 - trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEA90 */
|
||||
static void compact_inverted_rc_track_right_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_left_corkscrew_up(rideIndex, 2 - trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEAD0 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2659,6 +2717,7 @@ static void compact_inverted_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIn
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEAB0 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2695,16 +2754,19 @@ static void compact_inverted_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideI
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEAC0 */
|
||||
static void compact_inverted_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEAE0 */
|
||||
static void compact_inverted_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEAA0 */
|
||||
static void compact_inverted_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2725,6 +2787,7 @@ static void compact_inverted_rc_track_brakes(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEAF0 */
|
||||
static void compact_inverted_rc_track_left_quarter_banked_helix_large_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2840,6 +2903,7 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_up(uint8 r
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB00 */
|
||||
static void compact_inverted_rc_track_right_quarter_banked_helix_large_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2955,6 +3019,7 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_up(uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB10 */
|
||||
static void compact_inverted_rc_track_left_quarter_banked_helix_large_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3070,6 +3135,7 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_down(uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB20 */
|
||||
static void compact_inverted_rc_track_right_quarter_banked_helix_large_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3185,6 +3251,7 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_down(uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB30 */
|
||||
static void compact_inverted_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3219,6 +3286,7 @@ static void compact_inverted_rc_track_on_ride_photo(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEDB0 */
|
||||
static void compact_inverted_rc_track_90_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3263,11 +3331,13 @@ static void compact_inverted_rc_track_90_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEDC0 */
|
||||
static void compact_inverted_rc_track_90_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_90_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED70 */
|
||||
static void compact_inverted_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3315,11 +3385,13 @@ static void compact_inverted_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED80 */
|
||||
static void compact_inverted_rc_track_90_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
compact_inverted_rc_track_60_deg_up_to_90_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED90 */
|
||||
static void compact_inverted_rc_track_90_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -3365,6 +3437,7 @@ static void compact_inverted_rc_track_90_deg_up_to_60_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 96, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEDA0 */
|
||||
static void compact_inverted_rc_track_60_deg_down_to_90_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3411,6 +3484,7 @@ static void compact_inverted_rc_track_60_deg_down_to_90_deg_down(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB40 */
|
||||
static void compact_inverted_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3501,6 +3575,7 @@ static void compact_inverted_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB50 */
|
||||
static void compact_inverted_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3591,18 +3666,21 @@ static void compact_inverted_rc_track_right_eighth_to_diag(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB60 */
|
||||
static void compact_inverted_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
compact_inverted_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB70 */
|
||||
static void compact_inverted_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
compact_inverted_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED30 */
|
||||
static void compact_inverted_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3693,6 +3771,7 @@ static void compact_inverted_rc_track_left_eighth_bank_to_diag(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED40 */
|
||||
static void compact_inverted_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3783,18 +3862,21 @@ static void compact_inverted_rc_track_right_eighth_bank_to_diag(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED50 */
|
||||
static void compact_inverted_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
compact_inverted_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED60 */
|
||||
static void compact_inverted_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
compact_inverted_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB80 */
|
||||
static void compact_inverted_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3889,6 +3971,7 @@ static void compact_inverted_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEBB0 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3983,6 +4066,7 @@ static void compact_inverted_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC10 */
|
||||
static void compact_inverted_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4035,6 +4119,7 @@ static void compact_inverted_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEB90 */
|
||||
static void compact_inverted_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4129,6 +4214,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEBF0 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4181,6 +4267,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC00 */
|
||||
static void compact_inverted_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4233,6 +4320,7 @@ static void compact_inverted_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEBA0 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4327,6 +4415,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEBE0 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4421,6 +4510,7 @@ static void compact_inverted_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC40 */
|
||||
static void compact_inverted_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4473,6 +4563,7 @@ static void compact_inverted_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEBC0 */
|
||||
static void compact_inverted_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4567,6 +4658,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC20 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4619,6 +4711,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_60_deg_down(uint8 ride
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC30 */
|
||||
static void compact_inverted_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4671,6 +4764,7 @@ static void compact_inverted_rc_track_diag_60_deg_down_to_25_deg_down(uint8 ride
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEBD0 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4765,6 +4859,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC70 */
|
||||
static void compact_inverted_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4817,6 +4912,7 @@ static void compact_inverted_rc_track_diag_flat_to_left_bank(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC80 */
|
||||
static void compact_inverted_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4869,6 +4965,7 @@ static void compact_inverted_rc_track_diag_flat_to_right_bank(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC90 */
|
||||
static void compact_inverted_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4921,6 +5018,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_flat(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AECA0 */
|
||||
static void compact_inverted_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4973,6 +5071,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_flat(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AECD0 */
|
||||
static void compact_inverted_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5025,6 +5124,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AECE0 */
|
||||
static void compact_inverted_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5077,6 +5177,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_up(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AECB0 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5129,6 +5230,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_left_bank(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AECC0 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5181,6 +5283,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_right_bank(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AECF0 */
|
||||
static void compact_inverted_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5233,6 +5336,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED00 */
|
||||
static void compact_inverted_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5285,6 +5389,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_down(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED10 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5337,6 +5442,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AED20 */
|
||||
static void compact_inverted_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5389,6 +5495,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_right_bank(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC50 */
|
||||
static void compact_inverted_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5441,6 +5548,7 @@ static void compact_inverted_rc_track_diag_left_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEC60 */
|
||||
static void compact_inverted_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5493,6 +5601,7 @@ static void compact_inverted_rc_track_diag_right_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AEAA0 */
|
||||
static void compact_inverted_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008A7AF8 */
|
||||
static void corkscrew_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -88,6 +89,7 @@ static void corkscrew_rc_track_station(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B08 */
|
||||
static void corkscrew_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -136,6 +138,7 @@ static void corkscrew_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, u
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B18 */
|
||||
static void corkscrew_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -184,6 +187,7 @@ static void corkscrew_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, u
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B28 */
|
||||
static void corkscrew_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -232,6 +236,7 @@ static void corkscrew_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B38 */
|
||||
static void corkscrew_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -284,6 +289,7 @@ static void corkscrew_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B48 */
|
||||
static void corkscrew_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -336,6 +342,7 @@ static void corkscrew_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B58 */
|
||||
static void corkscrew_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -384,36 +391,43 @@ static void corkscrew_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B68 */
|
||||
static void corkscrew_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B78 */
|
||||
static void corkscrew_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B88 */
|
||||
static void corkscrew_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7B98 */
|
||||
static void corkscrew_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7BA8 */
|
||||
static void corkscrew_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7BB8 */
|
||||
static void corkscrew_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7BC8 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -529,12 +543,14 @@ static void corkscrew_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7BD8 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
corkscrew_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7BE8 */
|
||||
static void corkscrew_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -561,6 +577,7 @@ static void corkscrew_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7BF8 */
|
||||
static void corkscrew_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -587,6 +604,7 @@ static void corkscrew_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C08 */
|
||||
static void corkscrew_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -613,6 +631,7 @@ static void corkscrew_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C18 */
|
||||
static void corkscrew_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -639,6 +658,7 @@ static void corkscrew_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C28 */
|
||||
static void corkscrew_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -756,12 +776,14 @@ static void corkscrew_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C38 */
|
||||
static void corkscrew_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
corkscrew_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C48 */
|
||||
static void corkscrew_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -792,6 +814,7 @@ static void corkscrew_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C58 */
|
||||
static void corkscrew_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -822,6 +845,7 @@ static void corkscrew_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C68 */
|
||||
static void corkscrew_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -852,6 +876,7 @@ static void corkscrew_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C78 */
|
||||
static void corkscrew_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -882,26 +907,31 @@ static void corkscrew_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C88 */
|
||||
static void corkscrew_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7C98 */
|
||||
static void corkscrew_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7CA8 */
|
||||
static void corkscrew_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7CB8 */
|
||||
static void corkscrew_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7CC8 */
|
||||
static void corkscrew_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -926,11 +956,13 @@ static void corkscrew_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, u
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7CD8 */
|
||||
static void corkscrew_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7CE8 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1046,6 +1078,7 @@ static void corkscrew_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7CF8 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1161,18 +1194,21 @@ static void corkscrew_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7D08 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
corkscrew_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7D18 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
corkscrew_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7D28 */
|
||||
static void corkscrew_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1268,6 +1304,7 @@ static void corkscrew_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7D38 */
|
||||
static void corkscrew_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1363,6 +1400,7 @@ static void corkscrew_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7D48 */
|
||||
static void corkscrew_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1546,6 +1584,7 @@ static void corkscrew_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7D58 */
|
||||
static void corkscrew_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1723,6 +1762,7 @@ static void corkscrew_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7D98 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1799,12 +1839,14 @@ static void corkscrew_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7DA8 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
corkscrew_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7DB8 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1883,12 +1925,14 @@ static void corkscrew_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7DC8 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
corkscrew_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7DD8 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1950,6 +1994,7 @@ static void corkscrew_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7DE8 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2014,18 +2059,21 @@ static void corkscrew_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7DF8 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
corkscrew_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E08 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
corkscrew_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E18 */
|
||||
static void corkscrew_rc_track_half_loop_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2115,11 +2163,13 @@ static void corkscrew_rc_track_half_loop_up(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E28 */
|
||||
static void corkscrew_rc_track_half_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_half_loop_up(rideIndex, 3 - trackSequence, direction, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E38 */
|
||||
static void corkscrew_rc_track_left_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2193,6 +2243,7 @@ static void corkscrew_rc_track_left_corkscrew_up(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E48 */
|
||||
static void corkscrew_rc_track_right_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2266,16 +2317,19 @@ static void corkscrew_rc_track_right_corkscrew_up(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E58 */
|
||||
static void corkscrew_rc_track_left_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_right_corkscrew_up(rideIndex, 2 - trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E68 */
|
||||
static void corkscrew_rc_track_right_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_left_corkscrew_up(rideIndex, 2 - trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E78 */
|
||||
static void corkscrew_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2426,6 +2480,7 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E88 */
|
||||
static void corkscrew_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2576,6 +2631,7 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7E98 */
|
||||
static void corkscrew_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2586,6 +2642,7 @@ static void corkscrew_rc_track_left_half_banked_helix_down_small(uint8 rideIndex
|
||||
corkscrew_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7EA8 */
|
||||
static void corkscrew_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2596,6 +2653,7 @@ static void corkscrew_rc_track_right_half_banked_helix_down_small(uint8 rideInde
|
||||
corkscrew_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7EB8 */
|
||||
static void corkscrew_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2824,6 +2882,7 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7EC8 */
|
||||
static void corkscrew_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3052,6 +3111,7 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7ED8 */
|
||||
static void corkscrew_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -3062,6 +3122,7 @@ static void corkscrew_rc_track_left_half_banked_helix_down_large(uint8 rideIndex
|
||||
corkscrew_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7EE8 */
|
||||
static void corkscrew_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -3072,6 +3133,7 @@ static void corkscrew_rc_track_right_half_banked_helix_down_large(uint8 rideInde
|
||||
corkscrew_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F18 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3108,6 +3170,7 @@ static void corkscrew_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7EF8 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3144,16 +3207,19 @@ static void corkscrew_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F08 */
|
||||
static void corkscrew_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F28 */
|
||||
static void corkscrew_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F38 */
|
||||
static void corkscrew_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3174,6 +3240,7 @@ static void corkscrew_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F48 */
|
||||
static void corkscrew_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3208,6 +3275,7 @@ static void corkscrew_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8198 */
|
||||
static void corkscrew_rc_track_flat_to_60_deg_up_long_base(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3309,6 +3377,7 @@ static void corkscrew_rc_track_flat_to_60_deg_up_long_base(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A81A8 */
|
||||
static void corkscrew_rc_track_60_deg_up_to_flat_long_base(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3410,16 +3479,19 @@ static void corkscrew_rc_track_60_deg_up_to_flat_long_base(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A81B8 */
|
||||
static void corkscrew_rc_track_flat_to_60_deg_down_long_base(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_flat_to_60_deg_up_long_base(rideIndex, 3 - trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A81C8 */
|
||||
static void corkscrew_rc_track_60_deg_up_to_flat_long_base122(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
corkscrew_rc_track_60_deg_up_to_flat_long_base(rideIndex, 3 - trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F68 */
|
||||
static void corkscrew_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3510,6 +3582,7 @@ static void corkscrew_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F78 */
|
||||
static void corkscrew_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3600,18 +3673,21 @@ static void corkscrew_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F88 */
|
||||
static void corkscrew_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
corkscrew_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F98 */
|
||||
static void corkscrew_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
corkscrew_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7FA8 */
|
||||
static void corkscrew_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3702,6 +3778,7 @@ static void corkscrew_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7FB8 */
|
||||
static void corkscrew_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3792,18 +3869,21 @@ static void corkscrew_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7FC8 */
|
||||
static void corkscrew_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
corkscrew_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7FD8 */
|
||||
static void corkscrew_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
corkscrew_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7F58 */
|
||||
static void corkscrew_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3898,6 +3978,7 @@ static void corkscrew_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8008 */
|
||||
static void corkscrew_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3992,6 +4073,7 @@ static void corkscrew_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8068 */
|
||||
static void corkscrew_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4086,6 +4168,7 @@ static void corkscrew_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7FE8 */
|
||||
static void corkscrew_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4180,6 +4263,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8048 */
|
||||
static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4274,6 +4358,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8058 */
|
||||
static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4368,6 +4453,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7FF8 */
|
||||
static void corkscrew_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4462,6 +4548,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8038 */
|
||||
static void corkscrew_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4556,6 +4643,7 @@ static void corkscrew_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8098 */
|
||||
static void corkscrew_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4650,6 +4738,7 @@ static void corkscrew_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8018 */
|
||||
static void corkscrew_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4744,6 +4833,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8078 */
|
||||
static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4838,6 +4928,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8088 */
|
||||
static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4932,6 +5023,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8028 */
|
||||
static void corkscrew_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5026,6 +5118,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A80C8 */
|
||||
static void corkscrew_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5079,6 +5172,7 @@ static void corkscrew_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A80D8 */
|
||||
static void corkscrew_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5132,6 +5226,7 @@ static void corkscrew_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A80E8 */
|
||||
static void corkscrew_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5185,6 +5280,7 @@ static void corkscrew_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A80F8 */
|
||||
static void corkscrew_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5238,6 +5334,7 @@ static void corkscrew_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8128 */
|
||||
static void corkscrew_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5291,6 +5388,7 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8138 */
|
||||
static void corkscrew_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5344,6 +5442,7 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8108 */
|
||||
static void corkscrew_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5397,6 +5496,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8118 */
|
||||
static void corkscrew_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5450,6 +5550,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8148 */
|
||||
static void corkscrew_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5503,6 +5604,7 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8158 */
|
||||
static void corkscrew_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5556,6 +5658,7 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8168 */
|
||||
static void corkscrew_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5609,6 +5712,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8178 */
|
||||
static void corkscrew_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5662,6 +5766,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A80A8 */
|
||||
static void corkscrew_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5714,6 +5819,7 @@ static void corkscrew_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A80B8 */
|
||||
static void corkscrew_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5766,6 +5872,7 @@ static void corkscrew_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A8188 */
|
||||
static void corkscrew_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x007C6FF4 */
|
||||
static void flying_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -123,6 +124,7 @@ static void flying_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7004 */
|
||||
static void flying_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -216,6 +218,7 @@ static void flying_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7014 */
|
||||
static void flying_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -268,6 +271,7 @@ static void flying_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7024 */
|
||||
static void flying_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -361,6 +365,7 @@ static void flying_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7034 */
|
||||
static void flying_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -417,6 +422,7 @@ static void flying_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7044 */
|
||||
static void flying_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -485,6 +491,7 @@ static void flying_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7054 */
|
||||
static void flying_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -578,36 +585,43 @@ static void flying_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7064 */
|
||||
static void flying_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7074 */
|
||||
static void flying_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7084 */
|
||||
static void flying_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7094 */
|
||||
static void flying_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C70A4 */
|
||||
static void flying_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C70B4 */
|
||||
static void flying_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C70C4 */
|
||||
static void flying_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -837,12 +851,14 @@ static void flying_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C70D4 */
|
||||
static void flying_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
flying_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C70E4 */
|
||||
static void flying_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -892,6 +908,7 @@ static void flying_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C70F4 */
|
||||
static void flying_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -941,6 +958,7 @@ static void flying_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7104 */
|
||||
static void flying_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -990,6 +1008,7 @@ static void flying_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7114 */
|
||||
static void flying_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1039,6 +1058,7 @@ static void flying_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7124 */
|
||||
static void flying_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1270,12 +1290,14 @@ static void flying_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7134 */
|
||||
static void flying_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
flying_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7144 */
|
||||
static void flying_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1342,6 +1364,7 @@ static void flying_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7154 */
|
||||
static void flying_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1408,6 +1431,7 @@ static void flying_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7164 */
|
||||
static void flying_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1474,6 +1498,7 @@ static void flying_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7174 */
|
||||
static void flying_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1540,26 +1565,31 @@ static void flying_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7184 */
|
||||
static void flying_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7194 */
|
||||
static void flying_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C71A4 */
|
||||
static void flying_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C71B4 */
|
||||
static void flying_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C71C4 */
|
||||
static void flying_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1607,11 +1637,13 @@ static void flying_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C71D4 */
|
||||
static void flying_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C71E4 */
|
||||
static void flying_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1841,6 +1873,7 @@ static void flying_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C71F4 */
|
||||
static void flying_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2070,18 +2103,21 @@ static void flying_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7204 */
|
||||
static void flying_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
flying_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7214 */
|
||||
static void flying_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
flying_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7224 */
|
||||
static void flying_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2271,6 +2307,7 @@ static void flying_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7234 */
|
||||
static void flying_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2460,6 +2497,7 @@ static void flying_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7274 */
|
||||
static void flying_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2611,12 +2649,14 @@ static void flying_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7284 */
|
||||
static void flying_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
flying_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7294 */
|
||||
static void flying_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2770,12 +2810,14 @@ static void flying_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C72A4 */
|
||||
static void flying_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
flying_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C72B4 */
|
||||
static void flying_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2897,6 +2939,7 @@ static void flying_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C72C4 */
|
||||
static void flying_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3021,18 +3064,21 @@ static void flying_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C72D4 */
|
||||
static void flying_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
flying_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C72E4 */
|
||||
static void flying_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
flying_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7314 */
|
||||
static void flying_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3332,6 +3378,7 @@ static void flying_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7324 */
|
||||
static void flying_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3631,6 +3678,7 @@ static void flying_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7334 */
|
||||
static void flying_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -3641,6 +3689,7 @@ static void flying_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, u
|
||||
flying_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7344 */
|
||||
static void flying_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -3651,6 +3700,7 @@ static void flying_rc_track_right_half_banked_helix_down_small(uint8 rideIndex,
|
||||
flying_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7354 */
|
||||
static void flying_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4106,6 +4156,7 @@ static void flying_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7364 */
|
||||
static void flying_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4561,6 +4612,7 @@ static void flying_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7374 */
|
||||
static void flying_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -4571,6 +4623,7 @@ static void flying_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, u
|
||||
flying_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7384 */
|
||||
static void flying_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -4581,6 +4634,7 @@ static void flying_rc_track_right_half_banked_helix_down_large(uint8 rideIndex,
|
||||
flying_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C73B4 */
|
||||
static void flying_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4652,6 +4706,7 @@ static void flying_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7394 */
|
||||
static void flying_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4723,16 +4778,19 @@ static void flying_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C73A4 */
|
||||
static void flying_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C73C4 */
|
||||
static void flying_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C73D4 */
|
||||
static void flying_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4772,6 +4830,7 @@ static void flying_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 d
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7674 */
|
||||
static void flying_rc_track_left_quarter_banked_helix_large_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5001,6 +5060,7 @@ static void flying_rc_track_left_quarter_banked_helix_large_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7684 */
|
||||
static void flying_rc_track_right_quarter_banked_helix_large_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5230,6 +5290,7 @@ static void flying_rc_track_right_quarter_banked_helix_large_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7694 */
|
||||
static void flying_rc_track_left_quarter_banked_helix_large_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5459,6 +5520,7 @@ static void flying_rc_track_left_quarter_banked_helix_large_down(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C76A4 */
|
||||
static void flying_rc_track_right_quarter_banked_helix_large_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5688,6 +5750,7 @@ static void flying_rc_track_right_quarter_banked_helix_large_down(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C78B4 */
|
||||
static void flying_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5752,6 +5815,7 @@ static void flying_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C78C4 */
|
||||
static void flying_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5816,6 +5880,7 @@ static void flying_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C73E4 */
|
||||
static void flying_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5888,16 +5953,19 @@ static void flying_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C78D4 */
|
||||
static void flying_rc_track_25_deg_down_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up_right_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C78E4 */
|
||||
static void flying_rc_track_25_deg_down_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up_left_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7404 */
|
||||
static void flying_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6077,6 +6145,7 @@ static void flying_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7414 */
|
||||
static void flying_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6256,18 +6325,21 @@ static void flying_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7424 */
|
||||
static void flying_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
flying_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7434 */
|
||||
static void flying_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
flying_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7444 */
|
||||
static void flying_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6447,6 +6519,7 @@ static void flying_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7454 */
|
||||
static void flying_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6626,18 +6699,21 @@ static void flying_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7464 */
|
||||
static void flying_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
flying_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7474 */
|
||||
static void flying_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
flying_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C73F4 */
|
||||
static void flying_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6825,6 +6901,7 @@ static void flying_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C74A4 */
|
||||
static void flying_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7012,6 +7089,7 @@ static void flying_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7504 */
|
||||
static void flying_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7157,6 +7235,7 @@ static void flying_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7484 */
|
||||
static void flying_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7344,6 +7423,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C74E4 */
|
||||
static void flying_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7489,6 +7569,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C74F4 */
|
||||
static void flying_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7634,6 +7715,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7494 */
|
||||
static void flying_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7821,6 +7903,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C74D4 */
|
||||
static void flying_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7966,6 +8049,7 @@ static void flying_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7534 */
|
||||
static void flying_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8111,6 +8195,7 @@ static void flying_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C74B4 */
|
||||
static void flying_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8256,6 +8341,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7514 */
|
||||
static void flying_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8401,6 +8487,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7524 */
|
||||
static void flying_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8546,6 +8633,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C74C4 */
|
||||
static void flying_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8691,6 +8779,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7564 */
|
||||
static void flying_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8795,6 +8884,7 @@ static void flying_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7574 */
|
||||
static void flying_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8899,6 +8989,7 @@ static void flying_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7584 */
|
||||
static void flying_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9003,6 +9094,7 @@ static void flying_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7594 */
|
||||
static void flying_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9107,6 +9199,7 @@ static void flying_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C75C4 */
|
||||
static void flying_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9211,6 +9304,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C75D4 */
|
||||
static void flying_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9315,6 +9409,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C75A4 */
|
||||
static void flying_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9419,6 +9514,7 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C75B4 */
|
||||
static void flying_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9523,6 +9619,7 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C75E4 */
|
||||
static void flying_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9627,6 +9724,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C75F4 */
|
||||
static void flying_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9731,6 +9829,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7604 */
|
||||
static void flying_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9835,6 +9934,7 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7614 */
|
||||
static void flying_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9939,6 +10039,7 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7544 */
|
||||
static void flying_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10042,6 +10143,7 @@ static void flying_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7554 */
|
||||
static void flying_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10145,6 +10247,7 @@ static void flying_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7624 */
|
||||
static void flying_rc_track_left_flyer_twist_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10290,6 +10393,7 @@ static void flying_rc_track_left_flyer_twist_up(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7634 */
|
||||
static void flying_rc_track_right_flyer_twist_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10435,6 +10539,7 @@ static void flying_rc_track_right_flyer_twist_up(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7644 */
|
||||
static void flying_rc_track_left_flyer_twist_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10580,6 +10685,7 @@ static void flying_rc_track_left_flyer_twist_down(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7654 */
|
||||
static void flying_rc_track_right_flyer_twist_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10725,6 +10831,7 @@ static void flying_rc_track_right_flyer_twist_down(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C72F4 */
|
||||
static void flying_rc_track_flyer_half_loop_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10902,6 +11009,7 @@ static void flying_rc_track_flyer_half_loop_up(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7304 */
|
||||
static void flying_rc_track_flyer_half_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11079,6 +11187,7 @@ static void flying_rc_track_flyer_half_loop_down(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7664 */
|
||||
static void flying_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11116,6 +11225,7 @@ static void flying_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C76B4 */
|
||||
static void flying_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11237,6 +11347,7 @@ static void flying_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C76C4 */
|
||||
static void flying_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11361,18 +11472,21 @@ static void flying_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C76D4 */
|
||||
static void flying_rc_track_left_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
flying_rc_track_right_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C76E4 */
|
||||
static void flying_rc_track_right_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
flying_rc_track_left_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C76F4 */
|
||||
static void flying_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11602,6 +11716,7 @@ static void flying_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7704 */
|
||||
static void flying_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11831,18 +11946,21 @@ static void flying_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7714 */
|
||||
static void flying_rc_track_left_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
flying_rc_track_right_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7724 */
|
||||
static void flying_rc_track_right_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
flying_rc_track_left_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7734 */
|
||||
static void flying_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11908,6 +12026,7 @@ static void flying_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7744 */
|
||||
static void flying_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11973,6 +12092,7 @@ static void flying_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7754 */
|
||||
static void flying_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12038,6 +12158,7 @@ static void flying_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7764 */
|
||||
static void flying_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12103,26 +12224,31 @@ static void flying_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7774 */
|
||||
static void flying_rc_track_25_deg_down_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_right_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7784 */
|
||||
static void flying_rc_track_25_deg_down_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_left_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7794 */
|
||||
static void flying_rc_track_left_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C77A4 */
|
||||
static void flying_rc_track_right_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_25_deg_up_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C77B4 */
|
||||
static void flying_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12187,6 +12313,7 @@ static void flying_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 ride
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C77C4 */
|
||||
static void flying_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12251,6 +12378,7 @@ static void flying_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 ri
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C77F4 */
|
||||
static void flying_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12315,6 +12443,7 @@ static void flying_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 ride
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7804 */
|
||||
static void flying_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12379,26 +12508,31 @@ static void flying_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 ri
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7814 */
|
||||
static void flying_rc_track_left_banked_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_right_banked_25_deg_up_to_right_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7824 */
|
||||
static void flying_rc_track_right_banked_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_left_banked_25_deg_up_to_left_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C77D4 */
|
||||
static void flying_rc_track_left_banked_25_deg_down_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_right_banked_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C77E4 */
|
||||
static void flying_rc_track_right_banked_25_deg_down_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_left_banked_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7834 */
|
||||
static void flying_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12464,6 +12598,7 @@ static void flying_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7844 */
|
||||
static void flying_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12529,6 +12664,7 @@ static void flying_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7854 */
|
||||
static void flying_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12594,6 +12730,7 @@ static void flying_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7864 */
|
||||
static void flying_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -12659,21 +12796,25 @@ static void flying_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7874 */
|
||||
static void flying_rc_track_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_right_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7884 */
|
||||
static void flying_rc_track_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_left_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C7894 */
|
||||
static void flying_rc_track_left_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007C78A4 */
|
||||
static void flying_rc_track_right_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
flying_rc_track_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008AD674 */
|
||||
static void giga_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_cable_lift(mapElement)) {
|
||||
@@ -102,6 +103,7 @@ static void giga_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint8 di
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD684 */
|
||||
static void giga_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_cable_lift(mapElement)) {
|
||||
@@ -168,6 +170,7 @@ static void giga_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD694 */
|
||||
static void giga_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_cable_lift(mapElement)) {
|
||||
@@ -216,6 +219,7 @@ static void giga_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD6A4 */
|
||||
static void giga_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_cable_lift(mapElement)) {
|
||||
@@ -282,6 +286,7 @@ static void giga_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD6B4 */
|
||||
static void giga_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_cable_lift(mapElement)) {
|
||||
@@ -334,6 +339,7 @@ static void giga_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD6C4 */
|
||||
static void giga_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_cable_lift(mapElement)) {
|
||||
@@ -386,6 +392,7 @@ static void giga_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD6D4 */
|
||||
static void giga_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_cable_lift(mapElement)) {
|
||||
@@ -452,36 +459,43 @@ static void giga_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD6E4 */
|
||||
static void giga_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD6F4 */
|
||||
static void giga_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD704 */
|
||||
static void giga_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD714 */
|
||||
static void giga_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD724 */
|
||||
static void giga_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD734 */
|
||||
static void giga_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD744 */
|
||||
static void giga_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -597,12 +611,14 @@ static void giga_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD754 */
|
||||
static void giga_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
giga_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD764 */
|
||||
static void giga_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -629,6 +645,7 @@ static void giga_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD774 */
|
||||
static void giga_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -655,6 +672,7 @@ static void giga_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD784 */
|
||||
static void giga_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -681,6 +699,7 @@ static void giga_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD794 */
|
||||
static void giga_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -707,6 +726,7 @@ static void giga_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD7A4 */
|
||||
static void giga_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -824,12 +844,14 @@ static void giga_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD7B4 */
|
||||
static void giga_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
giga_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD7C4 */
|
||||
static void giga_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -860,6 +882,7 @@ static void giga_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD7D4 */
|
||||
static void giga_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -890,6 +913,7 @@ static void giga_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD7E4 */
|
||||
static void giga_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -920,6 +944,7 @@ static void giga_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD7F4 */
|
||||
static void giga_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -950,26 +975,31 @@ static void giga_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD804 */
|
||||
static void giga_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD814 */
|
||||
static void giga_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD824 */
|
||||
static void giga_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD834 */
|
||||
static void giga_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD844 */
|
||||
static void giga_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -994,11 +1024,13 @@ static void giga_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD854 */
|
||||
static void giga_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD864 */
|
||||
static void giga_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1114,6 +1146,7 @@ static void giga_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD874 */
|
||||
static void giga_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1229,18 +1262,21 @@ static void giga_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD884 */
|
||||
static void giga_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
giga_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD894 */
|
||||
static void giga_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
giga_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD8A4 */
|
||||
static void giga_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1336,6 +1372,7 @@ static void giga_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD8B4 */
|
||||
static void giga_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1431,6 +1468,7 @@ static void giga_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD8F4 */
|
||||
static void giga_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1507,12 +1545,14 @@ static void giga_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD904 */
|
||||
static void giga_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
giga_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD914 */
|
||||
static void giga_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1591,12 +1631,14 @@ static void giga_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD924 */
|
||||
static void giga_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
giga_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD934 */
|
||||
static void giga_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1658,6 +1700,7 @@ static void giga_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD944 */
|
||||
static void giga_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1722,18 +1765,21 @@ static void giga_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD954 */
|
||||
static void giga_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
giga_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD964 */
|
||||
static void giga_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
giga_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD974 */
|
||||
static void giga_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1884,6 +1930,7 @@ static void giga_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD984 */
|
||||
static void giga_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2034,6 +2081,7 @@ static void giga_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD994 */
|
||||
static void giga_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2044,6 +2092,7 @@ static void giga_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uin
|
||||
giga_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD9A4 */
|
||||
static void giga_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2054,6 +2103,7 @@ static void giga_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, ui
|
||||
giga_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD9B4 */
|
||||
static void giga_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2282,6 +2332,7 @@ static void giga_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD9C4 */
|
||||
static void giga_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2516,6 +2567,7 @@ static void giga_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD9D4 */
|
||||
static void giga_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2526,6 +2578,7 @@ static void giga_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uin
|
||||
giga_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD9E4 */
|
||||
static void giga_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2536,6 +2589,7 @@ static void giga_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, ui
|
||||
giga_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA14 */
|
||||
static void giga_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2572,6 +2626,7 @@ static void giga_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD9F4 */
|
||||
static void giga_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2608,16 +2663,19 @@ static void giga_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA04 */
|
||||
static void giga_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA24 */
|
||||
static void giga_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA34 */
|
||||
static void giga_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2640,6 +2698,7 @@ static void giga_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 dir
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC84 */
|
||||
static void giga_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2668,6 +2727,7 @@ static void giga_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC94 */
|
||||
static void giga_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2696,6 +2756,7 @@ static void giga_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA44 */
|
||||
static void giga_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2730,16 +2791,19 @@ static void giga_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADCA4 */
|
||||
static void giga_rc_track_25_deg_down_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up_right_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADCB4 */
|
||||
static void giga_rc_track_25_deg_down_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up_left_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADED4 */
|
||||
static void giga_rc_track_flat_to_60_deg_up_long_base(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2921,6 +2985,7 @@ static void giga_rc_track_flat_to_60_deg_up_long_base(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADEE4 */
|
||||
static void giga_rc_track_60_deg_up_to_flat_long_base(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3022,16 +3087,19 @@ static void giga_rc_track_60_deg_up_to_flat_long_base(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADEF4 */
|
||||
static void giga_rc_track_flat_to_60_deg_down_long_base(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_flat_to_60_deg_up_long_base(rideIndex, 3 - trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADF04 */
|
||||
static void giga_rc_track_60_deg_up_to_flat_long_base122(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_60_deg_up_to_flat_long_base(rideIndex, 3 - trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADF14 */
|
||||
static void giga_rc_track_cable_lift_hill(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3144,6 +3212,7 @@ static void giga_rc_track_cable_lift_hill(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA64 */
|
||||
static void giga_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3234,6 +3303,7 @@ static void giga_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA74 */
|
||||
static void giga_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3324,18 +3394,21 @@ static void giga_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA84 */
|
||||
static void giga_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
giga_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA94 */
|
||||
static void giga_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
giga_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADAA4 */
|
||||
static void giga_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3426,6 +3499,7 @@ static void giga_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADAB4 */
|
||||
static void giga_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3516,18 +3590,21 @@ static void giga_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADAC4 */
|
||||
static void giga_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
giga_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADAD4 */
|
||||
static void giga_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
giga_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADA54 */
|
||||
static void giga_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3622,6 +3699,7 @@ static void giga_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB04 */
|
||||
static void giga_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3716,6 +3794,7 @@ static void giga_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB64 */
|
||||
static void giga_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3768,6 +3847,7 @@ static void giga_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADAE4 */
|
||||
static void giga_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3862,6 +3942,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB44 */
|
||||
static void giga_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3914,6 +3995,7 @@ static void giga_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB54 */
|
||||
static void giga_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3966,6 +4048,7 @@ static void giga_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADAF4 */
|
||||
static void giga_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4060,6 +4143,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB34 */
|
||||
static void giga_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4154,6 +4238,7 @@ static void giga_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB94 */
|
||||
static void giga_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4206,6 +4291,7 @@ static void giga_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB14 */
|
||||
static void giga_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4300,6 +4386,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB74 */
|
||||
static void giga_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4352,6 +4439,7 @@ static void giga_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB84 */
|
||||
static void giga_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4404,6 +4492,7 @@ static void giga_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB24 */
|
||||
static void giga_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4498,6 +4587,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADBC4 */
|
||||
static void giga_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4551,6 +4641,7 @@ static void giga_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADBD4 */
|
||||
static void giga_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4604,6 +4695,7 @@ static void giga_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADBE4 */
|
||||
static void giga_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4657,6 +4749,7 @@ static void giga_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADBF4 */
|
||||
static void giga_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4710,6 +4803,7 @@ static void giga_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC24 */
|
||||
static void giga_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4763,6 +4857,7 @@ static void giga_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC34 */
|
||||
static void giga_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4816,6 +4911,7 @@ static void giga_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC04 */
|
||||
static void giga_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4869,6 +4965,7 @@ static void giga_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC14 */
|
||||
static void giga_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4922,6 +5019,7 @@ static void giga_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC44 */
|
||||
static void giga_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4975,6 +5073,7 @@ static void giga_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC54 */
|
||||
static void giga_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5028,6 +5127,7 @@ static void giga_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC64 */
|
||||
static void giga_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5081,6 +5181,7 @@ static void giga_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC74 */
|
||||
static void giga_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5134,6 +5235,7 @@ static void giga_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADBA4 */
|
||||
static void giga_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5186,6 +5288,7 @@ static void giga_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADBB4 */
|
||||
static void giga_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5238,6 +5341,7 @@ static void giga_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADEC4 */
|
||||
static void giga_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5260,6 +5364,7 @@ static void giga_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADCC4 */
|
||||
static void giga_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5321,6 +5426,7 @@ static void giga_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADCD4 */
|
||||
static void giga_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5385,18 +5491,21 @@ static void giga_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADCE4 */
|
||||
static void giga_rc_track_left_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
giga_rc_track_right_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADCF4 */
|
||||
static void giga_rc_track_right_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
giga_rc_track_left_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD04 */
|
||||
static void giga_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5512,6 +5621,7 @@ static void giga_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD14 */
|
||||
static void giga_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5627,18 +5737,21 @@ static void giga_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD24 */
|
||||
static void giga_rc_track_left_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
giga_rc_track_right_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD34 */
|
||||
static void giga_rc_track_right_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
giga_rc_track_left_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD44 */
|
||||
static void giga_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5668,6 +5781,7 @@ static void giga_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD54 */
|
||||
static void giga_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5697,6 +5811,7 @@ static void giga_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD64 */
|
||||
static void giga_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5726,6 +5841,7 @@ static void giga_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD74 */
|
||||
static void giga_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5755,26 +5871,31 @@ static void giga_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD84 */
|
||||
static void giga_rc_track_25_deg_down_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_right_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADD94 */
|
||||
static void giga_rc_track_25_deg_down_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_left_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADDA4 */
|
||||
static void giga_rc_track_left_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADDB4 */
|
||||
static void giga_rc_track_right_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_25_deg_up_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADDC4 */
|
||||
static void giga_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5803,6 +5924,7 @@ static void giga_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rideIn
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADDD4 */
|
||||
static void giga_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5831,6 +5953,7 @@ static void giga_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 ride
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE04 */
|
||||
static void giga_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5859,6 +5982,7 @@ static void giga_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rideIn
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE14 */
|
||||
static void giga_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5887,26 +6011,31 @@ static void giga_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 ride
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE24 */
|
||||
static void giga_rc_track_left_banked_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_right_banked_25_deg_up_to_right_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE34 */
|
||||
static void giga_rc_track_right_banked_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_left_banked_25_deg_up_to_left_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADDE4 */
|
||||
static void giga_rc_track_left_banked_25_deg_down_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_right_banked_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADDF4 */
|
||||
static void giga_rc_track_right_banked_25_deg_down_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_left_banked_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE44 */
|
||||
static void giga_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5936,6 +6065,7 @@ static void giga_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE54 */
|
||||
static void giga_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5965,6 +6095,7 @@ static void giga_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE64 */
|
||||
static void giga_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5994,6 +6125,7 @@ static void giga_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE74 */
|
||||
static void giga_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6023,21 +6155,25 @@ static void giga_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE84 */
|
||||
static void giga_rc_track_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_right_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADE94 */
|
||||
static void giga_rc_track_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_left_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADEA4 */
|
||||
static void giga_rc_track_left_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADEB4 */
|
||||
static void giga_rc_track_right_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
giga_rc_track_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x0087694C */
|
||||
static void heartline_twister_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -90,6 +91,7 @@ static void heartline_twister_rc_track_station(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087695C */
|
||||
static void heartline_twister_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -148,6 +150,7 @@ static void heartline_twister_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008769FC */
|
||||
static void heartline_twister_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -206,6 +209,7 @@ static void heartline_twister_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087696C */
|
||||
static void heartline_twister_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -264,6 +268,7 @@ static void heartline_twister_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008769BC */
|
||||
static void heartline_twister_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -322,6 +327,7 @@ static void heartline_twister_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008769CC */
|
||||
static void heartline_twister_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -380,6 +386,7 @@ static void heartline_twister_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087697C */
|
||||
static void heartline_twister_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -438,36 +445,43 @@ static void heartline_twister_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087698C */
|
||||
static void heartline_twister_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
heartline_twister_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00876A0C */
|
||||
static void heartline_twister_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
heartline_twister_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087699C */
|
||||
static void heartline_twister_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
heartline_twister_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008769DC */
|
||||
static void heartline_twister_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
heartline_twister_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008769EC */
|
||||
static void heartline_twister_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
heartline_twister_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008769AC */
|
||||
static void heartline_twister_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
heartline_twister_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00876A6C */
|
||||
static void heartline_twister_rc_track_heartline_transfer_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -592,6 +606,7 @@ static void heartline_twister_rc_track_heartline_transfer_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00876A7C */
|
||||
static void heartline_twister_rc_track_heartline_transfer_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -716,6 +731,7 @@ static void heartline_twister_rc_track_heartline_transfer_down(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00876A4C */
|
||||
static void heartline_twister_rc_track_left_heartline_roll(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -880,6 +896,7 @@ static void heartline_twister_rc_track_left_heartline_roll(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00876A5C */
|
||||
static void heartline_twister_rc_track_right_heartline_roll(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x00890CB4 */
|
||||
static void inverted_hairpin_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -85,6 +86,7 @@ static void inverted_hairpin_rc_track_station(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890CC4 */
|
||||
static void inverted_hairpin_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -151,6 +153,7 @@ static void inverted_hairpin_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890CD4 */
|
||||
static void inverted_hairpin_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -193,6 +196,7 @@ static void inverted_hairpin_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890CE4 */
|
||||
static void inverted_hairpin_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -259,6 +263,7 @@ static void inverted_hairpin_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890CF4 */
|
||||
static void inverted_hairpin_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -305,6 +310,7 @@ static void inverted_hairpin_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D04 */
|
||||
static void inverted_hairpin_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -375,6 +381,7 @@ static void inverted_hairpin_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D14 */
|
||||
static void inverted_hairpin_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -441,36 +448,43 @@ static void inverted_hairpin_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D24 */
|
||||
static void inverted_hairpin_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D34 */
|
||||
static void inverted_hairpin_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D44 */
|
||||
static void inverted_hairpin_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D54 */
|
||||
static void inverted_hairpin_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D64 */
|
||||
static void inverted_hairpin_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D74 */
|
||||
static void inverted_hairpin_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890DB4 */
|
||||
static void inverted_hairpin_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -547,12 +561,14 @@ static void inverted_hairpin_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00890DC4 */
|
||||
static void inverted_hairpin_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_hairpin_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890DD4 */
|
||||
static void inverted_hairpin_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -614,6 +630,7 @@ static void inverted_hairpin_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00890DE4 */
|
||||
static void inverted_hairpin_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -675,18 +692,21 @@ static void inverted_hairpin_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00890DF4 */
|
||||
static void inverted_hairpin_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_hairpin_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E04 */
|
||||
static void inverted_hairpin_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_hairpin_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E64 */
|
||||
static void inverted_hairpin_rc_track_left_quarter_turn_1(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -720,11 +740,13 @@ static void inverted_hairpin_rc_track_left_quarter_turn_1(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E74 */
|
||||
static void inverted_hairpin_rc_track_right_quarter_turn_1(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_left_quarter_turn_1(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E24 */
|
||||
static void inverted_hairpin_rc_track_flat_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -771,6 +793,7 @@ static void inverted_hairpin_rc_track_flat_to_60_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E34 */
|
||||
static void inverted_hairpin_rc_track_60_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -825,16 +848,19 @@ static void inverted_hairpin_rc_track_60_deg_up_to_flat(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E44 */
|
||||
static void inverted_hairpin_rc_track_flat_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_60_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E54 */
|
||||
static void inverted_hairpin_rc_track_60_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_hairpin_rc_track_flat_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E14 */
|
||||
static void inverted_hairpin_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -855,6 +881,7 @@ static void inverted_hairpin_rc_track_brakes(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E84 */
|
||||
static void inverted_hairpin_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008B0460 */
|
||||
static void inverted_impulse_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -65,6 +66,7 @@ static void inverted_impulse_rc_track_station(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B04A0 */
|
||||
static void inverted_impulse_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -102,6 +104,7 @@ static void inverted_impulse_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B04B0 */
|
||||
static void inverted_impulse_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -127,6 +130,7 @@ static void inverted_impulse_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 120, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B04C0 */
|
||||
static void inverted_impulse_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -156,6 +160,7 @@ static void inverted_impulse_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B04D0 */
|
||||
static void inverted_impulse_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -183,6 +188,7 @@ static void inverted_impulse_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 88, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B04E0 */
|
||||
static void inverted_impulse_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -210,6 +216,7 @@ static void inverted_impulse_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 88, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B04F0 */
|
||||
static void inverted_impulse_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -239,36 +246,43 @@ static void inverted_impulse_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0500 */
|
||||
static void inverted_impulse_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0510 */
|
||||
static void inverted_impulse_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0520 */
|
||||
static void inverted_impulse_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0530 */
|
||||
static void inverted_impulse_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0540 */
|
||||
static void inverted_impulse_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0550 */
|
||||
static void inverted_impulse_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B05A0 */
|
||||
static void inverted_impulse_rc_track_90_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -296,11 +310,13 @@ static void inverted_impulse_rc_track_90_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B05B0 */
|
||||
static void inverted_impulse_rc_track_90_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_90_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0560 */
|
||||
static void inverted_impulse_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -331,11 +347,13 @@ static void inverted_impulse_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0570 */
|
||||
static void inverted_impulse_rc_track_90_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_60_deg_up_to_90_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0580 */
|
||||
static void inverted_impulse_rc_track_90_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -364,6 +382,7 @@ static void inverted_impulse_rc_track_90_deg_up_to_60_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 96, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0590 */
|
||||
static void inverted_impulse_rc_track_60_deg_down_to_90_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -393,6 +412,7 @@ static void inverted_impulse_rc_track_60_deg_down_to_90_deg_down(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B05C0 */
|
||||
static void inverted_impulse_rc_track_left_quarter_turn_1_90_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -423,6 +443,7 @@ static void inverted_impulse_rc_track_left_quarter_turn_1_90_deg_up(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B05D0 */
|
||||
static void inverted_impulse_rc_track_right_quarter_turn_1_90_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -453,11 +474,13 @@ static void inverted_impulse_rc_track_right_quarter_turn_1_90_deg_up(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B05E0 */
|
||||
static void inverted_impulse_rc_track_left_quarter_turn_1_90_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_right_quarter_turn_1_90_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B05F0 */
|
||||
static void inverted_impulse_rc_track_right_quarter_turn_1_90_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_impulse_rc_track_left_quarter_turn_1_90_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008A92E8 */
|
||||
static void inverted_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -81,6 +82,7 @@ static void inverted_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A92F8 */
|
||||
static void inverted_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -147,6 +149,7 @@ static void inverted_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9308 */
|
||||
static void inverted_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -172,6 +175,7 @@ static void inverted_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 120, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9318 */
|
||||
static void inverted_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -238,6 +242,7 @@ static void inverted_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9328 */
|
||||
static void inverted_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -265,6 +270,7 @@ static void inverted_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 88, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9338 */
|
||||
static void inverted_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -304,6 +310,7 @@ static void inverted_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 88, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9348 */
|
||||
static void inverted_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -370,36 +377,43 @@ static void inverted_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9358 */
|
||||
static void inverted_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9368 */
|
||||
static void inverted_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9378 */
|
||||
static void inverted_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9388 */
|
||||
static void inverted_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9398 */
|
||||
static void inverted_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A93A8 */
|
||||
static void inverted_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A93B8 */
|
||||
static void inverted_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -515,12 +529,14 @@ static void inverted_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A93C8 */
|
||||
static void inverted_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
inverted_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A93D8 */
|
||||
static void inverted_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -545,6 +561,7 @@ static void inverted_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A93E8 */
|
||||
static void inverted_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -569,6 +586,7 @@ static void inverted_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A93F8 */
|
||||
static void inverted_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -593,6 +611,7 @@ static void inverted_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9408 */
|
||||
static void inverted_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -617,6 +636,7 @@ static void inverted_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9418 */
|
||||
static void inverted_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -732,12 +752,14 @@ static void inverted_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9428 */
|
||||
static void inverted_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
inverted_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9438 */
|
||||
static void inverted_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -775,6 +797,7 @@ static void inverted_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9448 */
|
||||
static void inverted_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -812,6 +835,7 @@ static void inverted_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9458 */
|
||||
static void inverted_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -849,6 +873,7 @@ static void inverted_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9468 */
|
||||
static void inverted_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -886,26 +911,31 @@ static void inverted_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9478 */
|
||||
static void inverted_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9488 */
|
||||
static void inverted_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9498 */
|
||||
static void inverted_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A94A8 */
|
||||
static void inverted_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A94B8 */
|
||||
static void inverted_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -930,11 +960,13 @@ static void inverted_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A94C8 */
|
||||
static void inverted_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A94D8 */
|
||||
static void inverted_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1050,6 +1082,7 @@ static void inverted_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A94E8 */
|
||||
static void inverted_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1165,18 +1198,21 @@ static void inverted_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A94F8 */
|
||||
static void inverted_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
inverted_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9508 */
|
||||
static void inverted_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
inverted_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9518 */
|
||||
static void inverted_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1272,6 +1308,7 @@ static void inverted_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9528 */
|
||||
static void inverted_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1367,6 +1404,7 @@ static void inverted_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9538 */
|
||||
static void inverted_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1542,6 +1580,7 @@ static void inverted_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9548 */
|
||||
static void inverted_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1717,6 +1756,7 @@ static void inverted_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9588 */
|
||||
static void inverted_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1793,12 +1833,14 @@ static void inverted_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9598 */
|
||||
static void inverted_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A95A8 */
|
||||
static void inverted_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1875,12 +1917,14 @@ static void inverted_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A95B8 */
|
||||
static void inverted_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A95C8 */
|
||||
static void inverted_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1942,6 +1986,7 @@ static void inverted_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A95D8 */
|
||||
static void inverted_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2003,18 +2048,21 @@ static void inverted_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A95E8 */
|
||||
static void inverted_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A95F8 */
|
||||
static void inverted_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9608 */
|
||||
static void inverted_rc_track_left_twist_down_to_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2088,6 +2136,7 @@ static void inverted_rc_track_left_twist_down_to_up(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9618 */
|
||||
static void inverted_rc_track_right_twist_down_to_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2161,6 +2210,7 @@ static void inverted_rc_track_right_twist_down_to_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9628 */
|
||||
static void inverted_rc_track_left_twist_up_to_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2234,6 +2284,7 @@ static void inverted_rc_track_left_twist_up_to_down(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9638 */
|
||||
static void inverted_rc_track_right_twist_up_to_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2307,6 +2358,7 @@ static void inverted_rc_track_right_twist_up_to_down(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9648 */
|
||||
static void inverted_rc_track_half_loop_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2395,11 +2447,13 @@ static void inverted_rc_track_half_loop_up(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9658 */
|
||||
static void inverted_rc_track_half_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_half_loop_up(rideIndex, 3 - trackSequence, direction, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9668 */
|
||||
static void inverted_rc_track_left_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2473,6 +2527,7 @@ static void inverted_rc_track_left_corkscrew_up(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9678 */
|
||||
static void inverted_rc_track_right_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2546,16 +2601,19 @@ static void inverted_rc_track_right_corkscrew_up(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9688 */
|
||||
static void inverted_rc_track_left_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_right_corkscrew_up(rideIndex, 2 - trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9698 */
|
||||
static void inverted_rc_track_right_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_corkscrew_up(rideIndex, 2 - trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A96D8 */
|
||||
static void inverted_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2592,6 +2650,7 @@ static void inverted_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uin
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A96B8 */
|
||||
static void inverted_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2628,16 +2687,19 @@ static void inverted_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A96C8 */
|
||||
static void inverted_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A96E8 */
|
||||
static void inverted_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A96A8 */
|
||||
static void inverted_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2658,6 +2720,7 @@ static void inverted_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A96F8 */
|
||||
static void inverted_rc_track_left_quarter_banked_helix_large_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2773,6 +2836,7 @@ static void inverted_rc_track_left_quarter_banked_helix_large_up(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9708 */
|
||||
static void inverted_rc_track_right_quarter_banked_helix_large_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2888,6 +2952,7 @@ static void inverted_rc_track_right_quarter_banked_helix_large_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9718 */
|
||||
static void inverted_rc_track_left_quarter_banked_helix_large_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3003,6 +3068,7 @@ static void inverted_rc_track_left_quarter_banked_helix_large_down(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9728 */
|
||||
static void inverted_rc_track_right_quarter_banked_helix_large_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3118,6 +3184,7 @@ static void inverted_rc_track_right_quarter_banked_helix_large_down(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A38 */
|
||||
static void inverted_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3155,6 +3222,7 @@ static void inverted_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A48 */
|
||||
static void inverted_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3192,6 +3260,7 @@ static void inverted_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9738 */
|
||||
static void inverted_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3226,16 +3295,19 @@ static void inverted_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A58 */
|
||||
static void inverted_rc_track_25_deg_down_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up_right_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A68 */
|
||||
static void inverted_rc_track_25_deg_down_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up_left_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9748 */
|
||||
static void inverted_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3326,6 +3398,7 @@ static void inverted_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9758 */
|
||||
static void inverted_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3416,18 +3489,21 @@ static void inverted_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9768 */
|
||||
static void inverted_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
inverted_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9778 */
|
||||
static void inverted_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
inverted_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9938 */
|
||||
static void inverted_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3518,6 +3594,7 @@ static void inverted_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9948 */
|
||||
static void inverted_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3608,18 +3685,21 @@ static void inverted_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9958 */
|
||||
static void inverted_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
inverted_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9968 */
|
||||
static void inverted_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
inverted_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9788 */
|
||||
static void inverted_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3714,6 +3794,7 @@ static void inverted_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A97B8 */
|
||||
static void inverted_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3808,6 +3889,7 @@ static void inverted_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9818 */
|
||||
static void inverted_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3860,6 +3942,7 @@ static void inverted_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9798 */
|
||||
static void inverted_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3954,6 +4037,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A97F8 */
|
||||
static void inverted_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4006,6 +4090,7 @@ static void inverted_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9808 */
|
||||
static void inverted_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4058,6 +4143,7 @@ static void inverted_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A97A8 */
|
||||
static void inverted_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4152,6 +4238,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A97E8 */
|
||||
static void inverted_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4246,6 +4333,7 @@ static void inverted_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9848 */
|
||||
static void inverted_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4298,6 +4386,7 @@ static void inverted_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A97C8 */
|
||||
static void inverted_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4392,6 +4481,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9828 */
|
||||
static void inverted_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4444,6 +4534,7 @@ static void inverted_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9838 */
|
||||
static void inverted_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4496,6 +4587,7 @@ static void inverted_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A97D8 */
|
||||
static void inverted_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4590,6 +4682,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9878 */
|
||||
static void inverted_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4642,6 +4735,7 @@ static void inverted_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9888 */
|
||||
static void inverted_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4694,6 +4788,7 @@ static void inverted_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9898 */
|
||||
static void inverted_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4746,6 +4841,7 @@ static void inverted_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A98A8 */
|
||||
static void inverted_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4798,6 +4894,7 @@ static void inverted_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A98D8 */
|
||||
static void inverted_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4850,6 +4947,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A98E8 */
|
||||
static void inverted_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4902,6 +5000,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A98B8 */
|
||||
static void inverted_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4954,6 +5053,7 @@ static void inverted_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A98C8 */
|
||||
static void inverted_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5006,6 +5106,7 @@ static void inverted_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A98F8 */
|
||||
static void inverted_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5058,6 +5159,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9908 */
|
||||
static void inverted_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5110,6 +5212,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9918 */
|
||||
static void inverted_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5162,6 +5265,7 @@ static void inverted_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9928 */
|
||||
static void inverted_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5214,6 +5318,7 @@ static void inverted_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9858 */
|
||||
static void inverted_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5266,6 +5371,7 @@ static void inverted_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9868 */
|
||||
static void inverted_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5318,6 +5424,7 @@ static void inverted_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9978 */
|
||||
static void inverted_rc_track_left_large_half_loop_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5460,6 +5567,7 @@ static void inverted_rc_track_left_large_half_loop_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9988 */
|
||||
static void inverted_rc_track_right_large_half_loop_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5602,16 +5710,19 @@ static void inverted_rc_track_right_large_half_loop_up(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9998 */
|
||||
static void inverted_rc_track_right_large_half_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_right_large_half_loop_up(rideIndex, 6 - trackSequence, direction, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A99A8 */
|
||||
static void inverted_rc_track_left_large_half_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_large_half_loop_up(rideIndex, 6 - trackSequence, direction, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A96A8 */
|
||||
static void inverted_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5632,6 +5743,7 @@ static void inverted_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A78 */
|
||||
static void inverted_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5693,6 +5805,7 @@ static void inverted_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A88 */
|
||||
static void inverted_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5754,18 +5867,21 @@ static void inverted_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A98 */
|
||||
static void inverted_rc_track_left_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_rc_track_right_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9AA8 */
|
||||
static void inverted_rc_track_right_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
inverted_rc_track_left_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9BB8 */
|
||||
static void inverted_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5881,6 +5997,7 @@ static void inverted_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9BC8 */
|
||||
static void inverted_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5996,18 +6113,21 @@ static void inverted_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9BD8 */
|
||||
static void inverted_rc_track_left_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
inverted_rc_track_right_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9BE8 */
|
||||
static void inverted_rc_track_right_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
inverted_rc_track_left_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9AB8 */
|
||||
static void inverted_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6045,6 +6165,7 @@ static void inverted_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9AC8 */
|
||||
static void inverted_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6082,6 +6203,7 @@ static void inverted_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideInde
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9AD8 */
|
||||
static void inverted_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6119,6 +6241,7 @@ static void inverted_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9AE8 */
|
||||
static void inverted_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6156,26 +6279,31 @@ static void inverted_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideInde
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9AF8 */
|
||||
static void inverted_rc_track_25_deg_down_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_right_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B08 */
|
||||
static void inverted_rc_track_25_deg_down_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B18 */
|
||||
static void inverted_rc_track_left_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B28 */
|
||||
static void inverted_rc_track_right_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_25_deg_up_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B38 */
|
||||
static void inverted_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6213,6 +6341,7 @@ static void inverted_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 ri
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B48 */
|
||||
static void inverted_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6250,6 +6379,7 @@ static void inverted_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B58 */
|
||||
static void inverted_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6287,6 +6417,7 @@ static void inverted_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 ri
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B68 */
|
||||
static void inverted_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6324,26 +6455,31 @@ static void inverted_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B78 */
|
||||
static void inverted_rc_track_left_banked_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_right_banked_25_deg_up_to_right_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B88 */
|
||||
static void inverted_rc_track_right_banked_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_banked_25_deg_up_to_left_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9B98 */
|
||||
static void inverted_rc_track_left_banked_25_deg_down_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_right_banked_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9BA8 */
|
||||
static void inverted_rc_track_right_banked_25_deg_down_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_banked_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A99B8 */
|
||||
static void inverted_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6381,6 +6517,7 @@ static void inverted_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uin
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A99C8 */
|
||||
static void inverted_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6418,6 +6555,7 @@ static void inverted_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A99D8 */
|
||||
static void inverted_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6455,6 +6593,7 @@ static void inverted_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uin
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A99E8 */
|
||||
static void inverted_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6492,21 +6631,25 @@ static void inverted_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A99F8 */
|
||||
static void inverted_rc_track_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_right_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A08 */
|
||||
static void inverted_rc_track_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_left_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A18 */
|
||||
static void inverted_rc_track_left_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A9A28 */
|
||||
static void inverted_rc_track_right_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
inverted_rc_track_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x0082491C */
|
||||
static void lay_down_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -123,6 +124,7 @@ static void lay_down_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0082492C */
|
||||
static void lay_down_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -236,6 +238,7 @@ static void lay_down_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0082493C */
|
||||
static void lay_down_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -308,6 +311,7 @@ static void lay_down_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0082494C */
|
||||
static void lay_down_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -421,6 +425,7 @@ static void lay_down_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0082495C */
|
||||
static void lay_down_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -499,6 +504,7 @@ static void lay_down_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0082496C */
|
||||
static void lay_down_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -589,6 +595,7 @@ static void lay_down_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0082497C */
|
||||
static void lay_down_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -702,36 +709,43 @@ static void lay_down_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0082498C */
|
||||
static void lay_down_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0082499C */
|
||||
static void lay_down_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008249AC */
|
||||
static void lay_down_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008249BC */
|
||||
static void lay_down_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008249CC */
|
||||
static void lay_down_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008249DC */
|
||||
static void lay_down_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008249EC */
|
||||
static void lay_down_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -961,12 +975,14 @@ static void lay_down_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008249FC */
|
||||
static void lay_down_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
lay_down_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A0C */
|
||||
static void lay_down_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1016,6 +1032,7 @@ static void lay_down_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A1C */
|
||||
static void lay_down_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1065,6 +1082,7 @@ static void lay_down_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A2C */
|
||||
static void lay_down_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1114,6 +1132,7 @@ static void lay_down_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A3C */
|
||||
static void lay_down_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1163,6 +1182,7 @@ static void lay_down_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A4C */
|
||||
static void lay_down_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1394,12 +1414,14 @@ static void lay_down_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A5C */
|
||||
static void lay_down_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
lay_down_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A6C */
|
||||
static void lay_down_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1466,6 +1488,7 @@ static void lay_down_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A7C */
|
||||
static void lay_down_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1532,6 +1555,7 @@ static void lay_down_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A8C */
|
||||
static void lay_down_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1598,6 +1622,7 @@ static void lay_down_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A9C */
|
||||
static void lay_down_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1664,26 +1689,31 @@ static void lay_down_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824AAC */
|
||||
static void lay_down_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824ABC */
|
||||
static void lay_down_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824ACC */
|
||||
static void lay_down_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824ADC */
|
||||
static void lay_down_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824AEC */
|
||||
static void lay_down_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1731,11 +1761,13 @@ static void lay_down_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824AFC */
|
||||
static void lay_down_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B0C */
|
||||
static void lay_down_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1965,6 +1997,7 @@ static void lay_down_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B1C */
|
||||
static void lay_down_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2194,18 +2227,21 @@ static void lay_down_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B2C */
|
||||
static void lay_down_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
lay_down_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B3C */
|
||||
static void lay_down_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
lay_down_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B4C */
|
||||
static void lay_down_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2395,6 +2431,7 @@ static void lay_down_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B5C */
|
||||
static void lay_down_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2584,6 +2621,7 @@ static void lay_down_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B6C */
|
||||
static void lay_down_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2949,6 +2987,7 @@ static void lay_down_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B7C */
|
||||
static void lay_down_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3302,6 +3341,7 @@ static void lay_down_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824BBC */
|
||||
static void lay_down_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3453,12 +3493,14 @@ static void lay_down_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824BCC */
|
||||
static void lay_down_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
lay_down_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824BDC */
|
||||
static void lay_down_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3612,12 +3654,14 @@ static void lay_down_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824BEC */
|
||||
static void lay_down_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
lay_down_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824BFC */
|
||||
static void lay_down_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3739,6 +3783,7 @@ static void lay_down_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C0C */
|
||||
static void lay_down_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3863,18 +3908,21 @@ static void lay_down_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C1C */
|
||||
static void lay_down_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
lay_down_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C2C */
|
||||
static void lay_down_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
lay_down_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C9C */
|
||||
static void lay_down_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4174,6 +4222,7 @@ static void lay_down_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824CAC */
|
||||
static void lay_down_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4473,6 +4522,7 @@ static void lay_down_rc_track_right_half_banked_helix_up_small(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824CBC */
|
||||
static void lay_down_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -4483,6 +4533,7 @@ static void lay_down_rc_track_left_half_banked_helix_down_small(uint8 rideIndex,
|
||||
lay_down_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824CCC */
|
||||
static void lay_down_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -4493,6 +4544,7 @@ static void lay_down_rc_track_right_half_banked_helix_down_small(uint8 rideIndex
|
||||
lay_down_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824CDC */
|
||||
static void lay_down_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4948,6 +5000,7 @@ static void lay_down_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824CEC */
|
||||
static void lay_down_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5403,6 +5456,7 @@ static void lay_down_rc_track_right_half_banked_helix_up_large(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824CFC */
|
||||
static void lay_down_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -5413,6 +5467,7 @@ static void lay_down_rc_track_left_half_banked_helix_down_large(uint8 rideIndex,
|
||||
lay_down_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D0C */
|
||||
static void lay_down_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -5423,6 +5478,7 @@ static void lay_down_rc_track_right_half_banked_helix_down_large(uint8 rideIndex
|
||||
lay_down_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D3C */
|
||||
static void lay_down_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5494,6 +5550,7 @@ static void lay_down_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D1C */
|
||||
static void lay_down_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5565,16 +5622,19 @@ static void lay_down_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D2C */
|
||||
static void lay_down_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D4C */
|
||||
static void lay_down_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
lay_down_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D5C */
|
||||
static void lay_down_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5614,6 +5674,7 @@ static void lay_down_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D6C */
|
||||
static void lay_down_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5686,6 +5747,7 @@ static void lay_down_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D8C */
|
||||
static void lay_down_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5865,6 +5927,7 @@ static void lay_down_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D9C */
|
||||
static void lay_down_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6044,18 +6107,21 @@ static void lay_down_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824DAC */
|
||||
static void lay_down_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
lay_down_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824DBC */
|
||||
static void lay_down_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
lay_down_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824DCC */
|
||||
static void lay_down_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6235,6 +6301,7 @@ static void lay_down_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824DDC */
|
||||
static void lay_down_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6414,18 +6481,21 @@ static void lay_down_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824DEC */
|
||||
static void lay_down_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
lay_down_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824DFC */
|
||||
static void lay_down_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
lay_down_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D7C */
|
||||
static void lay_down_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6613,6 +6683,7 @@ static void lay_down_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E2C */
|
||||
static void lay_down_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6800,6 +6871,7 @@ static void lay_down_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E8C */
|
||||
static void lay_down_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6945,6 +7017,7 @@ static void lay_down_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E0C */
|
||||
static void lay_down_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7132,6 +7205,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E6C */
|
||||
static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7277,6 +7351,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E7C */
|
||||
static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7422,6 +7497,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E1C */
|
||||
static void lay_down_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7609,6 +7685,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E5C */
|
||||
static void lay_down_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7754,6 +7831,7 @@ static void lay_down_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824EBC */
|
||||
static void lay_down_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7899,6 +7977,7 @@ static void lay_down_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E3C */
|
||||
static void lay_down_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8044,6 +8123,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E9C */
|
||||
static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8189,6 +8269,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824EAC */
|
||||
static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8334,6 +8415,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824E4C */
|
||||
static void lay_down_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8479,6 +8561,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824EEC */
|
||||
static void lay_down_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8583,6 +8666,7 @@ static void lay_down_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824EFC */
|
||||
static void lay_down_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8687,6 +8771,7 @@ static void lay_down_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F0C */
|
||||
static void lay_down_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8791,6 +8876,7 @@ static void lay_down_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F1C */
|
||||
static void lay_down_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8895,6 +8981,7 @@ static void lay_down_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F4C */
|
||||
static void lay_down_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8999,6 +9086,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F5C */
|
||||
static void lay_down_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9103,6 +9191,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F2C */
|
||||
static void lay_down_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9207,6 +9296,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F3C */
|
||||
static void lay_down_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9311,6 +9401,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F6C */
|
||||
static void lay_down_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9415,6 +9506,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F7C */
|
||||
static void lay_down_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9519,6 +9611,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F8C */
|
||||
static void lay_down_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9623,6 +9716,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824F9C */
|
||||
static void lay_down_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9727,6 +9821,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824ECC */
|
||||
static void lay_down_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9830,6 +9925,7 @@ static void lay_down_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824EDC */
|
||||
static void lay_down_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9933,6 +10029,7 @@ static void lay_down_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824FAC */
|
||||
static void lay_down_rc_track_left_flyer_twist_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10078,6 +10175,7 @@ static void lay_down_rc_track_left_flyer_twist_up(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824FBC */
|
||||
static void lay_down_rc_track_right_flyer_twist_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10223,6 +10321,7 @@ static void lay_down_rc_track_right_flyer_twist_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824FCC */
|
||||
static void lay_down_rc_track_left_flyer_twist_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10368,6 +10467,7 @@ static void lay_down_rc_track_left_flyer_twist_down(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824FDC */
|
||||
static void lay_down_rc_track_right_flyer_twist_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10513,6 +10613,7 @@ static void lay_down_rc_track_right_flyer_twist_down(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C3C */
|
||||
static void lay_down_rc_track_flyer_half_loop_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10690,6 +10791,7 @@ static void lay_down_rc_track_flyer_half_loop_up(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C4C */
|
||||
static void lay_down_rc_track_flyer_half_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -10867,6 +10969,7 @@ static void lay_down_rc_track_flyer_half_loop_down(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C5C */
|
||||
static void lay_down_rc_track_left_flyer_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11012,6 +11115,7 @@ static void lay_down_rc_track_left_flyer_corkscrew_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C6C */
|
||||
static void lay_down_rc_track_right_flyer_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11157,6 +11261,7 @@ static void lay_down_rc_track_right_flyer_corkscrew_up(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C7C */
|
||||
static void lay_down_rc_track_left_flyer_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11302,6 +11407,7 @@ static void lay_down_rc_track_left_flyer_corkscrew_down(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824C8C */
|
||||
static void lay_down_rc_track_right_flyer_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -11447,6 +11553,7 @@ static void lay_down_rc_track_right_flyer_corkscrew_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00824FEC */
|
||||
static void lay_down_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008A6370 */
|
||||
static void looping_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -84,6 +85,7 @@ static void looping_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6380 */
|
||||
static void looping_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -132,6 +134,7 @@ static void looping_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6390 */
|
||||
static void looping_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -180,6 +183,7 @@ static void looping_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A63A0 */
|
||||
static void looping_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -228,6 +232,7 @@ static void looping_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A63B0 */
|
||||
static void looping_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -280,6 +285,7 @@ static void looping_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A63C0 */
|
||||
static void looping_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -332,6 +338,7 @@ static void looping_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A63D0 */
|
||||
static void looping_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -380,36 +387,43 @@ static void looping_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A63E0 */
|
||||
static void looping_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A63F0 */
|
||||
static void looping_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6400 */
|
||||
static void looping_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6410 */
|
||||
static void looping_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6420 */
|
||||
static void looping_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6430 */
|
||||
static void looping_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6440 */
|
||||
static void looping_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -525,12 +539,14 @@ static void looping_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6450 */
|
||||
static void looping_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
looping_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6460 */
|
||||
static void looping_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -557,6 +573,7 @@ static void looping_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6470 */
|
||||
static void looping_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -583,6 +600,7 @@ static void looping_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6480 */
|
||||
static void looping_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -609,6 +627,7 @@ static void looping_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6490 */
|
||||
static void looping_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -635,6 +654,7 @@ static void looping_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A64A0 */
|
||||
static void looping_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -752,12 +772,14 @@ static void looping_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A64B0 */
|
||||
static void looping_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
looping_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A64C0 */
|
||||
static void looping_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -788,6 +810,7 @@ static void looping_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A64D0 */
|
||||
static void looping_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -818,6 +841,7 @@ static void looping_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A64E0 */
|
||||
static void looping_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -848,6 +872,7 @@ static void looping_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A64F0 */
|
||||
static void looping_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -878,26 +903,31 @@ static void looping_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6500 */
|
||||
static void looping_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6510 */
|
||||
static void looping_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6520 */
|
||||
static void looping_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6530 */
|
||||
static void looping_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6540 */
|
||||
static void looping_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -922,11 +952,13 @@ static void looping_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6550 */
|
||||
static void looping_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6560 */
|
||||
static void looping_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1042,6 +1074,7 @@ static void looping_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6570 */
|
||||
static void looping_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1157,18 +1190,21 @@ static void looping_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6580 */
|
||||
static void looping_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
looping_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6590 */
|
||||
static void looping_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
looping_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A65A0 */
|
||||
static void looping_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1264,6 +1300,7 @@ static void looping_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A65B0 */
|
||||
static void looping_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1359,6 +1396,7 @@ static void looping_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A65C0 */
|
||||
static void looping_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1542,6 +1580,7 @@ static void looping_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A65D0 */
|
||||
static void looping_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1725,6 +1764,7 @@ static void looping_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6630 */
|
||||
static void looping_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1801,12 +1841,14 @@ static void looping_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6640 */
|
||||
static void looping_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
looping_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6650 */
|
||||
static void looping_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1885,12 +1927,14 @@ static void looping_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6660 */
|
||||
static void looping_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
looping_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6670 */
|
||||
static void looping_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1952,6 +1996,7 @@ static void looping_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6680 */
|
||||
static void looping_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2016,18 +2061,21 @@ static void looping_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6690 */
|
||||
static void looping_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
looping_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A66A0 */
|
||||
static void looping_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
looping_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A66B0 */
|
||||
static void looping_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2178,6 +2226,7 @@ static void looping_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A66C0 */
|
||||
static void looping_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2328,6 +2377,7 @@ static void looping_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A66D0 */
|
||||
static void looping_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2338,6 +2388,7 @@ static void looping_rc_track_left_half_banked_helix_down_small(uint8 rideIndex,
|
||||
looping_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A66E0 */
|
||||
static void looping_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2348,6 +2399,7 @@ static void looping_rc_track_right_half_banked_helix_down_small(uint8 rideIndex,
|
||||
looping_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A66F0 */
|
||||
static void looping_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2576,6 +2628,7 @@ static void looping_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6700 */
|
||||
static void looping_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2804,6 +2857,7 @@ static void looping_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6710 */
|
||||
static void looping_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2814,6 +2868,7 @@ static void looping_rc_track_left_half_banked_helix_down_large(uint8 rideIndex,
|
||||
looping_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6720 */
|
||||
static void looping_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2824,6 +2879,7 @@ static void looping_rc_track_right_half_banked_helix_down_large(uint8 rideIndex,
|
||||
looping_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6750 */
|
||||
static void looping_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2860,6 +2916,7 @@ static void looping_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6730 */
|
||||
static void looping_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2896,16 +2953,19 @@ static void looping_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uin
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6740 */
|
||||
static void looping_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6760 */
|
||||
static void looping_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6770 */
|
||||
static void looping_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2928,6 +2988,7 @@ static void looping_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A40 */
|
||||
static void looping_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2956,6 +3017,7 @@ static void looping_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A50 */
|
||||
static void looping_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2984,6 +3046,7 @@ static void looping_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6780 */
|
||||
static void looping_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3018,16 +3081,19 @@ static void looping_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A60 */
|
||||
static void looping_rc_track_25_deg_down_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up_right_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A70 */
|
||||
static void looping_rc_track_25_deg_down_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up_left_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6860 */
|
||||
static void looping_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3118,6 +3184,7 @@ static void looping_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6870 */
|
||||
static void looping_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3208,18 +3275,21 @@ static void looping_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6880 */
|
||||
static void looping_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
looping_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6890 */
|
||||
static void looping_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
looping_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A68A0 */
|
||||
static void looping_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3310,6 +3380,7 @@ static void looping_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A68B0 */
|
||||
static void looping_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3400,18 +3471,21 @@ static void looping_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A68C0 */
|
||||
static void looping_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
looping_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A68D0 */
|
||||
static void looping_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
looping_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6790 */
|
||||
static void looping_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3506,6 +3580,7 @@ static void looping_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A67C0 */
|
||||
static void looping_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3600,6 +3675,7 @@ static void looping_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A67F0 */
|
||||
static void looping_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3694,6 +3770,7 @@ static void looping_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A67A0 */
|
||||
static void looping_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3788,6 +3865,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A67D0 */
|
||||
static void looping_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3882,6 +3960,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A67E0 */
|
||||
static void looping_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3976,6 +4055,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A67B0 */
|
||||
static void looping_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4070,6 +4150,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6820 */
|
||||
static void looping_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4164,6 +4245,7 @@ static void looping_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6850 */
|
||||
static void looping_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4258,6 +4340,7 @@ static void looping_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6800 */
|
||||
static void looping_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4352,6 +4435,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6830 */
|
||||
static void looping_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4446,6 +4530,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6840 */
|
||||
static void looping_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4540,6 +4625,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6810 */
|
||||
static void looping_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4634,6 +4720,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6900 */
|
||||
static void looping_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4687,6 +4774,7 @@ static void looping_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6910 */
|
||||
static void looping_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4740,6 +4828,7 @@ static void looping_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6920 */
|
||||
static void looping_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4793,6 +4882,7 @@ static void looping_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6930 */
|
||||
static void looping_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4846,6 +4936,7 @@ static void looping_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6960 */
|
||||
static void looping_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4899,6 +4990,7 @@ static void looping_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6970 */
|
||||
static void looping_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4952,6 +5044,7 @@ static void looping_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6940 */
|
||||
static void looping_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5005,6 +5098,7 @@ static void looping_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6950 */
|
||||
static void looping_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5058,6 +5152,7 @@ static void looping_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6980 */
|
||||
static void looping_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5111,6 +5206,7 @@ static void looping_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6990 */
|
||||
static void looping_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5164,6 +5260,7 @@ static void looping_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A69A0 */
|
||||
static void looping_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5217,6 +5314,7 @@ static void looping_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A69B0 */
|
||||
static void looping_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5270,6 +5368,7 @@ static void looping_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A68E0 */
|
||||
static void looping_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5322,6 +5421,7 @@ static void looping_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A68F0 */
|
||||
static void looping_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5374,6 +5474,7 @@ static void looping_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6C00 */
|
||||
static void looping_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5396,6 +5497,7 @@ static void looping_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6BC0 */
|
||||
static void looping_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5457,6 +5559,7 @@ static void looping_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6BD0 */
|
||||
static void looping_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5521,18 +5624,21 @@ static void looping_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6BE0 */
|
||||
static void looping_rc_track_left_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
looping_rc_track_right_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6BF0 */
|
||||
static void looping_rc_track_right_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
looping_rc_track_left_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B80 */
|
||||
static void looping_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5648,6 +5754,7 @@ static void looping_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B90 */
|
||||
static void looping_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5763,18 +5870,21 @@ static void looping_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6BA0 */
|
||||
static void looping_rc_track_left_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
looping_rc_track_right_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6BB0 */
|
||||
static void looping_rc_track_right_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
looping_rc_track_left_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A80 */
|
||||
static void looping_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5804,6 +5914,7 @@ static void looping_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex,
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A90 */
|
||||
static void looping_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5833,6 +5944,7 @@ static void looping_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6AA0 */
|
||||
static void looping_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5862,6 +5974,7 @@ static void looping_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex,
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6AB0 */
|
||||
static void looping_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5891,26 +6004,31 @@ static void looping_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6AC0 */
|
||||
static void looping_rc_track_25_deg_down_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_right_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6AD0 */
|
||||
static void looping_rc_track_25_deg_down_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_left_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6AE0 */
|
||||
static void looping_rc_track_left_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6AF0 */
|
||||
static void looping_rc_track_right_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_25_deg_up_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B00 */
|
||||
static void looping_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5939,6 +6057,7 @@ static void looping_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rid
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B10 */
|
||||
static void looping_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5967,6 +6086,7 @@ static void looping_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 r
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B40 */
|
||||
static void looping_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5995,6 +6115,7 @@ static void looping_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rid
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B50 */
|
||||
static void looping_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6023,26 +6144,31 @@ static void looping_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 r
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B60 */
|
||||
static void looping_rc_track_left_banked_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_right_banked_25_deg_up_to_right_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B70 */
|
||||
static void looping_rc_track_right_banked_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_left_banked_25_deg_up_to_left_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B20 */
|
||||
static void looping_rc_track_left_banked_25_deg_down_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_right_banked_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6B30 */
|
||||
static void looping_rc_track_right_banked_25_deg_down_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_left_banked_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A69C0 */
|
||||
static void looping_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6072,6 +6198,7 @@ static void looping_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A69D0 */
|
||||
static void looping_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6101,6 +6228,7 @@ static void looping_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uin
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A69E0 */
|
||||
static void looping_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6130,6 +6258,7 @@ static void looping_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A69F0 */
|
||||
static void looping_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -6159,21 +6288,25 @@ static void looping_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uin
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A00 */
|
||||
static void looping_rc_track_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_right_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A10 */
|
||||
static void looping_rc_track_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_left_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A20 */
|
||||
static void looping_rc_track_left_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A30 */
|
||||
static void looping_rc_track_right_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
looping_rc_track_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008B08D0 */
|
||||
static void mine_ride_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -67,6 +68,7 @@ static void mine_ride_track_station(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B08E0 */
|
||||
static void mine_ride_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -104,6 +106,7 @@ static void mine_ride_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B08F0 */
|
||||
static void mine_ride_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -141,6 +144,7 @@ static void mine_ride_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0900 */
|
||||
static void mine_ride_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -178,21 +182,25 @@ static void mine_ride_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0910 */
|
||||
static void mine_ride_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_ride_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0920 */
|
||||
static void mine_ride_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_ride_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0930 */
|
||||
static void mine_ride_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_ride_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0940 */
|
||||
static void mine_ride_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -314,12 +322,14 @@ static void mine_ride_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0950 */
|
||||
static void mine_ride_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mine_ride_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0960 */
|
||||
static void mine_ride_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -355,6 +365,7 @@ static void mine_ride_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0970 */
|
||||
static void mine_ride_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -390,6 +401,7 @@ static void mine_ride_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0980 */
|
||||
static void mine_ride_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -425,6 +437,7 @@ static void mine_ride_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0990 */
|
||||
static void mine_ride_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -460,6 +473,7 @@ static void mine_ride_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B09A0 */
|
||||
static void mine_ride_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -583,12 +597,14 @@ static void mine_ride_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B09B0 */
|
||||
static void mine_ride_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mine_ride_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B09C0 */
|
||||
static void mine_ride_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -628,6 +644,7 @@ static void mine_ride_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B09D0 */
|
||||
static void mine_ride_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -667,6 +684,7 @@ static void mine_ride_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B09E0 */
|
||||
static void mine_ride_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -706,6 +724,7 @@ static void mine_ride_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B09F0 */
|
||||
static void mine_ride_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -745,26 +764,31 @@ static void mine_ride_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A00 */
|
||||
static void mine_ride_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_ride_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A10 */
|
||||
static void mine_ride_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_ride_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A20 */
|
||||
static void mine_ride_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_ride_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A30 */
|
||||
static void mine_ride_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_ride_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A40 */
|
||||
static void mine_ride_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -798,11 +822,13 @@ static void mine_ride_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A50 */
|
||||
static void mine_ride_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_ride_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A60 */
|
||||
static void mine_ride_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -904,6 +930,7 @@ static void mine_ride_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A70 */
|
||||
static void mine_ride_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1005,6 +1032,7 @@ static void mine_ride_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0AB0 */
|
||||
static void mine_ride_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1087,12 +1115,14 @@ static void mine_ride_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0AC0 */
|
||||
static void mine_ride_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mine_ride_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0AD0 */
|
||||
static void mine_ride_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1177,12 +1207,14 @@ static void mine_ride_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0AE0 */
|
||||
static void mine_ride_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mine_ride_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0AF0 */
|
||||
static void mine_ride_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1345,6 +1377,7 @@ static void mine_ride_track_left_half_banked_helix_up_small(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B00 */
|
||||
static void mine_ride_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1507,6 +1540,7 @@ static void mine_ride_track_right_half_banked_helix_up_small(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B10 */
|
||||
static void mine_ride_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -1517,6 +1551,7 @@ static void mine_ride_track_left_half_banked_helix_down_small(uint8 rideIndex, u
|
||||
mine_ride_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B20 */
|
||||
static void mine_ride_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -1527,6 +1562,7 @@ static void mine_ride_track_right_half_banked_helix_down_small(uint8 rideIndex,
|
||||
mine_ride_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B30 */
|
||||
static void mine_ride_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1767,6 +1803,7 @@ static void mine_ride_track_left_half_banked_helix_up_large(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B40 */
|
||||
static void mine_ride_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2007,6 +2044,7 @@ static void mine_ride_track_right_half_banked_helix_up_large(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B50 */
|
||||
static void mine_ride_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2017,6 +2055,7 @@ static void mine_ride_track_left_half_banked_helix_down_large(uint8 rideIndex, u
|
||||
mine_ride_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B60 */
|
||||
static void mine_ride_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2027,6 +2066,7 @@ static void mine_ride_track_right_half_banked_helix_down_large(uint8 rideIndex,
|
||||
mine_ride_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B70 */
|
||||
static void mine_ride_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2061,6 +2101,7 @@ static void mine_ride_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B90 */
|
||||
static void mine_ride_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2154,6 +2195,7 @@ static void mine_ride_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0BA0 */
|
||||
static void mine_ride_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2247,18 +2289,21 @@ static void mine_ride_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0BB0 */
|
||||
static void mine_ride_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mine_ride_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0BC0 */
|
||||
static void mine_ride_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mine_ride_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0BD0 */
|
||||
static void mine_ride_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2352,6 +2397,7 @@ static void mine_ride_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0BE0 */
|
||||
static void mine_ride_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2445,18 +2491,21 @@ static void mine_ride_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0BF0 */
|
||||
static void mine_ride_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mine_ride_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C00 */
|
||||
static void mine_ride_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mine_ride_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0B80 */
|
||||
static void mine_ride_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2509,6 +2558,7 @@ static void mine_ride_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C30 */
|
||||
static void mine_ride_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2561,6 +2611,7 @@ static void mine_ride_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C10 */
|
||||
static void mine_ride_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2613,6 +2664,7 @@ static void mine_ride_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C20 */
|
||||
static void mine_ride_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2665,6 +2717,7 @@ static void mine_ride_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C60 */
|
||||
static void mine_ride_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2717,6 +2770,7 @@ static void mine_ride_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C40 */
|
||||
static void mine_ride_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2769,6 +2823,7 @@ static void mine_ride_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C50 */
|
||||
static void mine_ride_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2821,6 +2876,7 @@ static void mine_ride_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C90 */
|
||||
static void mine_ride_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2874,6 +2930,7 @@ static void mine_ride_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0CA0 */
|
||||
static void mine_ride_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2927,6 +2984,7 @@ static void mine_ride_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0CB0 */
|
||||
static void mine_ride_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2980,6 +3038,7 @@ static void mine_ride_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0CC0 */
|
||||
static void mine_ride_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3033,6 +3092,7 @@ static void mine_ride_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0CF0 */
|
||||
static void mine_ride_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3086,6 +3146,7 @@ static void mine_ride_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0D00 */
|
||||
static void mine_ride_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3139,6 +3200,7 @@ static void mine_ride_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0CD0 */
|
||||
static void mine_ride_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3192,6 +3254,7 @@ static void mine_ride_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0CE0 */
|
||||
static void mine_ride_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3245,6 +3308,7 @@ static void mine_ride_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0D10 */
|
||||
static void mine_ride_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3298,6 +3362,7 @@ static void mine_ride_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0D20 */
|
||||
static void mine_ride_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3351,6 +3416,7 @@ static void mine_ride_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0D30 */
|
||||
static void mine_ride_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3404,6 +3470,7 @@ static void mine_ride_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0D40 */
|
||||
static void mine_ride_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3457,6 +3524,7 @@ static void mine_ride_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C70 */
|
||||
static void mine_ride_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3509,6 +3577,7 @@ static void mine_ride_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C80 */
|
||||
static void mine_ride_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x0071BFA4 */
|
||||
static void mine_train_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -88,6 +89,7 @@ static void mine_train_rc_track_station(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071BFB4 */
|
||||
static void mine_train_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -138,6 +140,7 @@ static void mine_train_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071BFC4 */
|
||||
static void mine_train_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -167,6 +170,7 @@ static void mine_train_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071BFD4 */
|
||||
static void mine_train_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -217,6 +221,7 @@ static void mine_train_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071BFE4 */
|
||||
static void mine_train_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -248,6 +253,7 @@ static void mine_train_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071BFF4 */
|
||||
static void mine_train_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -279,6 +285,7 @@ static void mine_train_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C004 */
|
||||
static void mine_train_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -329,36 +336,43 @@ static void mine_train_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C014 */
|
||||
static void mine_train_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C024 */
|
||||
static void mine_train_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C034 */
|
||||
static void mine_train_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C044 */
|
||||
static void mine_train_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C054 */
|
||||
static void mine_train_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C064 */
|
||||
static void mine_train_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C0B4 */
|
||||
static void mine_train_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -494,12 +508,14 @@ static void mine_train_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C0C4 */
|
||||
static void mine_train_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mine_train_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C074 */
|
||||
static void mine_train_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -527,6 +543,7 @@ static void mine_train_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C084 */
|
||||
static void mine_train_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -554,6 +571,7 @@ static void mine_train_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C094 */
|
||||
static void mine_train_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -581,6 +599,7 @@ static void mine_train_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C0A4 */
|
||||
static void mine_train_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -608,6 +627,7 @@ static void mine_train_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C0D4 */
|
||||
static void mine_train_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -745,12 +765,14 @@ static void mine_train_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C0E4 */
|
||||
static void mine_train_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mine_train_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C204 */
|
||||
static void mine_train_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -782,6 +804,7 @@ static void mine_train_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C214 */
|
||||
static void mine_train_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -813,6 +836,7 @@ static void mine_train_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C224 */
|
||||
static void mine_train_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -844,6 +868,7 @@ static void mine_train_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C234 */
|
||||
static void mine_train_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -875,26 +900,31 @@ static void mine_train_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C244 */
|
||||
static void mine_train_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C254 */
|
||||
static void mine_train_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C264 */
|
||||
static void mine_train_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C274 */
|
||||
static void mine_train_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C304 */
|
||||
static void mine_train_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -920,11 +950,13 @@ static void mine_train_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C314 */
|
||||
static void mine_train_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mine_train_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C0F4 */
|
||||
static void mine_train_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1060,6 +1092,7 @@ static void mine_train_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C104 */
|
||||
static void mine_train_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1195,18 +1228,21 @@ static void mine_train_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C114 */
|
||||
static void mine_train_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mine_train_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C124 */
|
||||
static void mine_train_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mine_train_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C134 */
|
||||
static void mine_train_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1312,6 +1348,7 @@ static void mine_train_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C144 */
|
||||
static void mine_train_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1417,6 +1454,7 @@ static void mine_train_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C184 */
|
||||
static void mine_train_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1513,12 +1551,14 @@ static void mine_train_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C194 */
|
||||
static void mine_train_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mine_train_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C1A4 */
|
||||
static void mine_train_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1617,12 +1657,14 @@ static void mine_train_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C1B4 */
|
||||
static void mine_train_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mine_train_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C1C4 */
|
||||
static void mine_train_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1705,6 +1747,7 @@ static void mine_train_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C1D4 */
|
||||
static void mine_train_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1787,18 +1830,21 @@ static void mine_train_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C1E4 */
|
||||
static void mine_train_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mine_train_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C1F4 */
|
||||
static void mine_train_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mine_train_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C284 */
|
||||
static void mine_train_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1993,6 +2039,7 @@ static void mine_train_rc_track_left_half_banked_helix_up_small(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C294 */
|
||||
static void mine_train_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2187,6 +2234,7 @@ static void mine_train_rc_track_right_half_banked_helix_up_small(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C2A4 */
|
||||
static void mine_train_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2197,6 +2245,7 @@ static void mine_train_rc_track_left_half_banked_helix_down_small(uint8 rideInde
|
||||
mine_train_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C2B4 */
|
||||
static void mine_train_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2207,6 +2256,7 @@ static void mine_train_rc_track_right_half_banked_helix_down_small(uint8 rideInd
|
||||
mine_train_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C2C4 */
|
||||
static void mine_train_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2485,6 +2535,7 @@ static void mine_train_rc_track_left_half_banked_helix_up_large(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C2D4 */
|
||||
static void mine_train_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2759,6 +2810,7 @@ static void mine_train_rc_track_right_half_banked_helix_up_large(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C2E4 */
|
||||
static void mine_train_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2769,6 +2821,7 @@ static void mine_train_rc_track_left_half_banked_helix_down_large(uint8 rideInde
|
||||
mine_train_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C2F4 */
|
||||
static void mine_train_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2779,6 +2832,7 @@ static void mine_train_rc_track_right_half_banked_helix_down_large(uint8 rideInd
|
||||
mine_train_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C324 */
|
||||
static void mine_train_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2798,6 +2852,7 @@ static void mine_train_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C334 */
|
||||
static void mine_train_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2832,6 +2887,7 @@ static void mine_train_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C354 */
|
||||
static void mine_train_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2943,6 +2999,7 @@ static void mine_train_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C364 */
|
||||
static void mine_train_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3054,18 +3111,21 @@ static void mine_train_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C374 */
|
||||
static void mine_train_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mine_train_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C384 */
|
||||
static void mine_train_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mine_train_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C394 */
|
||||
static void mine_train_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3177,6 +3237,7 @@ static void mine_train_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C3A4 */
|
||||
static void mine_train_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3288,18 +3349,21 @@ static void mine_train_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C3B4 */
|
||||
static void mine_train_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mine_train_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C3C4 */
|
||||
static void mine_train_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mine_train_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C344 */
|
||||
static void mine_train_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3414,6 +3478,7 @@ static void mine_train_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C414 */
|
||||
static void mine_train_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3528,6 +3593,7 @@ static void mine_train_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C474 */
|
||||
static void mine_train_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3590,6 +3656,7 @@ static void mine_train_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C3F4 */
|
||||
static void mine_train_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3704,6 +3771,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C454 */
|
||||
static void mine_train_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3766,6 +3834,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C464 */
|
||||
static void mine_train_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3828,6 +3897,7 @@ static void mine_train_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C404 */
|
||||
static void mine_train_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3942,6 +4012,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C444 */
|
||||
static void mine_train_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4056,6 +4127,7 @@ static void mine_train_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C4A4 */
|
||||
static void mine_train_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4118,6 +4190,7 @@ static void mine_train_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C424 */
|
||||
static void mine_train_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4232,6 +4305,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C484 */
|
||||
static void mine_train_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4294,6 +4368,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C494 */
|
||||
static void mine_train_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4356,6 +4431,7 @@ static void mine_train_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C434 */
|
||||
static void mine_train_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4470,6 +4546,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C4D4 */
|
||||
static void mine_train_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4533,6 +4610,7 @@ static void mine_train_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C4B4 */
|
||||
static void mine_train_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4596,6 +4674,7 @@ static void mine_train_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C4C4 */
|
||||
static void mine_train_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4659,6 +4738,7 @@ static void mine_train_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C4E4 */
|
||||
static void mine_train_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4722,6 +4802,7 @@ static void mine_train_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C514 */
|
||||
static void mine_train_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4785,6 +4866,7 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C524 */
|
||||
static void mine_train_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4848,6 +4930,7 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C4F4 */
|
||||
static void mine_train_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4911,6 +4994,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C504 */
|
||||
static void mine_train_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4974,6 +5058,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C534 */
|
||||
static void mine_train_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5037,6 +5122,7 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C544 */
|
||||
static void mine_train_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5100,6 +5186,7 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C554 */
|
||||
static void mine_train_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5163,6 +5250,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C564 */
|
||||
static void mine_train_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5226,6 +5314,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C3D4 */
|
||||
static void mine_train_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5288,6 +5377,7 @@ static void mine_train_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C3E4 */
|
||||
static void mine_train_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5350,6 +5440,7 @@ static void mine_train_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0071C574 */
|
||||
static void mine_train_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008A4ABC */
|
||||
static void mini_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -100,6 +101,7 @@ static void mini_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint8 di
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4ACC */
|
||||
static void mini_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -166,6 +168,7 @@ static void mini_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4ADC */
|
||||
static void mini_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -203,6 +206,7 @@ static void mini_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4AEC */
|
||||
static void mini_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -269,6 +273,7 @@ static void mini_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4AFC */
|
||||
static void mini_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -308,6 +313,7 @@ static void mini_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B0C */
|
||||
static void mini_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -347,6 +353,7 @@ static void mini_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B1C */
|
||||
static void mini_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -413,36 +420,43 @@ static void mini_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B2C */
|
||||
static void mini_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B3C */
|
||||
static void mini_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B4C */
|
||||
static void mini_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B5C */
|
||||
static void mini_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B6C */
|
||||
static void mini_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B7C */
|
||||
static void mini_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B8C */
|
||||
static void mini_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -564,12 +578,14 @@ static void mini_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4B9C */
|
||||
static void mini_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mini_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BAC */
|
||||
static void mini_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -605,6 +621,7 @@ static void mini_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BBC */
|
||||
static void mini_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -640,6 +657,7 @@ static void mini_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BCC */
|
||||
static void mini_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -675,6 +693,7 @@ static void mini_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BDC */
|
||||
static void mini_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -710,6 +729,7 @@ static void mini_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BEC */
|
||||
static void mini_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -833,12 +853,14 @@ static void mini_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BFC */
|
||||
static void mini_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mini_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C0C */
|
||||
static void mini_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -878,6 +900,7 @@ static void mini_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C1C */
|
||||
static void mini_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -917,6 +940,7 @@ static void mini_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C2C */
|
||||
static void mini_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -956,6 +980,7 @@ static void mini_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C3C */
|
||||
static void mini_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -995,26 +1020,31 @@ static void mini_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C4C */
|
||||
static void mini_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C5C */
|
||||
static void mini_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C6C */
|
||||
static void mini_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C7C */
|
||||
static void mini_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C8C */
|
||||
static void mini_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -1048,11 +1078,13 @@ static void mini_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C9C */
|
||||
static void mini_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4CAC */
|
||||
static void mini_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1174,6 +1206,7 @@ static void mini_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4CBC */
|
||||
static void mini_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1295,18 +1328,21 @@ static void mini_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4CCC */
|
||||
static void mini_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mini_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4CDC */
|
||||
static void mini_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mini_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4CEC */
|
||||
static void mini_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1408,6 +1444,7 @@ static void mini_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4CFC */
|
||||
static void mini_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1509,6 +1546,7 @@ static void mini_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4D3C */
|
||||
static void mini_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1591,12 +1629,14 @@ static void mini_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4D4C */
|
||||
static void mini_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mini_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4D5C */
|
||||
static void mini_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1681,12 +1721,14 @@ static void mini_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4D6C */
|
||||
static void mini_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mini_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4D7C */
|
||||
static void mini_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1754,6 +1796,7 @@ static void mini_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4D8C */
|
||||
static void mini_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1821,18 +1864,21 @@ static void mini_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4D9C */
|
||||
static void mini_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mini_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4DAC */
|
||||
static void mini_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mini_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4DBC */
|
||||
static void mini_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1995,6 +2041,7 @@ static void mini_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4DCC */
|
||||
static void mini_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2157,6 +2204,7 @@ static void mini_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4DDC */
|
||||
static void mini_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2167,6 +2215,7 @@ static void mini_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uin
|
||||
mini_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4DEC */
|
||||
static void mini_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2177,6 +2226,7 @@ static void mini_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, ui
|
||||
mini_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4DFC */
|
||||
static void mini_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2417,6 +2467,7 @@ static void mini_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E0C */
|
||||
static void mini_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2657,6 +2708,7 @@ static void mini_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E1C */
|
||||
static void mini_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2667,6 +2719,7 @@ static void mini_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uin
|
||||
mini_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E2C */
|
||||
static void mini_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -2677,6 +2730,7 @@ static void mini_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, ui
|
||||
mini_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E5C */
|
||||
static void mini_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2713,6 +2767,7 @@ static void mini_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E3C */
|
||||
static void mini_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2749,16 +2804,19 @@ static void mini_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E4C */
|
||||
static void mini_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E6C */
|
||||
static void mini_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E7C */
|
||||
static void mini_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2782,6 +2840,7 @@ static void mini_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 dir
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A50CC */
|
||||
static void mini_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2819,6 +2878,7 @@ static void mini_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A50DC */
|
||||
static void mini_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2856,6 +2916,7 @@ static void mini_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E8C */
|
||||
static void mini_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -2890,16 +2951,19 @@ static void mini_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A50EC */
|
||||
static void mini_rc_track_25_deg_down_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up_right_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A50FC */
|
||||
static void mini_rc_track_25_deg_down_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up_left_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4EAC */
|
||||
static void mini_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2993,6 +3057,7 @@ static void mini_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4EBC */
|
||||
static void mini_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3086,18 +3151,21 @@ static void mini_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4ECC */
|
||||
static void mini_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mini_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4EDC */
|
||||
static void mini_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mini_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4EEC */
|
||||
static void mini_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3191,6 +3259,7 @@ static void mini_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4EFC */
|
||||
static void mini_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3284,18 +3353,21 @@ static void mini_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F0C */
|
||||
static void mini_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mini_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F1C */
|
||||
static void mini_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mini_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4E9C */
|
||||
static void mini_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3390,6 +3462,7 @@ static void mini_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F4C */
|
||||
static void mini_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3484,6 +3557,7 @@ static void mini_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4FAC */
|
||||
static void mini_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3536,6 +3610,7 @@ static void mini_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F2C */
|
||||
static void mini_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3630,6 +3705,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F8C */
|
||||
static void mini_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3682,6 +3758,7 @@ static void mini_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F9C */
|
||||
static void mini_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3734,6 +3811,7 @@ static void mini_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F3C */
|
||||
static void mini_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3828,6 +3906,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F7C */
|
||||
static void mini_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3922,6 +4001,7 @@ static void mini_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4FDC */
|
||||
static void mini_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3974,6 +4054,7 @@ static void mini_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F5C */
|
||||
static void mini_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4068,6 +4149,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4FBC */
|
||||
static void mini_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4120,6 +4202,7 @@ static void mini_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4FCC */
|
||||
static void mini_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4172,6 +4255,7 @@ static void mini_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F6C */
|
||||
static void mini_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4266,6 +4350,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A500C */
|
||||
static void mini_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4319,6 +4404,7 @@ static void mini_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A501C */
|
||||
static void mini_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4372,6 +4458,7 @@ static void mini_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A502C */
|
||||
static void mini_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4425,6 +4512,7 @@ static void mini_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A503C */
|
||||
static void mini_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4478,6 +4566,7 @@ static void mini_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A506C */
|
||||
static void mini_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4531,6 +4620,7 @@ static void mini_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A507C */
|
||||
static void mini_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4584,6 +4674,7 @@ static void mini_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A504C */
|
||||
static void mini_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4637,6 +4728,7 @@ static void mini_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A505C */
|
||||
static void mini_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4690,6 +4782,7 @@ static void mini_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A508C */
|
||||
static void mini_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4743,6 +4836,7 @@ static void mini_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A509C */
|
||||
static void mini_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4796,6 +4890,7 @@ static void mini_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A50AC */
|
||||
static void mini_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4849,6 +4944,7 @@ static void mini_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A50BC */
|
||||
static void mini_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4902,6 +4998,7 @@ static void mini_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4FEC */
|
||||
static void mini_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4954,6 +5051,7 @@ static void mini_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4FFC */
|
||||
static void mini_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5006,6 +5104,7 @@ static void mini_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A530C */
|
||||
static void mini_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5029,6 +5128,7 @@ static void mini_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A510C */
|
||||
static void mini_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5096,6 +5196,7 @@ static void mini_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A511C */
|
||||
static void mini_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5163,18 +5264,21 @@ static void mini_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A512C */
|
||||
static void mini_rc_track_left_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mini_rc_track_right_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A513C */
|
||||
static void mini_rc_track_right_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mini_rc_track_left_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A514C */
|
||||
static void mini_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5296,6 +5400,7 @@ static void mini_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A515C */
|
||||
static void mini_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5417,18 +5522,21 @@ static void mini_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A516C */
|
||||
static void mini_rc_track_left_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mini_rc_track_right_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A517C */
|
||||
static void mini_rc_track_right_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mini_rc_track_left_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A518C */
|
||||
static void mini_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5467,6 +5575,7 @@ static void mini_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A519C */
|
||||
static void mini_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5505,6 +5614,7 @@ static void mini_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A51AC */
|
||||
static void mini_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5543,6 +5653,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, ui
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A51BC */
|
||||
static void mini_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5581,26 +5692,31 @@ static void mini_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, u
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A51CC */
|
||||
static void mini_rc_track_25_deg_down_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_right_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A51DC */
|
||||
static void mini_rc_track_25_deg_down_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_left_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A51EC */
|
||||
static void mini_rc_track_left_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A51FC */
|
||||
static void mini_rc_track_right_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_25_deg_up_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A520C */
|
||||
static void mini_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5638,6 +5754,7 @@ static void mini_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rideIn
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A521C */
|
||||
static void mini_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5675,6 +5792,7 @@ static void mini_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 ride
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A524C */
|
||||
static void mini_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5712,6 +5830,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rideIn
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A525C */
|
||||
static void mini_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5749,26 +5868,31 @@ static void mini_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 ride
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A526C */
|
||||
static void mini_rc_track_left_banked_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_right_banked_25_deg_up_to_right_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A527C */
|
||||
static void mini_rc_track_right_banked_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_left_banked_25_deg_up_to_left_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A522C */
|
||||
static void mini_rc_track_left_banked_25_deg_down_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_right_banked_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A523C */
|
||||
static void mini_rc_track_right_banked_25_deg_down_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_left_banked_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A528C */
|
||||
static void mini_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5807,6 +5931,7 @@ static void mini_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A529C */
|
||||
static void mini_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5845,6 +5970,7 @@ static void mini_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A52AC */
|
||||
static void mini_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5883,6 +6009,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A52BC */
|
||||
static void mini_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -5921,21 +6048,25 @@ static void mini_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A52CC */
|
||||
static void mini_rc_track_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_right_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A52DC */
|
||||
static void mini_rc_track_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_left_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A52EC */
|
||||
static void mini_rc_track_left_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A52FC */
|
||||
static void mini_rc_track_right_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_rc_track_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008AFE9C */
|
||||
static void mini_suspended_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -87,6 +88,7 @@ static void mini_suspended_rc_track_station(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFEAC */
|
||||
static void mini_suspended_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -153,6 +155,7 @@ static void mini_suspended_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFEBC */
|
||||
static void mini_suspended_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -219,6 +222,7 @@ static void mini_suspended_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFECC */
|
||||
static void mini_suspended_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -285,21 +289,25 @@ static void mini_suspended_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFEDC */
|
||||
static void mini_suspended_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_suspended_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFEEC */
|
||||
static void mini_suspended_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_suspended_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFEFC */
|
||||
static void mini_suspended_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
mini_suspended_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFF0C */
|
||||
static void mini_suspended_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -421,12 +429,14 @@ static void mini_suspended_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFF1C */
|
||||
static void mini_suspended_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
mini_suspended_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFF2C */
|
||||
static void mini_suspended_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -528,6 +538,7 @@ static void mini_suspended_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFF3C */
|
||||
static void mini_suspended_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -629,6 +640,7 @@ static void mini_suspended_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFF7C */
|
||||
static void mini_suspended_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -711,12 +723,14 @@ static void mini_suspended_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFF8C */
|
||||
static void mini_suspended_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
mini_suspended_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFFAC */
|
||||
static void mini_suspended_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -810,6 +824,7 @@ static void mini_suspended_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFFBC */
|
||||
static void mini_suspended_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -903,18 +918,21 @@ static void mini_suspended_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFFCC */
|
||||
static void mini_suspended_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mini_suspended_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFFDC */
|
||||
static void mini_suspended_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
mini_suspended_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFF9C */
|
||||
static void mini_suspended_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1009,6 +1027,7 @@ static void mini_suspended_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B000C */
|
||||
static void mini_suspended_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1103,6 +1122,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFFEC */
|
||||
static void mini_suspended_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1197,6 +1217,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFFFC */
|
||||
static void mini_suspended_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1291,6 +1312,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B003C */
|
||||
static void mini_suspended_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1385,6 +1407,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B001C */
|
||||
static void mini_suspended_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1479,6 +1502,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008B002C */
|
||||
static void mini_suspended_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x00792D88 */
|
||||
static void multi_dimension_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -116,6 +117,7 @@ static void multi_dimension_rc_track_station(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792D98 */
|
||||
static void multi_dimension_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -200,6 +202,7 @@ static void multi_dimension_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792DA8 */
|
||||
static void multi_dimension_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -252,6 +255,7 @@ static void multi_dimension_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792DB8 */
|
||||
static void multi_dimension_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -336,6 +340,7 @@ static void multi_dimension_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792DC8 */
|
||||
static void multi_dimension_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -392,6 +397,7 @@ static void multi_dimension_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792DD8 */
|
||||
static void multi_dimension_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -460,6 +466,7 @@ static void multi_dimension_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792DE8 */
|
||||
static void multi_dimension_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -544,36 +551,43 @@ static void multi_dimension_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792DF8 */
|
||||
static void multi_dimension_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E08 */
|
||||
static void multi_dimension_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E18 */
|
||||
static void multi_dimension_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E28 */
|
||||
static void multi_dimension_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E38 */
|
||||
static void multi_dimension_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E48 */
|
||||
static void multi_dimension_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E58 */
|
||||
static void multi_dimension_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -803,12 +817,14 @@ static void multi_dimension_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E68 */
|
||||
static void multi_dimension_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
multi_dimension_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E78 */
|
||||
static void multi_dimension_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -858,6 +874,7 @@ static void multi_dimension_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E88 */
|
||||
static void multi_dimension_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -907,6 +924,7 @@ static void multi_dimension_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792E98 */
|
||||
static void multi_dimension_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -956,6 +974,7 @@ static void multi_dimension_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792EA8 */
|
||||
static void multi_dimension_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1005,6 +1024,7 @@ static void multi_dimension_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792EB8 */
|
||||
static void multi_dimension_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1236,12 +1256,14 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792EC8 */
|
||||
static void multi_dimension_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
multi_dimension_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792ED8 */
|
||||
static void multi_dimension_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1308,6 +1330,7 @@ static void multi_dimension_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792EE8 */
|
||||
static void multi_dimension_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1374,6 +1397,7 @@ static void multi_dimension_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792EF8 */
|
||||
static void multi_dimension_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1440,6 +1464,7 @@ static void multi_dimension_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F08 */
|
||||
static void multi_dimension_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1506,26 +1531,31 @@ static void multi_dimension_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F18 */
|
||||
static void multi_dimension_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F28 */
|
||||
static void multi_dimension_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F38 */
|
||||
static void multi_dimension_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F48 */
|
||||
static void multi_dimension_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F58 */
|
||||
static void multi_dimension_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1573,11 +1603,13 @@ static void multi_dimension_rc_track_left_bank(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F68 */
|
||||
static void multi_dimension_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F78 */
|
||||
static void multi_dimension_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1767,6 +1799,7 @@ static void multi_dimension_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792F88 */
|
||||
static void multi_dimension_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -1956,6 +1989,7 @@ static void multi_dimension_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792FC8 */
|
||||
static void multi_dimension_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2107,12 +2141,14 @@ static void multi_dimension_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792FD8 */
|
||||
static void multi_dimension_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
multi_dimension_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00792FE8 */
|
||||
static void multi_dimension_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2266,12 +2302,14 @@ static void multi_dimension_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00792FF8 */
|
||||
static void multi_dimension_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
multi_dimension_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00793008 */
|
||||
static void multi_dimension_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2571,6 +2609,7 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793018 */
|
||||
static void multi_dimension_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -2870,6 +2909,7 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small(uint8 ride
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793028 */
|
||||
static void multi_dimension_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2880,6 +2920,7 @@ static void multi_dimension_rc_track_left_half_banked_helix_down_small(uint8 rid
|
||||
multi_dimension_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00793038 */
|
||||
static void multi_dimension_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2890,6 +2931,7 @@ static void multi_dimension_rc_track_right_half_banked_helix_down_small(uint8 ri
|
||||
multi_dimension_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00793048 */
|
||||
static void multi_dimension_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3345,6 +3387,7 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793058 */
|
||||
static void multi_dimension_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3800,6 +3843,7 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large(uint8 ride
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793068 */
|
||||
static void multi_dimension_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -3810,6 +3854,7 @@ static void multi_dimension_rc_track_left_half_banked_helix_down_large(uint8 rid
|
||||
multi_dimension_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00793078 */
|
||||
static void multi_dimension_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -3820,6 +3865,7 @@ static void multi_dimension_rc_track_right_half_banked_helix_down_large(uint8 ri
|
||||
multi_dimension_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00793088 */
|
||||
static void multi_dimension_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3859,6 +3905,7 @@ static void multi_dimension_rc_track_brakes(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793098 */
|
||||
static void multi_dimension_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3926,6 +3973,7 @@ static void multi_dimension_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793328 */
|
||||
static void multi_dimension_rc_track_90_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -3979,11 +4027,13 @@ static void multi_dimension_rc_track_90_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793338 */
|
||||
static void multi_dimension_rc_track_90_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_90_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00793348 */
|
||||
static void multi_dimension_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4043,11 +4093,13 @@ static void multi_dimension_rc_track_60_deg_up_to_90_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793358 */
|
||||
static void multi_dimension_rc_track_90_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
multi_dimension_rc_track_60_deg_up_to_90_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00793368 */
|
||||
static void multi_dimension_rc_track_90_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4103,6 +4155,7 @@ static void multi_dimension_rc_track_90_deg_up_to_60_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793378 */
|
||||
static void multi_dimension_rc_track_60_deg_down_to_90_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4160,6 +4213,7 @@ static void multi_dimension_rc_track_60_deg_down_to_90_deg_down(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007930B8 */
|
||||
static void multi_dimension_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4339,6 +4393,7 @@ static void multi_dimension_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007930C8 */
|
||||
static void multi_dimension_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4518,18 +4573,21 @@ static void multi_dimension_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007930D8 */
|
||||
static void multi_dimension_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
multi_dimension_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007930E8 */
|
||||
static void multi_dimension_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
multi_dimension_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007930F8 */
|
||||
static void multi_dimension_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4709,6 +4767,7 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793108 */
|
||||
static void multi_dimension_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -4888,18 +4947,21 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793118 */
|
||||
static void multi_dimension_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
multi_dimension_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00793128 */
|
||||
static void multi_dimension_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
multi_dimension_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007930A8 */
|
||||
static void multi_dimension_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5087,6 +5149,7 @@ static void multi_dimension_rc_track_diag_flat(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793158 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5274,6 +5337,7 @@ static void multi_dimension_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007931B8 */
|
||||
static void multi_dimension_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5377,6 +5441,7 @@ static void multi_dimension_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793138 */
|
||||
static void multi_dimension_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5564,6 +5629,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793198 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5667,6 +5733,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007931A8 */
|
||||
static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5770,6 +5837,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793148 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -5957,6 +6025,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793188 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6102,6 +6171,7 @@ static void multi_dimension_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007931E8 */
|
||||
static void multi_dimension_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6205,6 +6275,7 @@ static void multi_dimension_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793168 */
|
||||
static void multi_dimension_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6350,6 +6421,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007931C8 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6453,6 +6525,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007931D8 */
|
||||
static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6556,6 +6629,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideI
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793178 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6701,6 +6775,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793218 */
|
||||
static void multi_dimension_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6805,6 +6880,7 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793228 */
|
||||
static void multi_dimension_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -6909,6 +6985,7 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793238 */
|
||||
static void multi_dimension_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7013,6 +7090,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793248 */
|
||||
static void multi_dimension_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7117,6 +7195,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793278 */
|
||||
static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7221,6 +7300,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793288 */
|
||||
static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7325,6 +7405,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793258 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7429,6 +7510,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793268 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7533,6 +7615,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793298 */
|
||||
static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7637,6 +7720,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007932A8 */
|
||||
static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7741,6 +7825,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007932B8 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7845,6 +7930,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank(uint8 rideInd
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007932C8 */
|
||||
static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -7949,6 +8035,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIn
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007931F8 */
|
||||
static void multi_dimension_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8052,6 +8139,7 @@ static void multi_dimension_rc_track_diag_left_bank(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793208 */
|
||||
static void multi_dimension_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8155,6 +8243,7 @@ static void multi_dimension_rc_track_diag_right_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007932D8 */
|
||||
static void multi_dimension_rc_track_left_flyer_twist_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8300,6 +8389,7 @@ static void multi_dimension_rc_track_left_flyer_twist_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007932E8 */
|
||||
static void multi_dimension_rc_track_right_flyer_twist_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8445,6 +8535,7 @@ static void multi_dimension_rc_track_right_flyer_twist_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007932F8 */
|
||||
static void multi_dimension_rc_track_left_flyer_twist_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8590,6 +8681,7 @@ static void multi_dimension_rc_track_left_flyer_twist_down(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793308 */
|
||||
static void multi_dimension_rc_track_right_flyer_twist_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8735,6 +8827,7 @@ static void multi_dimension_rc_track_right_flyer_twist_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793398 */
|
||||
static void multi_dimension_rc_track_multidim_inverted_flat_to_90_deg_quarter_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8864,6 +8957,7 @@ static void multi_dimension_rc_track_multidim_inverted_flat_to_90_deg_quarter_lo
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793318 */
|
||||
static void multi_dimension_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -8901,6 +8995,7 @@ static void multi_dimension_rc_track_block_brakes(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793388 */
|
||||
static void multi_dimension_rc_track_multidim_90_deg_up_to_inverted_flat_quarter_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9026,6 +9121,7 @@ static void multi_dimension_rc_track_multidim_90_deg_up_to_inverted_flat_quarter
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793398 */
|
||||
static void multi_dimension_rc_track_multidim_flat_to_90_deg_down_quarter_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
@@ -9155,6 +9251,7 @@ static void multi_dimension_rc_track_multidim_flat_to_90_deg_down_quarter_loop(u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00793388 */
|
||||
static void multi_dimension_rc_track_elem_255(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (!track_element_is_inverted(mapElement)) {
|
||||
|
||||
@@ -45,6 +45,7 @@ void vehicle_visual_reverser(int x, int imageDirection, int y, int z, rct_vehicl
|
||||
}
|
||||
#endif
|
||||
|
||||
/** rct2: 0x0086E65C */
|
||||
static void reverser_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -97,6 +98,7 @@ static void reverser_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E66C */
|
||||
static void reverser_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -147,6 +149,7 @@ static void reverser_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E67C */
|
||||
static void reverser_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -197,6 +200,7 @@ static void reverser_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E68C */
|
||||
static void reverser_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -247,21 +251,25 @@ static void reverser_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E69C */
|
||||
static void reverser_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
reverser_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E6AC */
|
||||
static void reverser_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
reverser_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E6BC */
|
||||
static void reverser_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
reverser_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E6CC */
|
||||
static void reverser_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -397,12 +405,14 @@ static void reverser_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E6DC */
|
||||
static void reverser_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
reverser_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E6EC */
|
||||
static void reverser_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -508,6 +518,7 @@ static void reverser_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E6FC */
|
||||
static void reverser_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -613,6 +624,7 @@ static void reverser_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E73C */
|
||||
static void reverser_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -695,12 +707,14 @@ static void reverser_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E74C */
|
||||
static void reverser_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
reverser_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E75C */
|
||||
static void reverser_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -720,6 +734,7 @@ static void reverser_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E76C */
|
||||
static void reverser_rc_track_left_reverser(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -869,6 +884,7 @@ static void reverser_rc_track_left_reverser(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E77C */
|
||||
static void reverser_rc_track_right_reverser(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x0077839C */
|
||||
static void side_friction_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -89,6 +90,7 @@ static void side_friction_rc_track_station(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x007783AC */
|
||||
static void side_friction_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -147,6 +149,7 @@ static void side_friction_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x007783CC */
|
||||
static void side_friction_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -205,6 +208,7 @@ static void side_friction_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x007783FC */
|
||||
static void side_friction_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -263,21 +267,25 @@ static void side_friction_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0077840C */
|
||||
static void side_friction_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
side_friction_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0077842C */
|
||||
static void side_friction_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
side_friction_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0077845C */
|
||||
static void side_friction_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
side_friction_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0077846C */
|
||||
static void side_friction_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -433,12 +441,14 @@ static void side_friction_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0077847C */
|
||||
static void side_friction_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
side_friction_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0077848C */
|
||||
static void side_friction_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -560,6 +570,7 @@ static void side_friction_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0077849C */
|
||||
static void side_friction_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -681,6 +692,7 @@ static void side_friction_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007784DC */
|
||||
static void side_friction_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -775,12 +787,14 @@ static void side_friction_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007784EC */
|
||||
static void side_friction_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
side_friction_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x007784FC */
|
||||
static void side_friction_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -802,6 +816,7 @@ static void side_friction_rc_track_brakes(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x007785DC */
|
||||
static void side_friction_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -929,6 +944,7 @@ static void side_friction_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007785EC */
|
||||
static void side_friction_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1056,18 +1072,21 @@ static void side_friction_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x007785FC */
|
||||
static void side_friction_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
side_friction_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0077860C */
|
||||
static void side_friction_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
side_friction_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0077850C */
|
||||
static void side_friction_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1186,6 +1205,7 @@ static void side_friction_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0077853C */
|
||||
static void side_friction_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1304,6 +1324,7 @@ static void side_friction_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0077851C */
|
||||
static void side_friction_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1422,6 +1443,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0077852C */
|
||||
static void side_friction_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1540,6 +1562,7 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0077859C */
|
||||
static void side_friction_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1658,6 +1681,7 @@ static void side_friction_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0077857C */
|
||||
static void side_friction_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1776,6 +1800,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x0077858C */
|
||||
static void side_friction_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008A7114 */
|
||||
static void stand_up_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -88,6 +89,7 @@ static void stand_up_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7124 */
|
||||
static void stand_up_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -136,6 +138,7 @@ static void stand_up_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7134 */
|
||||
static void stand_up_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -184,6 +187,7 @@ static void stand_up_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7144 */
|
||||
static void stand_up_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -232,6 +236,7 @@ static void stand_up_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7154 */
|
||||
static void stand_up_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -284,6 +289,7 @@ static void stand_up_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7164 */
|
||||
static void stand_up_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -336,6 +342,7 @@ static void stand_up_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7174 */
|
||||
static void stand_up_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -384,36 +391,43 @@ static void stand_up_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7184 */
|
||||
static void stand_up_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7194 */
|
||||
static void stand_up_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A71A4 */
|
||||
static void stand_up_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A71B4 */
|
||||
static void stand_up_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A71C4 */
|
||||
static void stand_up_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A71D4 */
|
||||
static void stand_up_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A71E4 */
|
||||
static void stand_up_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -529,12 +543,14 @@ static void stand_up_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A71F4 */
|
||||
static void stand_up_rc_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
stand_up_rc_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7204 */
|
||||
static void stand_up_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -559,6 +575,7 @@ static void stand_up_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7214 */
|
||||
static void stand_up_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -583,6 +600,7 @@ static void stand_up_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7224 */
|
||||
static void stand_up_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -607,6 +625,7 @@ static void stand_up_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequ
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7234 */
|
||||
static void stand_up_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -631,6 +650,7 @@ static void stand_up_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7244 */
|
||||
static void stand_up_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -748,12 +768,14 @@ static void stand_up_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7254 */
|
||||
static void stand_up_rc_track_banked_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
stand_up_rc_track_banked_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7264 */
|
||||
static void stand_up_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -782,6 +804,7 @@ static void stand_up_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7274 */
|
||||
static void stand_up_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -810,6 +833,7 @@ static void stand_up_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7284 */
|
||||
static void stand_up_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -838,6 +862,7 @@ static void stand_up_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7294 */
|
||||
static void stand_up_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -866,26 +891,31 @@ static void stand_up_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A72A4 */
|
||||
static void stand_up_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A72B4 */
|
||||
static void stand_up_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A72C4 */
|
||||
static void stand_up_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A72D4 */
|
||||
static void stand_up_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A72E4 */
|
||||
static void stand_up_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -910,11 +940,13 @@ static void stand_up_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, ui
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A72F4 */
|
||||
static void stand_up_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7304 */
|
||||
static void stand_up_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1117,6 +1149,7 @@ static void stand_up_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7314 */
|
||||
static void stand_up_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1319,18 +1352,21 @@ static void stand_up_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7324 */
|
||||
static void stand_up_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
stand_up_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7334 */
|
||||
static void stand_up_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
stand_up_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7344 */
|
||||
static void stand_up_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1426,6 +1462,7 @@ static void stand_up_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7354 */
|
||||
static void stand_up_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1521,6 +1558,7 @@ static void stand_up_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7364 */
|
||||
static void stand_up_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1698,6 +1736,7 @@ static void stand_up_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7374 */
|
||||
static void stand_up_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1875,6 +1914,7 @@ static void stand_up_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A73B4 */
|
||||
static void stand_up_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1951,12 +1991,14 @@ static void stand_up_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A73C4 */
|
||||
static void stand_up_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
stand_up_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A73D4 */
|
||||
static void stand_up_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2035,12 +2077,14 @@ static void stand_up_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A73E4 */
|
||||
static void stand_up_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
stand_up_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A73F4 */
|
||||
static void stand_up_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2138,6 +2182,7 @@ static void stand_up_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7404 */
|
||||
static void stand_up_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2241,18 +2286,21 @@ static void stand_up_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7414 */
|
||||
static void stand_up_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
stand_up_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7424 */
|
||||
static void stand_up_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
stand_up_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7434 */
|
||||
static void stand_up_rc_track_half_loop_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2342,11 +2390,13 @@ static void stand_up_rc_track_half_loop_up(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7444 */
|
||||
static void stand_up_rc_track_half_loop_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_half_loop_up(rideIndex, 3 - trackSequence, direction, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7454 */
|
||||
static void stand_up_rc_track_left_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2420,6 +2470,7 @@ static void stand_up_rc_track_left_corkscrew_up(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7464 */
|
||||
static void stand_up_rc_track_right_corkscrew_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2493,16 +2544,19 @@ static void stand_up_rc_track_right_corkscrew_up(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7474 */
|
||||
static void stand_up_rc_track_left_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_right_corkscrew_up(rideIndex, 2 - trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7484 */
|
||||
static void stand_up_rc_track_right_corkscrew_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
stand_up_rc_track_left_corkscrew_up(rideIndex, 2 - trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7734 */
|
||||
static void stand_up_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2653,6 +2707,7 @@ static void stand_up_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7744 */
|
||||
static void stand_up_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2803,6 +2858,7 @@ static void stand_up_rc_track_right_half_banked_helix_up_small(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7754 */
|
||||
static void stand_up_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2813,6 +2869,7 @@ static void stand_up_rc_track_left_half_banked_helix_down_small(uint8 rideIndex,
|
||||
stand_up_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7764 */
|
||||
static void stand_up_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2823,6 +2880,7 @@ static void stand_up_rc_track_right_half_banked_helix_down_small(uint8 rideIndex
|
||||
stand_up_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A76F4 */
|
||||
static void stand_up_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3051,6 +3109,7 @@ static void stand_up_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7704 */
|
||||
static void stand_up_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3279,6 +3338,7 @@ static void stand_up_rc_track_right_half_banked_helix_up_large(uint8 rideIndex,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7714 */
|
||||
static void stand_up_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -3289,6 +3349,7 @@ static void stand_up_rc_track_left_half_banked_helix_down_large(uint8 rideIndex,
|
||||
stand_up_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7724 */
|
||||
static void stand_up_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -3299,6 +3360,7 @@ static void stand_up_rc_track_right_half_banked_helix_down_large(uint8 rideIndex
|
||||
stand_up_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7494 */
|
||||
static void stand_up_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3319,6 +3381,7 @@ static void stand_up_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A74A4 */
|
||||
static void stand_up_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3353,6 +3416,7 @@ static void stand_up_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A74B4 */
|
||||
static void stand_up_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3443,6 +3507,7 @@ static void stand_up_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A74C4 */
|
||||
static void stand_up_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3533,18 +3598,21 @@ static void stand_up_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A74D4 */
|
||||
static void stand_up_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
stand_up_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A74E4 */
|
||||
static void stand_up_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
stand_up_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A76A4 */
|
||||
static void stand_up_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3635,6 +3703,7 @@ static void stand_up_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A76B4 */
|
||||
static void stand_up_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3725,18 +3794,21 @@ static void stand_up_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A76C4 */
|
||||
static void stand_up_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
stand_up_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A76D4 */
|
||||
static void stand_up_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
stand_up_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A74F4 */
|
||||
static void stand_up_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3831,6 +3903,7 @@ static void stand_up_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7524 */
|
||||
static void stand_up_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3925,6 +3998,7 @@ static void stand_up_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7584 */
|
||||
static void stand_up_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4019,6 +4093,7 @@ static void stand_up_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7504 */
|
||||
static void stand_up_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4113,6 +4188,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7564 */
|
||||
static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4207,6 +4283,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7574 */
|
||||
static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4301,6 +4378,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7514 */
|
||||
static void stand_up_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4395,6 +4473,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7554 */
|
||||
static void stand_up_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4489,6 +4568,7 @@ static void stand_up_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A75B4 */
|
||||
static void stand_up_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4583,6 +4663,7 @@ static void stand_up_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7534 */
|
||||
static void stand_up_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4677,6 +4758,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7594 */
|
||||
static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4771,6 +4853,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A75A4 */
|
||||
static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4865,6 +4948,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7544 */
|
||||
static void stand_up_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4959,6 +5043,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 tr
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A75E4 */
|
||||
static void stand_up_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5012,6 +5097,7 @@ static void stand_up_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A75F4 */
|
||||
static void stand_up_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5065,6 +5151,7 @@ static void stand_up_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7604 */
|
||||
static void stand_up_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5118,6 +5205,7 @@ static void stand_up_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7614 */
|
||||
static void stand_up_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5171,6 +5259,7 @@ static void stand_up_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7644 */
|
||||
static void stand_up_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5224,6 +5313,7 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7654 */
|
||||
static void stand_up_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5277,6 +5367,7 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7624 */
|
||||
static void stand_up_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5330,6 +5421,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7634 */
|
||||
static void stand_up_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5383,6 +5475,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7664 */
|
||||
static void stand_up_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5436,6 +5529,7 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7674 */
|
||||
static void stand_up_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5489,6 +5583,7 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7684 */
|
||||
static void stand_up_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5542,6 +5637,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7694 */
|
||||
static void stand_up_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5595,6 +5691,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A75C4 */
|
||||
static void stand_up_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5647,6 +5744,7 @@ static void stand_up_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A75D4 */
|
||||
static void stand_up_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5699,6 +5797,7 @@ static void stand_up_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A76E4 */
|
||||
static void stand_up_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008A59A8 */
|
||||
static void steeplechase_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -78,6 +79,7 @@ static void steeplechase_track_station(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A59B8 */
|
||||
static void steeplechase_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -128,6 +130,7 @@ static void steeplechase_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, u
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A59C8 */
|
||||
static void steeplechase_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -178,6 +181,7 @@ static void steeplechase_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A59D8 */
|
||||
static void steeplechase_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (track_element_is_lift_hill(mapElement)) {
|
||||
@@ -228,21 +232,25 @@ static void steeplechase_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A59E8 */
|
||||
static void steeplechase_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
steeplechase_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A59F8 */
|
||||
static void steeplechase_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
steeplechase_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5A08 */
|
||||
static void steeplechase_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
steeplechase_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5A18 */
|
||||
static void steeplechase_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -364,12 +372,14 @@ static void steeplechase_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5A28 */
|
||||
static void steeplechase_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
steeplechase_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5A38 */
|
||||
static void steeplechase_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -471,6 +481,7 @@ static void steeplechase_track_s_bend_left(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5A48 */
|
||||
static void steeplechase_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -572,6 +583,7 @@ static void steeplechase_track_s_bend_right(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5A88 */
|
||||
static void steeplechase_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -654,12 +666,14 @@ static void steeplechase_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5A98 */
|
||||
static void steeplechase_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
steeplechase_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5AA8 */
|
||||
static void steeplechase_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -679,6 +693,7 @@ static void steeplechase_track_brakes(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5AD8 */
|
||||
static void steeplechase_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -772,6 +787,7 @@ static void steeplechase_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5AE8 */
|
||||
static void steeplechase_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -865,18 +881,21 @@ static void steeplechase_track_right_eighth_to_diag(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5AF8 */
|
||||
static void steeplechase_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
steeplechase_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5B08 */
|
||||
static void steeplechase_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
steeplechase_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5AC8 */
|
||||
static void steeplechase_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -971,6 +990,7 @@ static void steeplechase_track_diag_flat(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5B38 */
|
||||
static void steeplechase_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1065,6 +1085,7 @@ static void steeplechase_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5B18 */
|
||||
static void steeplechase_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1159,6 +1180,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5B28 */
|
||||
static void steeplechase_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1253,6 +1275,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5B68 */
|
||||
static void steeplechase_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1347,6 +1370,7 @@ static void steeplechase_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5B48 */
|
||||
static void steeplechase_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1441,6 +1465,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5B58 */
|
||||
static void steeplechase_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1535,6 +1560,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5AB8 */
|
||||
static void steeplechase_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -168,6 +168,7 @@ static const uint32 _wild_mouse_block_brakes_image_ids[4] = {
|
||||
SPR_WILD_MOUSE_BLOCK_BRAKES_NW_SE,
|
||||
};
|
||||
|
||||
/** rct2: 0x0078B1E4 */
|
||||
static void wild_mouse_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -212,6 +213,7 @@ static void wild_mouse_track_station(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B1F4 */
|
||||
static void wild_mouse_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -236,6 +238,7 @@ static void wild_mouse_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B204 */
|
||||
static void wild_mouse_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -268,6 +271,7 @@ static void wild_mouse_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uin
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B214 */
|
||||
static void wild_mouse_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -292,6 +296,7 @@ static void wild_mouse_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B224 */
|
||||
static void wild_mouse_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -328,6 +333,7 @@ static void wild_mouse_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B234 */
|
||||
static void wild_mouse_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -364,6 +370,7 @@ static void wild_mouse_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B244 */
|
||||
static void wild_mouse_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -388,31 +395,37 @@ static void wild_mouse_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B254 */
|
||||
static void wild_mouse_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B264 */
|
||||
static void wild_mouse_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B274 */
|
||||
static void wild_mouse_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B284 */
|
||||
static void wild_mouse_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B294 */
|
||||
static void wild_mouse_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B2A4 */
|
||||
static void wild_mouse_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
@@ -517,6 +530,7 @@ static void wild_mouse_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint
|
||||
wild_mouse_track_right_quarter_turn_3_25_deg_down(rideIndex, trackSequence, (direction + 1) % 4, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B314 */
|
||||
static void wild_mouse_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const sprite_bb imageIds[4][2] = {
|
||||
@@ -571,6 +585,7 @@ static void wild_mouse_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uin
|
||||
paint_util_set_general_support_height(height + generalSupportHeights[trackSequence], 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B324 */
|
||||
static void wild_mouse_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
@@ -583,6 +598,7 @@ static void wild_mouse_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSeq
|
||||
wild_mouse_track_right_quarter_turn_3(rideIndex, trackSequence, (direction + 1) % 4, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B394 */
|
||||
static void wild_mouse_track_left_quarter_turn_1(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4] = {
|
||||
@@ -613,11 +629,13 @@ static void wild_mouse_track_left_quarter_turn_1(uint8 rideIndex, uint8 trackSeq
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B3A4 */
|
||||
static void wild_mouse_track_right_quarter_turn_1(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_left_quarter_turn_1(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B354 */
|
||||
static void wild_mouse_track_flat_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -654,6 +672,7 @@ static void wild_mouse_track_flat_to_60_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B364 */
|
||||
static void wild_mouse_track_60_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -694,16 +713,19 @@ static void wild_mouse_track_60_deg_up_to_flat(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B374 */
|
||||
static void wild_mouse_track_flat_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_60_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B384 */
|
||||
static void wild_mouse_track_60_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wild_mouse_track_flat_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B344 */
|
||||
static void wild_mouse_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
uint32 imageId = _wild_mouse_brakes_image_ids[direction] | gTrackColours[SCHEME_TRACK];
|
||||
@@ -716,6 +738,7 @@ static void wild_mouse_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B3C4 */
|
||||
static void wild_mouse_track_rotation_control_toggle(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4] = {
|
||||
@@ -735,6 +758,7 @@ static void wild_mouse_track_rotation_control_toggle(uint8 rideIndex, uint8 trac
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B3B4 */
|
||||
static void wild_mouse_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
uint32 imageId = _wild_mouse_block_brakes_image_ids[direction] | gTrackColours[SCHEME_TRACK];
|
||||
|
||||
@@ -432,6 +432,7 @@ static void wooden_rc_track_paint_bb(const sprite_bb_2 *bb, sint16 height)
|
||||
sub_98199C(railsImageId, (sint8)bb->offset.x, (sint8)bb->offset.y, bb->bb_size.x, bb->bb_size.y, (sint8)bb->bb_size.z, height + bb->offset.z, bb->bb_offset.x, bb->bb_offset.y, height + bb->bb_offset.z, get_current_rotation());
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC568 */
|
||||
static void wooden_rc_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -481,6 +482,7 @@ static void wooden_rc_track_station(uint8 rideIndex, uint8 trackSequence, uint8
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC578 */
|
||||
static void wooden_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4][4] = {
|
||||
@@ -515,6 +517,7 @@ static void wooden_rc_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC588 */
|
||||
static void wooden_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -541,6 +544,7 @@ static void wooden_rc_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC598 */
|
||||
static void wooden_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4][4] = {
|
||||
@@ -575,6 +579,7 @@ static void wooden_rc_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC5A8 */
|
||||
static void wooden_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][4] = {
|
||||
@@ -602,6 +607,7 @@ static void wooden_rc_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC5B8 */
|
||||
static void wooden_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][4] = {
|
||||
@@ -629,6 +635,7 @@ static void wooden_rc_track_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC5C8 */
|
||||
static void wooden_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4][4] = {
|
||||
@@ -663,31 +670,37 @@ static void wooden_rc_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC5D8 */
|
||||
static void wooden_rc_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC5E8 */
|
||||
static void wooden_rc_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC5F8 */
|
||||
static void wooden_rc_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC608 */
|
||||
static void wooden_rc_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_60_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC618 */
|
||||
static void wooden_rc_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC628 */
|
||||
static void wooden_rc_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
@@ -806,6 +819,7 @@ static void wooden_rc_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequ
|
||||
wooden_rc_track_right_quarter_turn_5(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC658 */
|
||||
static void wooden_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][4] = {
|
||||
@@ -825,6 +839,7 @@ static void wooden_rc_track_flat_to_left_bank(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC668 */
|
||||
static void wooden_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][4] = {
|
||||
@@ -844,11 +859,13 @@ static void wooden_rc_track_flat_to_right_bank(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC678 */
|
||||
static void wooden_rc_track_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_flat_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC688 */
|
||||
static void wooden_rc_track_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_flat_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
@@ -967,6 +984,7 @@ static void wooden_rc_track_banked_left_quarter_turn_5(uint8 rideIndex, uint8 tr
|
||||
wooden_rc_track_banked_right_quarter_turn_5(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC6B8 */
|
||||
static void wooden_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][4] = {
|
||||
@@ -990,6 +1008,7 @@ static void wooden_rc_track_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC6C8 */
|
||||
static void wooden_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][4] = {
|
||||
@@ -1013,6 +1032,7 @@ static void wooden_rc_track_right_bank_to_25_deg_up(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC6D8 */
|
||||
static void wooden_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][4] = {
|
||||
@@ -1036,6 +1056,7 @@ static void wooden_rc_track_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC6E8 */
|
||||
static void wooden_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][4] = {
|
||||
@@ -1059,26 +1080,31 @@ static void wooden_rc_track_25_deg_up_to_right_bank(uint8 rideIndex, uint8 track
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC6F8 */
|
||||
static void wooden_rc_track_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up_to_right_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC708 */
|
||||
static void wooden_rc_track_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up_to_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC718 */
|
||||
static void wooden_rc_track_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_right_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC728 */
|
||||
static void wooden_rc_track_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_left_bank_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC738 */
|
||||
static void wooden_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -1095,11 +1121,13 @@ static void wooden_rc_track_left_bank(uint8 rideIndex, uint8 trackSequence, uint
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC748 */
|
||||
static void wooden_rc_track_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_left_bank(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC758 */
|
||||
static void wooden_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1277,6 +1305,7 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC768 */
|
||||
static void wooden_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1454,18 +1483,21 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC778 */
|
||||
static void wooden_rc_track_left_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
wooden_rc_track_right_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC788 */
|
||||
static void wooden_rc_track_right_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
wooden_rc_track_left_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC798 */
|
||||
static void wooden_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1603,6 +1635,7 @@ static void wooden_rc_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC7A8 */
|
||||
static void wooden_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1740,6 +1773,7 @@ static void wooden_rc_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACE18 */
|
||||
static void wooden_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1917,6 +1951,7 @@ static void wooden_rc_track_left_vertical_loop(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACE28 */
|
||||
static void wooden_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2094,6 +2129,7 @@ static void wooden_rc_track_right_vertical_loop(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC7E8 */
|
||||
static void wooden_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2200,12 +2236,14 @@ static void wooden_rc_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC7F8 */
|
||||
static void wooden_rc_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
wooden_rc_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC808 */
|
||||
static void wooden_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2312,12 +2350,14 @@ static void wooden_rc_track_left_quarter_turn_3_bank(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC818 */
|
||||
static void wooden_rc_track_right_quarter_turn_3_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
wooden_rc_track_left_quarter_turn_3_bank(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC828 */
|
||||
static void wooden_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2404,6 +2444,7 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC838 */
|
||||
static void wooden_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2490,18 +2531,21 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC848 */
|
||||
static void wooden_rc_track_left_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
wooden_rc_track_right_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC858 */
|
||||
static void wooden_rc_track_right_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
wooden_rc_track_left_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACAB8 */
|
||||
static void wooden_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2740,6 +2784,7 @@ static void wooden_rc_track_left_half_banked_helix_up_small(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACAC8 */
|
||||
static void wooden_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -2978,6 +3023,7 @@ static void wooden_rc_track_right_half_banked_helix_up_small(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACAD8 */
|
||||
static void wooden_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2988,6 +3034,7 @@ static void wooden_rc_track_left_half_banked_helix_down_small(uint8 rideIndex, u
|
||||
wooden_rc_track_right_half_banked_helix_up_small(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACAE8 */
|
||||
static void wooden_rc_track_right_half_banked_helix_down_small(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 4) {
|
||||
@@ -2998,6 +3045,7 @@ static void wooden_rc_track_right_half_banked_helix_down_small(uint8 rideIndex,
|
||||
wooden_rc_track_left_half_banked_helix_up_small(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACAF8 */
|
||||
static void wooden_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3348,6 +3396,7 @@ static void wooden_rc_track_left_half_banked_helix_up_large(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB08 */
|
||||
static void wooden_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -3698,6 +3747,7 @@ static void wooden_rc_track_right_half_banked_helix_up_large(uint8 rideIndex, ui
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB18 */
|
||||
static void wooden_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -3708,6 +3758,7 @@ static void wooden_rc_track_left_half_banked_helix_down_large(uint8 rideIndex, u
|
||||
wooden_rc_track_right_half_banked_helix_up_large(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB28 */
|
||||
static void wooden_rc_track_right_half_banked_helix_down_large(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
if (trackSequence >= 7) {
|
||||
@@ -3718,6 +3769,7 @@ static void wooden_rc_track_right_half_banked_helix_down_large(uint8 rideIndex,
|
||||
wooden_rc_track_left_half_banked_helix_up_large(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB98 */
|
||||
static void wooden_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3762,6 +3814,7 @@ static void wooden_rc_track_left_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB78 */
|
||||
static void wooden_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3806,16 +3859,19 @@ static void wooden_rc_track_right_quarter_turn_1_60_deg_up(uint8 rideIndex, uint
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB88 */
|
||||
static void wooden_rc_track_left_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_right_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACBA8 */
|
||||
static void wooden_rc_track_right_quarter_turn_1_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_left_quarter_turn_1_60_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC868 */
|
||||
static void wooden_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4][2] = {
|
||||
@@ -3832,6 +3888,7 @@ static void wooden_rc_track_brakes(uint8 rideIndex, uint8 trackSequence, uint8 d
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC78 */
|
||||
static void wooden_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3869,6 +3926,7 @@ static void wooden_rc_track_25_deg_up_left_banked(uint8 rideIndex, uint8 trackSe
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC88 */
|
||||
static void wooden_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3906,6 +3964,7 @@ static void wooden_rc_track_25_deg_up_right_banked(uint8 rideIndex, uint8 trackS
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC878 */
|
||||
static void wooden_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -3933,16 +3992,19 @@ static void wooden_rc_track_on_ride_photo(uint8 rideIndex, uint8 trackSequence,
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC98 */
|
||||
static void wooden_rc_track_25_deg_down_left_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up_right_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACCA8 */
|
||||
static void wooden_rc_track_25_deg_down_right_banked(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up_left_banked(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACE08 */
|
||||
static void wooden_rc_track_water_splash(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4168,6 +4230,7 @@ static void wooden_rc_track_water_splash(uint8 rideIndex, uint8 trackSequence, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC958 */
|
||||
static void wooden_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4311,6 +4374,7 @@ static void wooden_rc_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequ
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC968 */
|
||||
static void wooden_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4454,18 +4518,21 @@ static void wooden_rc_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC978 */
|
||||
static void wooden_rc_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
wooden_rc_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC988 */
|
||||
static void wooden_rc_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
wooden_rc_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC998 */
|
||||
static void wooden_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4609,6 +4676,7 @@ static void wooden_rc_track_left_eighth_bank_to_diag(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC9A8 */
|
||||
static void wooden_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4752,18 +4820,21 @@ static void wooden_rc_track_right_eighth_bank_to_diag(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC9B8 */
|
||||
static void wooden_rc_track_left_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
wooden_rc_track_right_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC9C8 */
|
||||
static void wooden_rc_track_right_eighth_bank_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
wooden_rc_track_left_eighth_bank_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC888 */
|
||||
static void wooden_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -4894,6 +4965,7 @@ static void wooden_rc_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC8B8 */
|
||||
static void wooden_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5024,6 +5096,7 @@ static void wooden_rc_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC8E8 */
|
||||
static void wooden_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5094,6 +5167,7 @@ static void wooden_rc_track_diag_60_deg_up(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC898 */
|
||||
static void wooden_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5224,6 +5298,7 @@ static void wooden_rc_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC8C8 */
|
||||
static void wooden_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5294,6 +5369,7 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC8D8 */
|
||||
static void wooden_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5364,6 +5440,7 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC8A8 */
|
||||
static void wooden_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5494,6 +5571,7 @@ static void wooden_rc_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC918 */
|
||||
static void wooden_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5624,6 +5702,7 @@ static void wooden_rc_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC948 */
|
||||
static void wooden_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5694,6 +5773,7 @@ static void wooden_rc_track_diag_60_deg_down(uint8 rideIndex, uint8 trackSequenc
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC8F8 */
|
||||
static void wooden_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5824,6 +5904,7 @@ static void wooden_rc_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC928 */
|
||||
static void wooden_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5894,6 +5975,7 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC938 */
|
||||
static void wooden_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -5964,6 +6046,7 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC908 */
|
||||
static void wooden_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6094,6 +6177,7 @@ static void wooden_rc_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trac
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA18 */
|
||||
static void wooden_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6164,6 +6248,7 @@ static void wooden_rc_track_diag_flat_to_left_bank(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC9F8 */
|
||||
static void wooden_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6234,6 +6319,7 @@ static void wooden_rc_track_diag_flat_to_right_bank(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA08 */
|
||||
static void wooden_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6304,6 +6390,7 @@ static void wooden_rc_track_diag_left_bank_to_flat(uint8 rideIndex, uint8 trackS
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA28 */
|
||||
static void wooden_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6374,6 +6461,7 @@ static void wooden_rc_track_diag_right_bank_to_flat(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA58 */
|
||||
static void wooden_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6444,6 +6532,7 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA68 */
|
||||
static void wooden_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6514,6 +6603,7 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA38 */
|
||||
static void wooden_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6584,6 +6674,7 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank(uint8 rideIndex, uint8 t
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA48 */
|
||||
static void wooden_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6654,6 +6745,7 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA78 */
|
||||
static void wooden_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6724,6 +6816,7 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA88 */
|
||||
static void wooden_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6794,6 +6887,7 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACA98 */
|
||||
static void wooden_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6864,6 +6958,7 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACAA8 */
|
||||
static void wooden_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -6934,6 +7029,7 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank(uint8 rideIndex, uint
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC9D8 */
|
||||
static void wooden_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7004,6 +7100,7 @@ static void wooden_rc_track_diag_left_bank(uint8 rideIndex, uint8 trackSequence,
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC9E8 */
|
||||
static void wooden_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7074,6 +7171,7 @@ static void wooden_rc_track_diag_right_bank(uint8 rideIndex, uint8 trackSequence
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB38 */
|
||||
static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7160,6 +7258,7 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up(uint8 rid
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB48 */
|
||||
static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7246,6 +7345,7 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up(uint8 r
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB58 */
|
||||
static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7332,6 +7432,7 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank(uint8 r
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACB68 */
|
||||
static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7418,6 +7519,7 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank(uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACDF8 */
|
||||
static void wooden_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_paint(
|
||||
@@ -7429,6 +7531,7 @@ static void wooden_rc_track_block_brakes(uint8 rideIndex, uint8 trackSequence, u
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACCB8 */
|
||||
static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7515,6 +7618,7 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACCC8 */
|
||||
static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7601,18 +7705,21 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACCD8 */
|
||||
static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
wooden_rc_track_right_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACCE8 */
|
||||
static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
wooden_rc_track_left_banked_quarter_turn_3_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC38 */
|
||||
static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7790,6 +7897,7 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up(uint8 rideIndex
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC48 */
|
||||
static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -7967,18 +8075,21 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up(uint8 rideInde
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC58 */
|
||||
static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
wooden_rc_track_right_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction + 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC68 */
|
||||
static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
wooden_rc_track_left_banked_quarter_turn_5_25_deg_up(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACCF8 */
|
||||
static void wooden_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8012,6 +8123,7 @@ static void wooden_rc_track_25_deg_up_to_left_banked_25_deg_up(uint8 rideIndex,
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD08 */
|
||||
static void wooden_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8045,6 +8157,7 @@ static void wooden_rc_track_25_deg_up_to_right_banked_25_deg_up(uint8 rideIndex,
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD18 */
|
||||
static void wooden_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8078,6 +8191,7 @@ static void wooden_rc_track_left_banked_25_deg_up_to_25_deg_up(uint8 rideIndex,
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD28 */
|
||||
static void wooden_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8111,26 +8225,31 @@ static void wooden_rc_track_right_banked_25_deg_up_to_25_deg_up(uint8 rideIndex,
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD38 */
|
||||
static void wooden_rc_track_25_deg_down_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_right_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD48 */
|
||||
static void wooden_rc_track_25_deg_down_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_left_banked_25_deg_up_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD58 */
|
||||
static void wooden_rc_track_left_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD68 */
|
||||
static void wooden_rc_track_right_banked_25_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_25_deg_up_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD78 */
|
||||
static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8168,6 +8287,7 @@ static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up(uint8 ride
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD88 */
|
||||
static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8205,6 +8325,7 @@ static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up(uint8 ri
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACD98 */
|
||||
static void wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8242,6 +8363,7 @@ static void wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat(uint8 ride
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACDA8 */
|
||||
static void wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8279,26 +8401,31 @@ static void wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat(uint8 ri
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACDB8 */
|
||||
static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACDC8 */
|
||||
static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACDD8 */
|
||||
static void wooden_rc_track_left_banked_25_deg_down_to_left_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACDE8 */
|
||||
static void wooden_rc_track_right_banked_25_deg_down_to_right_banked_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACBB8 */
|
||||
static void wooden_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8336,6 +8463,7 @@ static void wooden_rc_track_flat_to_left_banked_25_deg_up(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACBC8 */
|
||||
static void wooden_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8373,6 +8501,7 @@ static void wooden_rc_track_flat_to_right_banked_25_deg_up(uint8 rideIndex, uint
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACBD8 */
|
||||
static void wooden_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8410,6 +8539,7 @@ static void wooden_rc_track_left_banked_25_deg_up_to_flat(uint8 rideIndex, uint8
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACBE8 */
|
||||
static void wooden_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -8447,21 +8577,25 @@ static void wooden_rc_track_right_banked_25_deg_up_to_flat(uint8 rideIndex, uint
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACBF8 */
|
||||
static void wooden_rc_track_flat_to_left_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_right_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC08 */
|
||||
static void wooden_rc_track_flat_to_right_banked_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_left_banked_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC18 */
|
||||
static void wooden_rc_track_left_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_flat_to_right_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC28 */
|
||||
static void wooden_rc_track_right_banked_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_rc_track_flat_to_left_banked_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
|
||||
@@ -127,6 +127,7 @@ enum {
|
||||
SPR_WOODEN_WILD_MOUSE_QUARTER_TURN_3_SE_NE_PART_2 = 28632,
|
||||
};
|
||||
|
||||
/** rct2: 0x008A5464 */
|
||||
static void wooden_wild_mouse_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[4] = {
|
||||
@@ -163,6 +164,7 @@ static void wooden_wild_mouse_track_station(uint8 rideIndex, uint8 trackSequence
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5474 */
|
||||
static void wooden_wild_mouse_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4] = {
|
||||
@@ -196,6 +198,7 @@ static void wooden_wild_mouse_track_25_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5484 */
|
||||
static void wooden_wild_mouse_track_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4] = {
|
||||
@@ -233,6 +236,7 @@ static void wooden_wild_mouse_track_60_deg_up(uint8 rideIndex, uint8 trackSequen
|
||||
paint_util_set_general_support_height(height + 104, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5494 */
|
||||
static void wooden_wild_mouse_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4] = {
|
||||
@@ -266,6 +270,7 @@ static void wooden_wild_mouse_track_flat_to_25_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A54A4 */
|
||||
static void wooden_wild_mouse_track_25_deg_up_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4][2] = {
|
||||
@@ -348,6 +353,7 @@ static void wooden_wild_mouse_track_60_deg_to_25_deg_up(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A54C4 */
|
||||
static void wooden_wild_mouse_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4] = {
|
||||
@@ -381,31 +387,37 @@ static void wooden_wild_mouse_track_25_deg_up_to_flat(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 40, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A54D4 */
|
||||
static void wooden_wild_mouse_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A54E4 */
|
||||
static void wooden_wild_mouse_track_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A54F4 */
|
||||
static void wooden_wild_mouse_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5504 */
|
||||
static void wooden_wild_mouse_track_25_deg_down_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_60_deg_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5514 */
|
||||
static void wooden_wild_mouse_track_60_deg_down_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_25_deg_up_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5524 */
|
||||
static void wooden_wild_mouse_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
@@ -494,11 +506,13 @@ static void wooden_wild_mouse_track_left_quarter_turn_1(uint8 rideIndex, uint8 t
|
||||
paint_util_set_general_support_height(height + 32, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A55D4 */
|
||||
static void wooden_wild_mouse_track_right_quarter_turn_1(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_left_quarter_turn_1(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A55E4 */
|
||||
static void wooden_wild_mouse_track_flat_to_60_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4][2] = {
|
||||
@@ -540,6 +554,7 @@ static void wooden_wild_mouse_track_flat_to_60_deg_up(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A55F4 */
|
||||
static void wooden_wild_mouse_track_60_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
static const uint32 imageIds[2][4][2] = {
|
||||
@@ -581,11 +596,13 @@ static void wooden_wild_mouse_track_60_deg_up_to_flat(uint8 rideIndex, uint8 tra
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5604 */
|
||||
static void wooden_wild_mouse_track_flat_to_60_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_60_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5614 */
|
||||
static void wooden_wild_mouse_track_60_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
wooden_wild_mouse_track_flat_to_60_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "../track_data.h"
|
||||
#include "../track_paint.h"
|
||||
|
||||
/** rct2: 0x008636F4 */
|
||||
static void suspended_monorail_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -65,6 +66,7 @@ static void suspended_monorail_track_station(uint8 rideIndex, uint8 trackSequenc
|
||||
paint_util_set_general_support_height(height + 48, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863704 */
|
||||
static void suspended_monorail_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -102,6 +104,7 @@ static void suspended_monorail_track_25_deg_up(uint8 rideIndex, uint8 trackSeque
|
||||
paint_util_set_general_support_height(height + 72, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863714 */
|
||||
static void suspended_monorail_track_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -139,6 +142,7 @@ static void suspended_monorail_track_flat_to_25_deg_up(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 64, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863724 */
|
||||
static void suspended_monorail_track_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (direction) {
|
||||
@@ -176,21 +180,25 @@ static void suspended_monorail_track_25_deg_up_to_flat(uint8 rideIndex, uint8 tr
|
||||
paint_util_set_general_support_height(height + 56, 0x20);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863734 */
|
||||
static void suspended_monorail_track_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
suspended_monorail_track_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863744 */
|
||||
static void suspended_monorail_track_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
suspended_monorail_track_25_deg_up_to_flat(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863754 */
|
||||
static void suspended_monorail_track_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
suspended_monorail_track_flat_to_25_deg_up(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863764 */
|
||||
static void suspended_monorail_track_left_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -306,12 +314,14 @@ static void suspended_monorail_track_left_quarter_turn_5(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863774 */
|
||||
static void suspended_monorail_track_right_quarter_turn_5(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn5TilesToRightQuarterTurn5Tiles[trackSequence];
|
||||
suspended_monorail_track_left_quarter_turn_5(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863784 */
|
||||
static void suspended_monorail_track_s_bend_left(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -407,6 +417,7 @@ static void suspended_monorail_track_s_bend_left(uint8 rideIndex, uint8 trackSeq
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863794 */
|
||||
static void suspended_monorail_track_s_bend_right(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -502,6 +513,7 @@ static void suspended_monorail_track_s_bend_right(uint8 rideIndex, uint8 trackSe
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008637D4 */
|
||||
static void suspended_monorail_track_left_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -578,12 +590,14 @@ static void suspended_monorail_track_left_quarter_turn_3(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x008637E4 */
|
||||
static void suspended_monorail_track_right_quarter_turn_3(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftQuarterTurn3TilesToRightQuarterTurn3Tiles[trackSequence];
|
||||
suspended_monorail_track_left_quarter_turn_3(rideIndex, trackSequence, (direction - 1) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863864 */
|
||||
static void suspended_monorail_track_left_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -674,6 +688,7 @@ static void suspended_monorail_track_left_eighth_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863874 */
|
||||
static void suspended_monorail_track_right_eighth_to_diag(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -764,18 +779,21 @@ static void suspended_monorail_track_right_eighth_to_diag(uint8 rideIndex, uint8
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863884 */
|
||||
static void suspended_monorail_track_left_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
suspended_monorail_track_right_eighth_to_diag(rideIndex, trackSequence, (direction + 2) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x00863894 */
|
||||
static void suspended_monorail_track_right_eighth_to_orthogonal(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
trackSequence = mapLeftEighthTurnToOrthogonal[trackSequence];
|
||||
suspended_monorail_track_left_eighth_to_diag(rideIndex, trackSequence, (direction + 3) & 3, height, mapElement);
|
||||
}
|
||||
|
||||
/** rct2: 0x008637F4 */
|
||||
static void suspended_monorail_track_diag_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -828,6 +846,7 @@ static void suspended_monorail_track_diag_flat(uint8 rideIndex, uint8 trackSeque
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863824 */
|
||||
static void suspended_monorail_track_diag_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -880,6 +899,7 @@ static void suspended_monorail_track_diag_25_deg_up(uint8 rideIndex, uint8 track
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863804 */
|
||||
static void suspended_monorail_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -932,6 +952,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863814 */
|
||||
static void suspended_monorail_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -984,6 +1005,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat(uint8 rideIndex, uin
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863854 */
|
||||
static void suspended_monorail_track_diag_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1036,6 +1058,7 @@ static void suspended_monorail_track_diag_25_deg_down(uint8 rideIndex, uint8 tra
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863834 */
|
||||
static void suspended_monorail_track_diag_flat_to_25_deg_down(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
@@ -1088,6 +1111,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down(uint8 rideIndex, u
|
||||
}
|
||||
}
|
||||
|
||||
/** rct2: 0x00863844 */
|
||||
static void suspended_monorail_track_diag_25_deg_down_to_flat(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)
|
||||
{
|
||||
switch (trackSequence) {
|
||||
|
||||
@@ -134,6 +134,7 @@ private:
|
||||
|
||||
void GenerateTrackFunction(int trackType)
|
||||
{
|
||||
WriteLine(0, "/** rct2: 0x%08X */", RideTypeTrackPaintFunctionsOld[_rideType][trackType]);
|
||||
WriteLine(0, "static void " + GetTrackFunctionName(trackType) + "(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement)");
|
||||
WriteLine(0, "{");
|
||||
if (!GenerateMirrorCall(1, trackType))
|
||||
|
||||
@@ -263,7 +263,9 @@ static bool openrct2_setup_rct2_segment()
|
||||
// necessary. Windows does not need to do this as OpenRCT2 runs as a DLL loaded from the Windows PE.
|
||||
int len = 0x01429000 - 0x8a4000; // 0xB85000, 12079104 bytes or around 11.5MB
|
||||
int err = 0;
|
||||
|
||||
// in some configurations err and len may be unused
|
||||
UNUSED(err);
|
||||
UNUSED(len);
|
||||
#if defined(__unix__)
|
||||
int pageSize = getpagesize();
|
||||
int numPages = (len + pageSize - 1) / pageSize;
|
||||
|
||||
Reference in new issue
Block a user