-
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
Refactored tilespec.cpp code. Part of the progress on #2232 #2241
Conversation
Co-authored-by: Louis Moureaux <[email protected]>
@jwrober we need you to review this one, please :) Not sure what the clang check is complaining about, I ran clang before committing 🤔 |
Me either. I can take a look this afternoon |
Looks like the classic issue of a |
I'm getting warnings
Is this expected? |
No. Did you check the tileset debugger? It might also have many new messages... |
Looks like part of the new, improved warnings we implemented. Notice all of
those are "optional" sprites. Which tileset are you using? I can have a
closer look later.
…On Thu, 28 Mar 2024, 09:20 James Robertson, ***@***.***> wrote:
I'm getting warnings
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching unit.action_decision_want
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching city.size_000
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching path.turns_000 or city.size_000
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching path.steps_000, path.turns_000, or city.size_000
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching path.exhausted_mp_000, path.turns_000, or city.size_000
[info] freeciv21-client ( /tilespec.cpp:1004) - Loading tileset "amplio2".
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching unit.action_decision_want
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.road_c_ne
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.road_c_se
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.road_c_sw
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.road_c_nw
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.rail_c_ne
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.rail_c_se
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.rail_c_sw
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.rail_c_nw
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.maglev_c_ne
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.maglev_c_se
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.maglev_c_sw
[warning] freeciv21-client ( /tilespec.cpp:412) - Could not find optional sprite matching road.maglev_c_nw
Is this expected?
—
Reply to this email directly, view it on GitHub
<#2241 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJUETHOIRU5HXQWOJUCCSTDY2QKKXAVCNFSM6AAAAABFKBPCQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRVGE3TEMJTGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'm testing on Amplio2 (squares) |
Do you get those warnings for hexemplio? |
These look like real bugs though. Pretty sure that should end in 100? |
I bet there is no 000 sprite because it would only be used starting from 1000, which isn't supported |
@lmoureaux do you recall if there were warnings for optional sprites before? |
There weren't, we may want to downgrade to info |
Make it a note? Sounds good by me |
No description provided.