-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pick river/road/rail/maglev sprite depending on terrain class (closes #2232) #2252
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need a new tileset feature flag for this. They're defined at the top of tilespec.cpp
:
#define TILESPEC_CAPSTR \
"+Freeciv-tilespec-Devel-2019-Jul-03 duplicates_ok precise-hp-bars " \
"unlimited-unit-select-frames unlimited-upkeep-sprites hex_corner"
The documentation page listing them should be updated as well, in docs/Modding/Tileset/compatibility.rst
.
Terrain-specific extra sprites allow for different sprites to be used depending on the terrain. Currently, | ||
only rivers/roads/rails/maglev sprites may be made terrain-specific, but compatibility for specials and | ||
bases is expected to roll out soon. To use terrain-specific sprites, use the same nomenclature as before, | ||
but with the terrain time included after the type of extra. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"terrain time" sounds wrong. Should this be "terrain kind" or "terrain tile"?
Yep, should be terrain name actually. I can fix that once we tackle the
specials and bases. Unless it needs to be fixed right away?
…On Sun, 31 Mar 2024, 14:42 blabber, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In docs/Modding/Tilesets/compatibility.rst
<#2252 (comment)>:
> @@ -43,3 +43,10 @@ unlimited-upkeep-sprites
hex_corner
Support for this option signals the availability of the new ``hex_corner`` sprite type for terrain.
+
+terrain-specific-extras
+ Terrain-specific extra sprites allow for different sprites to be used depending on the terrain. Currently,
+ only rivers/roads/rails/maglev sprites may be made terrain-specific, but compatibility for specials and
+ bases is expected to roll out soon. To use terrain-specific sprites, use the same nomenclature as before,
+ but with the terrain time included after the type of extra.
"terrain time" sounds wrong. Should this be "terrain kind" or "terrain
tile"?
—
Reply to this email directly, view it on GitHub
<#2252 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJUETHI2RAW27ZMCBUD4NDLY3BKK3AVCNFSM6AAAAABFQQHIX2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTSNZQGM3TMNBSGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
A small PR fixing it won't hurt. This way we don't forget |
Introduced by longturn#2252. Fix is more of a patch than an actual solution. Co-authored-by: Louis Moureaux <[email protected]>
Introduced by #2252. Fix is more of a patch than an actual solution. Co-authored-by: Louis Moureaux <[email protected]>
No description provided.