mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
add warning message for two unstable cheats
This commit is contained in:
@@ -3900,7 +3900,8 @@ STR_5558 :A restart is required for this setting to take effect
|
||||
STR_5559 :10 min. inspections
|
||||
STR_5560 :{SMALLFONT}{BLACK}Sets the inspection time to 'Every 10 minutes' on all rides
|
||||
STR_5561 :Failed to load language file
|
||||
|
||||
STR_5562 :WARNING!
|
||||
STR_5563 :This feature is currently unstable, take extra caution.
|
||||
|
||||
#####################
|
||||
# Rides/attractions #
|
||||
|
||||
@@ -2148,6 +2148,8 @@ enum {
|
||||
STR_RESTART_REQUIRED = 5558,
|
||||
STR_LANGUAGE_LOAD_FAILED = 5561,
|
||||
|
||||
STR_WARNING_IN_CAPS = 5562,
|
||||
STR_THIS_FEATURE_IS_CURRENTLY_UNSTABLE = 5563,
|
||||
|
||||
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
|
||||
STR_COUNT = 32768
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include "../world/scenery.h"
|
||||
#include "../interface/themes.h"
|
||||
#include "../cheats.h"
|
||||
#include "error.h"
|
||||
|
||||
#define CHEATS_MONEY_INCREMENT MONEY(5000,00)
|
||||
#define CHEATS_TRAM_INCREMENT 250
|
||||
@@ -1030,9 +1031,15 @@ static void window_cheats_rides_mouseup(rct_window *w, int widgetIndex)
|
||||
break;
|
||||
case WIDX_SHOW_ALL_OPERATING_MODES:
|
||||
gCheatsShowAllOperatingModes = !gCheatsShowAllOperatingModes;
|
||||
if (gCheatsShowAllOperatingModes) {
|
||||
window_error_open(STR_WARNING_IN_CAPS, STR_THIS_FEATURE_IS_CURRENTLY_UNSTABLE);
|
||||
}
|
||||
break;
|
||||
case WIDX_SHOW_VEHICLES_FROM_OTHER_TRACK_TYPES:
|
||||
gCheatsShowVehiclesFromOtherTrackTypes = !gCheatsShowVehiclesFromOtherTrackTypes;
|
||||
if (gCheatsShowVehiclesFromOtherTrackTypes) {
|
||||
window_error_open(STR_WARNING_IN_CAPS, STR_THIS_FEATURE_IS_CURRENTLY_UNSTABLE);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user