forked from rosebudai/OpenRCT2-Web
This commit is contained in:
1 parent
a4e4040a0c
commit
bb72fd6021
8 files changed
+90
-5
No files matched your search
@@ -3680,6 +3680,7 @@ STR_6363 :Copied text to clipboard
|
||||
STR_6364 :{RED}{COMMA16} person has died in an accident on {STRINGID}
|
||||
STR_6365 :Ride casualties
|
||||
STR_6366 :Stuck or stalled vehicles
|
||||
STR_6367 :{WINDOW_COLOUR_2}Animation frame:
|
||||
|
||||
#############
|
||||
# Scenarios #
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
0.2.6+ (in development)
|
||||
------------------------------------------------------------------------
|
||||
- Feature: [#9029] Open doors with the tile inspector.
|
||||
- Feature: [#11231] Change shortcut window list order to be more intuitive, and split it into logical sections.
|
||||
- Fix: [#11072] Land and water tools working out of bounds (original bug).
|
||||
- Fix: [#11315] Ride that has never opened is shown as favorite ride of many guests.
|
||||
|
||||
@@ -84,7 +84,8 @@ static constexpr const rct_string_id ParkEntrancePartStringIds[] = {
|
||||
static constexpr const rct_string_id WallSlopeStringIds[] = {
|
||||
STR_TILE_INSPECTOR_WALL_FLAT,
|
||||
STR_TILE_INSPECTOR_WALL_SLOPED_LEFT,
|
||||
STR_TILE_INSPECTOR_WALL_SLOPED_RIGHT
|
||||
STR_TILE_INSPECTOR_WALL_SLOPED_RIGHT,
|
||||
STR_TILE_INSPECTOR_WALL_ANIMATION_FRAME
|
||||
};
|
||||
|
||||
enum WINDOW_TILE_INSPECTOR_WIDGET_IDX {
|
||||
@@ -177,6 +178,9 @@ enum WINDOW_TILE_INSPECTOR_WIDGET_IDX {
|
||||
WIDX_WALL_SPINNER_HEIGHT_DECREASE,
|
||||
WIDX_WALL_DROPDOWN_SLOPE,
|
||||
WIDX_WALL_DROPDOWN_SLOPE_BUTTON,
|
||||
WIDX_WALL_SPINNER_ANIMATION_FRAME,
|
||||
WIDX_WALL_SPINNER_ANIMATION_FRAME_INCREASE,
|
||||
WIDX_WALL_SPINNER_ANIMATION_FRAME_DECREASE,
|
||||
|
||||
// Large
|
||||
WIDX_LARGE_SCENERY_SPINNER_HEIGHT = PAGE_WIDGETS,
|
||||
@@ -357,7 +361,7 @@ static rct_widget EntranceWidgets[] = {
|
||||
};
|
||||
|
||||
constexpr int32_t WALL_GBPB = PADDING_BOTTOM; // Wall group box properties bottom
|
||||
constexpr int32_t WALL_GBPT = WALL_GBPB + 16 + 2 * 21; // Wall group box properties top
|
||||
constexpr int32_t WALL_GBPT = WALL_GBPB + 16 + 3 * 21; // Wall group box properties top
|
||||
constexpr int32_t WALL_GBDB = WALL_GBPT + GROUPBOX_PADDING; // Wall group box info bottom
|
||||
constexpr int32_t WALL_GBDT = WALL_GBDB + 20 + 2 * 11; // Wall group box info top
|
||||
static rct_widget WallWidgets[] = {
|
||||
@@ -365,6 +369,7 @@ static rct_widget WallWidgets[] = {
|
||||
SPINNER_WIDGETS (1, GBBL(1), GBBR(1), GBBT(WH - WALL_GBPT, 0) + 3, GBBB(WH - WALL_GBPT, 0) - 3, STR_NONE, STR_NONE), // WIDX_WALL_SPINNER_HEIGHT{,_INCREASE,_DECREASE}
|
||||
{ WWT_DROPDOWN, 1, GBD(WH - WALL_GBPT, 1, 1), STR_NONE, STR_NONE }, // WIDX_WALL_DROPDOWN_SLOPE
|
||||
{ WWT_BUTTON, 1, GBDB(WH - WALL_GBPT, 1, 1), STR_DROPDOWN_GLYPH, STR_NONE }, // WIDX_WALL_DROPDOWN_SLOPE_BUTTON
|
||||
SPINNER_WIDGETS (1, GBBL(1), GBBR(1), GBBT(WH - WALL_GBPT, 2) + 3, GBBB(WH - WALL_GBPT, 2) - 3, STR_NONE, STR_NONE), // WIDX_WALL_SPINNER_ANIMATION_FRAME{,_INCREASE,_DECREASE}
|
||||
{ WIDGETS_END },
|
||||
};
|
||||
|
||||
@@ -507,7 +512,7 @@ static uint64_t PageEnabledWidgets[] = {
|
||||
(1ULL << WIDX_CLOSE) | (1ULL << WIDX_BUTTON_CORRUPT) | (1ULL << WIDX_BUTTON_REMOVE) | (1ULL << WIDX_BUTTON_ROTATE) | (1ULL << WIDX_BUTTON_COPY) | (1ULL << WIDX_TRACK_CHECK_APPLY_TO_ALL) | (1ULL << WIDX_TRACK_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_TRACK_SPINNER_HEIGHT_DECREASE) | (1ULL << WIDX_TRACK_CHECK_CHAIN_LIFT) | (1ULL << WIDX_TRACK_CHECK_BLOCK_BRAKE_CLOSED) | (1ULL << WIDX_TRACK_CHECK_IS_INDESTRUCTIBLE),
|
||||
(1ULL << WIDX_CLOSE) | (1ULL << WIDX_BUTTON_CORRUPT) | (1ULL << WIDX_BUTTON_REMOVE) | (1ULL << WIDX_BUTTON_ROTATE) | (1ULL << WIDX_BUTTON_COPY) | (1ULL << WIDX_SCENERY_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_SCENERY_SPINNER_HEIGHT_DECREASE) | (1ULL << WIDX_SCENERY_CHECK_QUARTER_N) | (1ULL << WIDX_SCENERY_CHECK_QUARTER_E) | (1ULL << WIDX_SCENERY_CHECK_QUARTER_S) | (1ULL << WIDX_SCENERY_CHECK_QUARTER_W) | (1ULL << WIDX_SCENERY_CHECK_COLLISION_N) | (1ULL << WIDX_SCENERY_CHECK_COLLISION_E) | (1ULL << WIDX_SCENERY_CHECK_COLLISION_S) | (1ULL << WIDX_SCENERY_CHECK_COLLISION_W),
|
||||
(1ULL << WIDX_CLOSE) | (1ULL << WIDX_BUTTON_CORRUPT) | (1ULL << WIDX_BUTTON_REMOVE) | (1ULL << WIDX_BUTTON_ROTATE) | (1ULL << WIDX_BUTTON_COPY) | (1ULL << WIDX_ENTRANCE_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_ENTRANCE_SPINNER_HEIGHT_DECREASE) | (1ULL << WIDX_ENTRANCE_BUTTON_MAKE_USABLE),
|
||||
(1ULL << WIDX_CLOSE) | (1ULL << WIDX_BUTTON_CORRUPT) | (1ULL << WIDX_BUTTON_REMOVE) | (1ULL << WIDX_BUTTON_ROTATE) | (1ULL << WIDX_BUTTON_COPY) | (1ULL << WIDX_WALL_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_WALL_SPINNER_HEIGHT_DECREASE) | (1ULL << WIDX_WALL_DROPDOWN_SLOPE) | (1ULL << WIDX_WALL_DROPDOWN_SLOPE_BUTTON),
|
||||
(1ULL << WIDX_CLOSE) | (1ULL << WIDX_BUTTON_CORRUPT) | (1ULL << WIDX_BUTTON_REMOVE) | (1ULL << WIDX_BUTTON_ROTATE) | (1ULL << WIDX_BUTTON_COPY) | (1ULL << WIDX_WALL_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_WALL_SPINNER_HEIGHT_DECREASE) | (1ULL << WIDX_WALL_DROPDOWN_SLOPE) | (1ULL << WIDX_WALL_DROPDOWN_SLOPE_BUTTON) | (1ULL << WIDX_WALL_SPINNER_ANIMATION_FRAME_INCREASE) | (1ULL << WIDX_WALL_SPINNER_ANIMATION_FRAME_DECREASE),
|
||||
(1ULL << WIDX_CLOSE) | (1ULL << WIDX_BUTTON_CORRUPT) | (1ULL << WIDX_BUTTON_REMOVE) | (1ULL << WIDX_BUTTON_COPY) | (1ULL << WIDX_LARGE_SCENERY_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_LARGE_SCENERY_SPINNER_HEIGHT_DECREASE),
|
||||
(1ULL << WIDX_CLOSE) | (1ULL << WIDX_BUTTON_CORRUPT) | (1ULL << WIDX_BUTTON_REMOVE) | (1ULL << WIDX_BUTTON_ROTATE) | (1ULL << WIDX_BUTTON_COPY) | (1ULL << WIDX_BANNER_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_BANNER_SPINNER_HEIGHT_DECREASE) | (1ULL << WIDX_BANNER_CHECK_BLOCK_NE) | (1ULL << WIDX_BANNER_CHECK_BLOCK_SE) | (1ULL << WIDX_BANNER_CHECK_BLOCK_SW) | (1ULL << WIDX_BANNER_CHECK_BLOCK_NW),
|
||||
(1ULL << WIDX_CLOSE) | (1ULL << WIDX_BUTTON_CORRUPT) | (1ULL << WIDX_BUTTON_REMOVE) | (1ULL << WIDX_BUTTON_COPY) | (1ULL << WIDX_CORRUPT_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_CORRUPT_SPINNER_HEIGHT_DECREASE) | (1ULL << WIDX_CORRUPT_BUTTON_CLAMP),
|
||||
@@ -520,7 +525,7 @@ static uint64_t PageHoldDownWidgets[] = {
|
||||
(1ULL << WIDX_SPINNER_X_INCREASE) | (1ULL << WIDX_SPINNER_X_DECREASE) | (1ULL << WIDX_SPINNER_Y_INCREASE) | (1ULL << WIDX_SPINNER_Y_DECREASE) | (1ULL << WIDX_TRACK_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_TRACK_SPINNER_HEIGHT_DECREASE),
|
||||
(1ULL << WIDX_SPINNER_X_INCREASE) | (1ULL << WIDX_SPINNER_X_DECREASE) | (1ULL << WIDX_SPINNER_Y_INCREASE) | (1ULL << WIDX_SPINNER_Y_DECREASE) | (1ULL << WIDX_SCENERY_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_SCENERY_SPINNER_HEIGHT_DECREASE),
|
||||
(1ULL << WIDX_SPINNER_X_INCREASE) | (1ULL << WIDX_SPINNER_X_DECREASE) | (1ULL << WIDX_SPINNER_Y_INCREASE) | (1ULL << WIDX_SPINNER_Y_DECREASE) | (1ULL << WIDX_ENTRANCE_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_ENTRANCE_SPINNER_HEIGHT_DECREASE),
|
||||
(1ULL << WIDX_SPINNER_X_INCREASE) | (1ULL << WIDX_SPINNER_X_DECREASE) | (1ULL << WIDX_SPINNER_Y_INCREASE) | (1ULL << WIDX_SPINNER_Y_DECREASE) | (1ULL << WIDX_WALL_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_WALL_SPINNER_HEIGHT_DECREASE),
|
||||
(1ULL << WIDX_SPINNER_X_INCREASE) | (1ULL << WIDX_SPINNER_X_DECREASE) | (1ULL << WIDX_SPINNER_Y_INCREASE) | (1ULL << WIDX_SPINNER_Y_DECREASE) | (1ULL << WIDX_WALL_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_WALL_SPINNER_HEIGHT_DECREASE) | (1ULL << WIDX_WALL_SPINNER_ANIMATION_FRAME_INCREASE) | (1ULL << WIDX_WALL_SPINNER_ANIMATION_FRAME_DECREASE),
|
||||
(1ULL << WIDX_SPINNER_X_INCREASE) | (1ULL << WIDX_SPINNER_X_DECREASE) | (1ULL << WIDX_SPINNER_Y_INCREASE) | (1ULL << WIDX_SPINNER_Y_DECREASE) | (1ULL << WIDX_LARGE_SCENERY_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_LARGE_SCENERY_SPINNER_HEIGHT_DECREASE),
|
||||
(1ULL << WIDX_SPINNER_X_INCREASE) | (1ULL << WIDX_SPINNER_X_DECREASE) | (1ULL << WIDX_SPINNER_Y_INCREASE) | (1ULL << WIDX_SPINNER_Y_DECREASE) | (1ULL << WIDX_BANNER_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_BANNER_SPINNER_HEIGHT_DECREASE),
|
||||
(1ULL << WIDX_SPINNER_X_INCREASE) | (1ULL << WIDX_SPINNER_X_DECREASE) | (1ULL << WIDX_SPINNER_Y_INCREASE) | (1ULL << WIDX_SPINNER_Y_DECREASE) | (1ULL << WIDX_CORRUPT_SPINNER_HEIGHT_INCREASE) | (1ULL << WIDX_CORRUPT_SPINNER_HEIGHT_DECREASE),
|
||||
@@ -728,6 +733,13 @@ static void window_tile_inspector_wall_set_slope(int32_t elementIndex, int32_t s
|
||||
GameActions::Execute(&modifyTile);
|
||||
}
|
||||
|
||||
static void window_tile_inspector_wall_animation_frame_offset(int16_t elementIndex, int8_t animationFrameOffset)
|
||||
{
|
||||
auto modifyTile = TileModifyAction(
|
||||
windowTileInspectorToolMap, TileModifyType::WallSetAnimationFrame, elementIndex, animationFrameOffset);
|
||||
GameActions::Execute(&modifyTile);
|
||||
}
|
||||
|
||||
static void window_tile_inspector_track_block_height_offset(int32_t elementIndex, int8_t heightOffset)
|
||||
{
|
||||
auto modifyTile = TileModifyAction(
|
||||
@@ -1117,6 +1129,7 @@ static void window_tile_inspector_mousedown(rct_window* w, rct_widgetindex widge
|
||||
window_tile_inspector_base_height_offset(windowTileInspectorSelectedIndex, -1);
|
||||
break;
|
||||
case WIDX_WALL_DROPDOWN_SLOPE_BUTTON:
|
||||
{
|
||||
// Use dropdown instead of dropdown button
|
||||
widget--;
|
||||
|
||||
@@ -1135,6 +1148,13 @@ static void window_tile_inspector_mousedown(rct_window* w, rct_widgetindex widge
|
||||
TileElement* const tileElement = window_tile_inspector_get_selected_element(w);
|
||||
dropdown_set_checked(tileElement->AsWall()->GetSlope(), true);
|
||||
break;
|
||||
}
|
||||
case WIDX_WALL_SPINNER_ANIMATION_FRAME_INCREASE:
|
||||
window_tile_inspector_wall_animation_frame_offset(windowTileInspectorSelectedIndex, 1);
|
||||
break;
|
||||
case WIDX_WALL_SPINNER_ANIMATION_FRAME_DECREASE:
|
||||
window_tile_inspector_wall_animation_frame_offset(windowTileInspectorSelectedIndex, -1);
|
||||
break;
|
||||
} // switch widget index
|
||||
break;
|
||||
|
||||
@@ -1652,14 +1672,25 @@ static void window_tile_inspector_invalidate(rct_window* w)
|
||||
w->widgets[WIDX_WALL_DROPDOWN_SLOPE].text = WallSlopeStringIds[tileElement->AsWall()->GetSlope()];
|
||||
w->widgets[WIDX_WALL_DROPDOWN_SLOPE_BUTTON].top = GBBT(propertiesAnchor, 1) + 4;
|
||||
w->widgets[WIDX_WALL_DROPDOWN_SLOPE_BUTTON].bottom = GBBB(propertiesAnchor, 1) - 4;
|
||||
w->widgets[WIDX_WALL_SPINNER_ANIMATION_FRAME].top = GBBT(propertiesAnchor, 2) + 3;
|
||||
w->widgets[WIDX_WALL_SPINNER_ANIMATION_FRAME].bottom = GBBB(propertiesAnchor, 2) - 3;
|
||||
w->widgets[WIDX_WALL_SPINNER_ANIMATION_FRAME_INCREASE].top = GBBT(propertiesAnchor, 2) + 4;
|
||||
w->widgets[WIDX_WALL_SPINNER_ANIMATION_FRAME_INCREASE].bottom = GBBB(propertiesAnchor, 2) - 4;
|
||||
w->widgets[WIDX_WALL_SPINNER_ANIMATION_FRAME_DECREASE].top = GBBT(propertiesAnchor, 2) + 4;
|
||||
w->widgets[WIDX_WALL_SPINNER_ANIMATION_FRAME_DECREASE].bottom = GBBB(propertiesAnchor, 2) - 4;
|
||||
const auto wallType = tileElement->AsWall()->GetEntryIndex();
|
||||
const rct_wall_scenery_entry wallEntry = get_wall_entry(wallType)->wall;
|
||||
const bool canBeSloped = !(wallEntry.flags & WALL_SCENERY_CANT_BUILD_ON_SLOPE);
|
||||
const bool hasAnimation = wallEntry.flags & WALL_SCENERY_IS_DOOR;
|
||||
// Wall slope dropdown
|
||||
widget_set_enabled(w, WIDX_WALL_DROPDOWN_SLOPE, canBeSloped);
|
||||
widget_invalidate(w, WIDX_WALL_DROPDOWN_SLOPE);
|
||||
widget_set_enabled(w, WIDX_WALL_DROPDOWN_SLOPE_BUTTON, canBeSloped);
|
||||
widget_invalidate(w, WIDX_WALL_DROPDOWN_SLOPE_BUTTON);
|
||||
// Wall animation frame spinner
|
||||
widget_set_enabled(w, WIDX_WALL_SPINNER_ANIMATION_FRAME, hasAnimation);
|
||||
widget_set_enabled(w, WIDX_WALL_SPINNER_ANIMATION_FRAME_INCREASE, hasAnimation);
|
||||
widget_set_enabled(w, WIDX_WALL_SPINNER_ANIMATION_FRAME_DECREASE, hasAnimation);
|
||||
break;
|
||||
}
|
||||
case TILE_INSPECTOR_PAGE_LARGE_SCENERY:
|
||||
@@ -2063,6 +2094,20 @@ static void window_tile_inspector_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
x = w->windowPos.x + w->widgets[WIDX_GROUPBOX_DETAILS].left + 7;
|
||||
y = w->windowPos.y + w->widgets[WIDX_WALL_DROPDOWN_SLOPE].top;
|
||||
gfx_draw_string_left(dpi, STR_TILE_INSPECTOR_WALL_SLOPE, nullptr, COLOUR_WHITE, x, y);
|
||||
|
||||
// Animation frame label
|
||||
y = w->windowPos.y + w->widgets[WIDX_WALL_SPINNER_ANIMATION_FRAME].top;
|
||||
gfx_draw_string_left(dpi, STR_TILE_INSPECTOR_WALL_ANIMATION_FRAME, nullptr, COLOUR_WHITE, x, y);
|
||||
|
||||
// Current animation frame
|
||||
uint8_t colour = COLOUR_WHITE;
|
||||
if (widget_is_disabled(w, WIDX_WALL_SPINNER_ANIMATION_FRAME))
|
||||
{
|
||||
colour = w->colours[0] | COLOUR_FLAG_INSET;
|
||||
}
|
||||
x = w->windowPos.x + w->widgets[WIDX_WALL_SPINNER_ANIMATION_FRAME].left + 3;
|
||||
int32_t animationFrame = tileElement->AsWall()->GetAnimationFrame();
|
||||
gfx_draw_string_left(dpi, STR_FORMAT_INTEGER, &animationFrame, colour, x, y);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ enum class TileModifyType : uint8_t
|
||||
PathToggleEdge,
|
||||
EntranceMakeUsable,
|
||||
WallSetSlope,
|
||||
WallSetAnimationFrame,
|
||||
TrackBaseHeightOffset,
|
||||
TrackSetChain,
|
||||
TrackSetChainBlock,
|
||||
@@ -185,6 +186,13 @@ private:
|
||||
res = tile_inspector_wall_set_slope(_loc, elementIndex, slopeValue, isExecuting);
|
||||
break;
|
||||
}
|
||||
case TileModifyType::WallSetAnimationFrame:
|
||||
{
|
||||
const auto elementIndex = _value1;
|
||||
const auto animationFrameOffset = _value2;
|
||||
res = tile_inspector_wall_animation_frame_offset(_loc, elementIndex, animationFrameOffset, isExecuting);
|
||||
break;
|
||||
}
|
||||
case TileModifyType::TrackBaseHeightOffset:
|
||||
{
|
||||
const auto elementIndex = _value1;
|
||||
|
||||
@@ -3916,6 +3916,8 @@ enum
|
||||
STR_NOTIFICATION_RIDE_CASUALTIES = 6365,
|
||||
STR_NOTIFICATION_RIDE_VEHICLE_STALLED = 6366,
|
||||
|
||||
STR_TILE_INSPECTOR_WALL_ANIMATION_FRAME = 6367,
|
||||
|
||||
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
|
||||
STR_COUNT = 32768
|
||||
};
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
// This string specifies which version of network stream current build uses.
|
||||
// It is used for making sure only compatible builds get connected, even within
|
||||
// single OpenRCT2 version.
|
||||
#define NETWORK_STREAM_VERSION "1"
|
||||
#define NETWORK_STREAM_VERSION "2"
|
||||
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
|
||||
|
||||
static Peep* _pickup_peep = nullptr;
|
||||
|
||||
@@ -745,6 +745,32 @@ GameActionResult::Ptr tile_inspector_wall_set_slope(
|
||||
return std::make_unique<GameActionResult>();
|
||||
}
|
||||
|
||||
GameActionResult::Ptr tile_inspector_wall_animation_frame_offset(
|
||||
const CoordsXY& loc, int16_t elementIndex, int8_t animationFrameOffset, bool isExecuting)
|
||||
{
|
||||
TileElement* const wallElement = map_get_nth_element_at(loc, elementIndex);
|
||||
|
||||
if (wallElement == nullptr || wallElement->GetType() != TILE_ELEMENT_TYPE_WALL)
|
||||
return std::make_unique<GameActionResult>(GA_ERROR::UNKNOWN, STR_NONE);
|
||||
|
||||
if (isExecuting)
|
||||
{
|
||||
uint8_t animationFrame = wallElement->AsWall()->GetAnimationFrame();
|
||||
wallElement->AsWall()->SetAnimationFrame(animationFrame + animationFrameOffset);
|
||||
|
||||
map_invalidate_tile_full(loc);
|
||||
|
||||
rct_window* const tileInspectorWindow = window_find_by_class(WC_TILE_INSPECTOR);
|
||||
if (tileInspectorWindow != nullptr && (uint32_t)(loc.x / 32) == windowTileInspectorTileX
|
||||
&& (uint32_t)(loc.y / 32) == windowTileInspectorTileY)
|
||||
{
|
||||
tileInspectorWindow->Invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
return std::make_unique<GameActionResult>();
|
||||
}
|
||||
|
||||
// Changes the height of all track elements that belong to the same track piece
|
||||
// Broxzier: Copied from track_remove and stripped of unneeded code, but I think this should be smaller
|
||||
GameActionResult::Ptr tile_inspector_track_base_height_offset(
|
||||
|
||||
@@ -46,6 +46,8 @@ GameActionResultPtr tile_inspector_path_toggle_edge(
|
||||
GameActionResultPtr tile_inspector_entrance_make_usable(const CoordsXY& loc, int32_t elementIndex, bool isExecuting);
|
||||
GameActionResultPtr tile_inspector_wall_set_slope(
|
||||
const CoordsXY& loc, int32_t elementIndex, int32_t slopeValue, bool isExecuting);
|
||||
GameActionResultPtr tile_inspector_wall_animation_frame_offset(
|
||||
const CoordsXY& loc, int16_t elementIndex, int8_t animationFrameOffset, bool isExecuting);
|
||||
GameActionResultPtr tile_inspector_track_base_height_offset(
|
||||
const CoordsXY& loc, int32_t elementIndex, int8_t offset, bool isExecuting);
|
||||
GameActionResultPtr tile_inspector_track_set_block_brake(
|
||||
|
||||
Reference in new issue
Block a user