Make horizontal 3D signs work in 4 directions #21899
Unanswered
spacek531
asked this question in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, horizontal 3D signs only paint text on directions 0 and 3, because of this line:
OpenRCT2/src/openrct2/paint/tile_element/Paint.LargeScenery.cpp
Line 405 in af46ff5
Horizontal 3D signs already support 4 rotation sprites per character, but two are unused because of this line.Horizontal signs have 2 sprite sets of 2 rotation sprites per characters, by design. Because the cardinal direction has a screen-space slope of 2:1 and letters can have an even or odd width, characters may have to be drawn a half-pixel above or below the pixel grid, and that is what the second set is for.It would be nice if 3D signs had the ability to draw the back of the sign, as many signs in real life don't have backgrounds and you can see the back of the letters.
Implementation details:
{(std::numeric_limits<int16_t>::min(), std::numeric_limits<int16_t>::min()}
{(std::numeric_limits<int16_t>::min(), std::numeric_limits<int16_t>::min()}
std::numeric_limits<int16_t>::min()
then don't draw the text in that angle.Beta Was this translation helpful? Give feedback.
All reactions