mirror of https://github.com/OpenRCT2/OpenRCT2.git
commit
5f5ae2cdb4
|
@ -748,7 +748,7 @@ enum {
|
|||
RIDE_TYPE_FLAG_HAS_DATA_LOGGING = 1 << 9,
|
||||
RIDE_TYPE_FLAG_HAS_DROPS = 1 << 10,
|
||||
RIDE_TYPE_FLAG_NO_TEST_MODE = 1 << 11,
|
||||
RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIATIES = 1 << 12, // used by rides with two variaties, like the u and o shapes of the dinghy slide and the dry and submerged track of the water coaster
|
||||
RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES = 1 << 12, // used by rides with two variaties, like the u and o shapes of the dinghy slide and the dry and submerged track of the water coaster
|
||||
RIDE_TYPE_FLAG_13 = 1 << 13, // used only by maze, spiral slide and shops
|
||||
RIDE_TYPE_FLAG_HAS_LOAD_OPTIONS = 1 << 14,
|
||||
RIDE_TYPE_FLAG_15 = 1 << 15, // something to do with station, price and viewport zoom
|
||||
|
|
|
@ -1139,7 +1139,7 @@ static void window_ride_construction_resize(rct_window *w)
|
|||
disabledWidgets |= (1ULL << WIDX_CONSTRUCT);
|
||||
}
|
||||
}
|
||||
if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIATIES)) {
|
||||
if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES)) {
|
||||
disabledWidgets &= ~(1ULL << WIDX_BANKING_GROUPBOX);
|
||||
}
|
||||
if (_rideConstructionState == RIDE_CONSTRUCTION_STATE_ENTRANCE_EXIT || _rideConstructionState == RIDE_CONSTRUCTION_STATE_SELECTED) {
|
||||
|
@ -2879,7 +2879,7 @@ static void window_ride_construction_update_widgets(rct_window *w)
|
|||
window_ride_construction_widgets[WIDX_BANK_STRAIGHT].type = WWT_FLATBTN;
|
||||
window_ride_construction_widgets[WIDX_BANK_RIGHT].type = WWT_FLATBTN;
|
||||
}
|
||||
if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIATIES)) {
|
||||
if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES)) {
|
||||
if (rideType == RIDE_TYPE_WATER_COASTER) {
|
||||
window_ride_construction_widgets[WIDX_U_TRACK].image = 5158;
|
||||
window_ride_construction_widgets[WIDX_O_TRACK].image = 5159;
|
||||
|
@ -3061,7 +3061,7 @@ static void window_ride_construction_update_widgets(rct_window *w)
|
|||
pressedWidgets |= (1ULL << widgetIndex);
|
||||
|
||||
if (RCT2_GLOBAL(0x00F440D3, uint8) == 0) {
|
||||
if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIATIES)) {
|
||||
if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES)) {
|
||||
if (_currentTrackCovered & 1) {
|
||||
w->pressed_widgets |= (1ULL << WIDX_O_TRACK);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue