mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
Name 98196C
This commit is contained in:
@@ -364,7 +364,7 @@ static void track_paint_util_draw_station_impl(
|
||||
imageId = (hasFence ? SPR_STATION_PLATFORM_FENCED_SW_NE : SPR_STATION_PLATFORM_SW_NE)
|
||||
| session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 0, 0, 32, 8, 1, height + fenceOffsetA);
|
||||
PaintAddImageAsParent(session, imageId, 0, 0, 32, 8, 1, height + fenceOffsetA);
|
||||
// height -= 5 (height)
|
||||
track_paint_util_draw_station_covers(session, EDGE_NW, hasFence, stationObj, coverHeight);
|
||||
// height += 5 (height + 5)
|
||||
@@ -382,7 +382,7 @@ static void track_paint_util_draw_station_impl(
|
||||
{
|
||||
imageId = SPR_STATION_PLATFORM_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 0, 24, 32, 8, 1, height + fenceOffsetA);
|
||||
PaintAddImageAsParent(session, imageId, 0, 24, 32, 8, 1, height + fenceOffsetA);
|
||||
// height += 2 (height + 7)
|
||||
|
||||
hasFence = track_paint_util_has_fence(EDGE_SE, position, tileElement, ride, session->CurrentRotation);
|
||||
@@ -400,19 +400,19 @@ static void track_paint_util_draw_station_impl(
|
||||
{
|
||||
imageId = SPR_STATION_FENCE_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 0, 31, 32, 1, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 0, 31, 32, 1, 7, height + fenceOffsetB);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::BeginStation && direction == 0)
|
||||
{
|
||||
// Addition: draw only small fence if there is an entrance/exit at the beginning
|
||||
imageId = SPR_STATION_FENCE_SMALL_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 23, 1, 8, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 31, 23, 1, 8, 7, height + fenceOffsetB);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation && direction == 2)
|
||||
{
|
||||
// Addition: draw only small fence if there is an entrance/exit at the end
|
||||
imageId = SPR_STATION_LIGHT_BACK_NE_SW | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 23, 1, 8, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 31, 23, 1, 8, 7, height + fenceOffsetB);
|
||||
}
|
||||
// height -= 7 (height)
|
||||
track_paint_util_draw_station_covers(session, EDGE_SE, hasFence, stationObj, coverHeight);
|
||||
@@ -421,12 +421,12 @@ static void track_paint_util_draw_station_impl(
|
||||
if (tileElement->AsTrack()->GetTrackType() == TrackElemType::BeginStation && direction == 0)
|
||||
{
|
||||
imageId = SPR_STATION_FENCE_SMALL_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 0, 1, 8, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 31, 0, 1, 8, 7, height + fenceOffsetB);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation && direction == 2)
|
||||
{
|
||||
imageId = SPR_STATION_LIGHT_BACK_NE_SW | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 0, 1, 8, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 31, 0, 1, 8, 7, height + fenceOffsetB);
|
||||
}
|
||||
}
|
||||
else if (direction == 1 || direction == 3)
|
||||
@@ -459,7 +459,7 @@ static void track_paint_util_draw_station_impl(
|
||||
imageId = (hasFence ? SPR_STATION_PLATFORM_FENCED_NW_SE : SPR_STATION_PLATFORM_NW_SE)
|
||||
| session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 0, 0, 8, 32, 1, height + fenceOffsetA);
|
||||
PaintAddImageAsParent(session, imageId, 0, 0, 8, 32, 1, height + fenceOffsetA);
|
||||
// height -= 5 (height)
|
||||
track_paint_util_draw_station_covers(session, EDGE_NE, hasFence, stationObj, coverHeight);
|
||||
// height += 5 (height + 5)
|
||||
@@ -477,7 +477,7 @@ static void track_paint_util_draw_station_impl(
|
||||
{
|
||||
imageId = SPR_STATION_PLATFORM_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 24, 0, 8, 32, 1, height + fenceOffsetA);
|
||||
PaintAddImageAsParent(session, imageId, 24, 0, 8, 32, 1, height + fenceOffsetA);
|
||||
// height += 2 (height + 7)
|
||||
|
||||
hasFence = track_paint_util_has_fence(EDGE_SW, position, tileElement, ride, session->CurrentRotation);
|
||||
@@ -495,19 +495,19 @@ static void track_paint_util_draw_station_impl(
|
||||
{
|
||||
imageId = SPR_STATION_FENCE_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 31, 0, 1, 32, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 31, 0, 1, 32, 7, height + fenceOffsetB);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::BeginStation && direction == 3)
|
||||
{
|
||||
// Addition: draw only small fence if there is an entrance/exit at the beginning
|
||||
imageId = SPR_STATION_FENCE_SMALL_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 23, 31, 8, 1, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 23, 31, 8, 1, 7, height + fenceOffsetB);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation && direction == 1)
|
||||
{
|
||||
// Addition: draw only small fence if there is an entrance/exit at the end
|
||||
imageId = SPR_STATION_LIGHT_BACK_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 23, 31, 8, 1, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 23, 31, 8, 1, 7, height + fenceOffsetB);
|
||||
}
|
||||
|
||||
// height -= 7 (height)
|
||||
@@ -517,12 +517,12 @@ static void track_paint_util_draw_station_impl(
|
||||
if (tileElement->AsTrack()->GetTrackType() == TrackElemType::BeginStation && direction == 3)
|
||||
{
|
||||
imageId = SPR_STATION_FENCE_SMALL_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 31, 8, 1, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 0, 31, 8, 1, 7, height + fenceOffsetB);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation && direction == 1)
|
||||
{
|
||||
imageId = SPR_STATION_LIGHT_BACK_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 31, 8, 1, 7, height + fenceOffsetB);
|
||||
PaintAddImageAsParent(session, imageId, 0, 31, 8, 1, 7, height + fenceOffsetB);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -572,7 +572,7 @@ void track_paint_util_draw_station_inverted(
|
||||
imageId = (hasFence ? SPR_STATION_PLATFORM_FENCED_SW_NE : SPR_STATION_PLATFORM_SW_NE)
|
||||
| session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 0, 0, 32, 8, 1, height + 6);
|
||||
PaintAddImageAsParent(session, imageId, 0, 0, 32, 8, 1, height + 6);
|
||||
// height -= 5 (height)
|
||||
track_paint_util_draw_station_covers_2(session, EDGE_NW, hasFence, stationObj, height, stationVariant);
|
||||
// height += 5 (height + 5)
|
||||
@@ -590,7 +590,7 @@ void track_paint_util_draw_station_inverted(
|
||||
{
|
||||
imageId = SPR_STATION_PLATFORM_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 0, 24, 32, 8, 1, height + 6);
|
||||
PaintAddImageAsParent(session, imageId, 0, 24, 32, 8, 1, height + 6);
|
||||
// height += 2 (height + 7)
|
||||
|
||||
hasFence = track_paint_util_has_fence(EDGE_SE, position, tileElement, ride, session->CurrentRotation);
|
||||
@@ -608,19 +608,19 @@ void track_paint_util_draw_station_inverted(
|
||||
{
|
||||
imageId = SPR_STATION_INVERTED_FENCE_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 0, 31, 32, 1, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 0, 31, 32, 1, 7, height + 8);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::BeginStation && direction == 0)
|
||||
{
|
||||
// Addition: draw only small fence if there is an entrance/exit at the beginning
|
||||
imageId = SPR_STATION_FENCE_SMALL_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 23, 1, 8, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 31, 23, 1, 8, 7, height + 8);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation && direction == 2)
|
||||
{
|
||||
// Addition: draw only small fence if there is an entrance/exit at the end
|
||||
imageId = SPR_STATION_LIGHT_BACK_NE_SW | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 23, 1, 8, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 31, 23, 1, 8, 7, height + 8);
|
||||
}
|
||||
// height -= 7 (height)
|
||||
track_paint_util_draw_station_covers_2(session, EDGE_SE, hasFence, stationObj, height, stationVariant);
|
||||
@@ -629,12 +629,12 @@ void track_paint_util_draw_station_inverted(
|
||||
if (tileElement->AsTrack()->GetTrackType() == TrackElemType::BeginStation && direction == 0)
|
||||
{
|
||||
imageId = SPR_STATION_FENCE_SMALL_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 0, 1, 8, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 31, 0, 1, 8, 7, height + 8);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation && direction == 2)
|
||||
{
|
||||
imageId = SPR_STATION_LIGHT_BACK_NE_SW | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 0, 1, 8, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 31, 0, 1, 8, 7, height + 8);
|
||||
}
|
||||
}
|
||||
else if (direction == 1 || direction == 3)
|
||||
@@ -667,7 +667,7 @@ void track_paint_util_draw_station_inverted(
|
||||
imageId = (hasFence ? SPR_STATION_PLATFORM_FENCED_NW_SE : SPR_STATION_PLATFORM_NW_SE)
|
||||
| session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 0, 0, 8, 32, 1, height + 6);
|
||||
PaintAddImageAsParent(session, imageId, 0, 0, 8, 32, 1, height + 6);
|
||||
// height -= 5 (height)
|
||||
track_paint_util_draw_station_covers_2(session, EDGE_NE, hasFence, stationObj, height, stationVariant);
|
||||
// height += 5 (height + 5)
|
||||
@@ -685,7 +685,7 @@ void track_paint_util_draw_station_inverted(
|
||||
{
|
||||
imageId = SPR_STATION_PLATFORM_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 24, 0, 8, 32, 1, height + 6);
|
||||
PaintAddImageAsParent(session, imageId, 24, 0, 8, 32, 1, height + 6);
|
||||
// height += 2 (height + 7)
|
||||
|
||||
hasFence = track_paint_util_has_fence(EDGE_SW, position, tileElement, ride, session->CurrentRotation);
|
||||
@@ -703,19 +703,19 @@ void track_paint_util_draw_station_inverted(
|
||||
{
|
||||
imageId = SPR_STATION_INVERTED_FENCE_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
sub_98196C(session, imageId, 31, 0, 1, 32, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 31, 0, 1, 32, 7, height + 8);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::BeginStation && direction == 3)
|
||||
{
|
||||
// Addition: draw only small fence if there is an entrance/exit at the beginning
|
||||
imageId = SPR_STATION_FENCE_SMALL_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 23, 31, 8, 1, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 23, 31, 8, 1, 7, height + 8);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation && direction == 1)
|
||||
{
|
||||
// Addition: draw only small fence if there is an entrance/exit at the end
|
||||
imageId = SPR_STATION_LIGHT_BACK_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 23, 31, 8, 1, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 23, 31, 8, 1, 7, height + 8);
|
||||
}
|
||||
|
||||
// height -= 7 (height)
|
||||
@@ -725,12 +725,12 @@ void track_paint_util_draw_station_inverted(
|
||||
if (tileElement->AsTrack()->GetTrackType() == TrackElemType::BeginStation && direction == 3)
|
||||
{
|
||||
imageId = SPR_STATION_FENCE_SMALL_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 31, 8, 1, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 0, 31, 8, 1, 7, height + 8);
|
||||
}
|
||||
else if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation && direction == 1)
|
||||
{
|
||||
imageId = SPR_STATION_LIGHT_BACK_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 31, 8, 1, 7, height + 8);
|
||||
PaintAddImageAsParent(session, imageId, 0, 31, 8, 1, 7, height + 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -848,17 +848,17 @@ void track_paint_util_draw_station_platform(
|
||||
bool hasFence = track_paint_util_has_fence(EDGE_NE, position, tileElement, ride, session->CurrentRotation);
|
||||
uint32_t imageId = (hasFence ? SPR_STATION_NARROW_EDGE_FENCED_NE : SPR_STATION_NARROW_EDGE_NE)
|
||||
| session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 0, 8, 32, 1, height + zOffset);
|
||||
PaintAddImageAsParent(session, imageId, 0, 0, 8, 32, 1, height + zOffset);
|
||||
track_paint_util_draw_station_covers(session, EDGE_NE, hasFence, stationObj, height);
|
||||
|
||||
imageId = SPR_STATION_NARROW_EDGE_SW | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 24, 0, 8, 32, 1, height + zOffset);
|
||||
PaintAddImageAsParent(session, imageId, 24, 0, 8, 32, 1, height + zOffset);
|
||||
|
||||
hasFence = track_paint_util_has_fence(EDGE_SW, position, tileElement, ride, session->CurrentRotation);
|
||||
if (hasFence)
|
||||
{
|
||||
imageId = SPR_STATION_FENCE_NW_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 0, 1, 32, 7, height + zOffset + 2);
|
||||
PaintAddImageAsParent(session, imageId, 31, 0, 1, 32, 7, height + zOffset + 2);
|
||||
}
|
||||
track_paint_util_draw_station_covers(session, EDGE_SW, hasFence, stationObj, height);
|
||||
}
|
||||
@@ -867,17 +867,17 @@ void track_paint_util_draw_station_platform(
|
||||
bool hasFence = track_paint_util_has_fence(EDGE_NW, position, tileElement, ride, session->CurrentRotation);
|
||||
uint32_t imageId = (hasFence ? SPR_STATION_NARROW_EDGE_FENCED_NW : SPR_STATION_NARROW_EDGE_NW)
|
||||
| session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 0, 32, 8, 1, height + zOffset);
|
||||
PaintAddImageAsParent(session, imageId, 0, 0, 32, 8, 1, height + zOffset);
|
||||
track_paint_util_draw_station_covers(session, EDGE_NW, hasFence, stationObj, height);
|
||||
|
||||
imageId = SPR_STATION_NARROW_EDGE_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 24, 32, 8, 1, height + zOffset);
|
||||
PaintAddImageAsParent(session, imageId, 0, 24, 32, 8, 1, height + zOffset);
|
||||
|
||||
hasFence = track_paint_util_has_fence(EDGE_SE, position, tileElement, ride, session->CurrentRotation);
|
||||
if (hasFence)
|
||||
{
|
||||
imageId = SPR_STATION_FENCE_SW_NE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 31, 32, 1, 7, height + zOffset + 2);
|
||||
PaintAddImageAsParent(session, imageId, 0, 31, 32, 1, 7, height + zOffset + 2);
|
||||
}
|
||||
track_paint_util_draw_station_covers(session, EDGE_SE, hasFence, stationObj, height);
|
||||
}
|
||||
@@ -899,13 +899,13 @@ void track_paint_util_draw_pier(
|
||||
track_paint_util_draw_station_covers(session, EDGE_NE, hasFence, stationObj, height);
|
||||
|
||||
imageId = SPR_STATION_PIER_EDGE_SW | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 24, 0, 8, 32, 1, height);
|
||||
PaintAddImageAsParent(session, imageId, 24, 0, 8, 32, 1, height);
|
||||
|
||||
hasFence = track_paint_util_has_fence(EDGE_SW, position, tileElement, ride, session->CurrentRotation);
|
||||
if (hasFence)
|
||||
{
|
||||
imageId = SPR_STATION_PIER_FENCE_SW | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 31, 0, 1, 32, 7, height + 2);
|
||||
PaintAddImageAsParent(session, imageId, 31, 0, 1, 32, 7, height + 2);
|
||||
}
|
||||
track_paint_util_draw_station_covers(session, EDGE_SW, hasFence, stationObj, height);
|
||||
}
|
||||
@@ -918,13 +918,13 @@ void track_paint_util_draw_pier(
|
||||
track_paint_util_draw_station_covers(session, EDGE_NW, hasFence, stationObj, height);
|
||||
|
||||
imageId = SPR_STATION_PIER_EDGE_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 24, 32, 8, 1, height);
|
||||
PaintAddImageAsParent(session, imageId, 0, 24, 32, 8, 1, height);
|
||||
|
||||
hasFence = track_paint_util_has_fence(EDGE_SE, position, tileElement, ride, rotation);
|
||||
if (hasFence)
|
||||
{
|
||||
imageId = SPR_STATION_PIER_FENCE_SE | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98196C(session, imageId, 0, 31, 32, 1, 7, height + 2);
|
||||
PaintAddImageAsParent(session, imageId, 0, 31, 32, 1, 7, height + 2);
|
||||
}
|
||||
track_paint_util_draw_station_covers(session, EDGE_SE, hasFence, stationObj, height);
|
||||
}
|
||||
@@ -1483,7 +1483,7 @@ void track_paint_util_right_quarter_turn_5_tiles_paint_3(
|
||||
|
||||
const sprite_bb* spriteBB = &sprites[direction][sprite];
|
||||
uint32_t imageId = spriteBB->sprite_id | colourFlags;
|
||||
sub_98196C(
|
||||
PaintAddImageAsParent(
|
||||
session, imageId, static_cast<int8_t>(spriteBB->offset.x), static_cast<int8_t>(spriteBB->offset.y), spriteBB->bb_size.x,
|
||||
spriteBB->bb_size.y, static_cast<int8_t>(spriteBB->bb_size.z), height + spriteBB->offset.z);
|
||||
}
|
||||
@@ -1742,7 +1742,7 @@ void track_paint_util_right_quarter_turn_3_tiles_paint_4(
|
||||
|
||||
const sprite_bb* spriteBB = &sprites[direction][sprite];
|
||||
uint32_t imageId = spriteBB->sprite_id | colourFlags;
|
||||
sub_98196C(
|
||||
PaintAddImageAsParent(
|
||||
session, imageId, static_cast<int8_t>(spriteBB->offset.x), static_cast<int8_t>(spriteBB->offset.y), spriteBB->bb_size.x,
|
||||
spriteBB->bb_size.y, static_cast<int8_t>(spriteBB->bb_size.z), height + spriteBB->offset.z);
|
||||
}
|
||||
@@ -2028,24 +2028,24 @@ void track_paint_util_onride_photo_small_paint(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98196C(session, imageId, 26, 0, 1, 1, 19, height);
|
||||
sub_98196C(session, imageId, 26, 31, 1, 1, 19, height);
|
||||
sub_98196C(session, flashImageId, 6, 0, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 26, 0, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 26, 31, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, flashImageId, 6, 0, 1, 1, 19, height);
|
||||
break;
|
||||
case 1:
|
||||
sub_98196C(session, imageId, 0, 6, 1, 1, 19, height);
|
||||
sub_98196C(session, imageId, 31, 6, 1, 1, 19, height);
|
||||
sub_98196C(session, flashImageId, 0, 26, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 0, 6, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 31, 6, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, flashImageId, 0, 26, 1, 1, 19, height);
|
||||
break;
|
||||
case 2:
|
||||
sub_98196C(session, imageId, 6, 0, 1, 1, 19, height);
|
||||
sub_98196C(session, imageId, 6, 31, 1, 1, 19, height);
|
||||
sub_98196C(session, flashImageId, 26, 31, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 6, 0, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 6, 31, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, flashImageId, 26, 31, 1, 1, 19, height);
|
||||
break;
|
||||
case 3:
|
||||
sub_98196C(session, imageId, 0, 26, 1, 1, 19, height);
|
||||
sub_98196C(session, imageId, 31, 26, 1, 1, 19, height);
|
||||
sub_98196C(session, flashImageId, 31, 6, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 0, 26, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 31, 26, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, flashImageId, 31, 6, 1, 1, 19, height);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -2066,24 +2066,24 @@ void track_paint_util_onride_photo_paint(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98196C(session, imageId, 26, 0, 1, 1, 19, height);
|
||||
sub_98196C(session, imageId, 26, 31, 1, 1, 19, height);
|
||||
sub_98196C(session, flashImageId, 6, 0, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 26, 0, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 26, 31, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, flashImageId, 6, 0, 1, 1, 19, height);
|
||||
break;
|
||||
case 1:
|
||||
sub_98196C(session, imageId, 0, 6, 1, 1, 19, height);
|
||||
sub_98196C(session, imageId, 31, 6, 1, 1, 19, height);
|
||||
sub_98196C(session, flashImageId, 0, 26, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 0, 6, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 31, 6, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, flashImageId, 0, 26, 1, 1, 19, height);
|
||||
break;
|
||||
case 2:
|
||||
sub_98196C(session, imageId, 6, 0, 1, 1, 19, height);
|
||||
sub_98196C(session, imageId, 6, 31, 1, 1, 19, height);
|
||||
sub_98196C(session, flashImageId, 26, 31, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 6, 0, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 6, 31, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, flashImageId, 26, 31, 1, 1, 19, height);
|
||||
break;
|
||||
case 3:
|
||||
sub_98196C(session, imageId, 0, 26, 1, 1, 19, height);
|
||||
sub_98196C(session, imageId, 31, 26, 1, 1, 19, height);
|
||||
sub_98196C(session, flashImageId, 31, 6, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 0, 26, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, imageId, 31, 26, 1, 1, 19, height);
|
||||
PaintAddImageAsParent(session, flashImageId, 31, 6, 1, 1, 19, height);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user