Skip to content
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

[Visual bug] Misaligned image layers #720

Open
Ouaz opened this issue Jan 31, 2024 · 6 comments
Open

[Visual bug] Misaligned image layers #720

Ouaz opened this issue Jan 31, 2024 · 6 comments
Labels
bug original issue from c3 Bug that's also present in the original Caesar 3

Comments

@Ouaz
Copy link

Ouaz commented Jan 31, 2024

Nitpicky visual bugs (happens on vanilla C3 too): image layers of some working buildings are slightly shifted compared to the same buildings when inactive.

  • Amphitheater
    ID 3050 is 1 pixel too far to the left (compared to ID 3039)
    amphi_on_off

  • Lion Pit :
    ID 3101 to ID 3118 are 1 pixel to low (compared to ID 3100)
    pit_on_off

To reproduce, simply switch between Global Entertainment overlay and City map (these 2 happen on Augustus too).


  • Engineer's post
    ID 3282 to 3291 are 1 pixel too high (compared to ID 3281)
    engineer_post_on_off
    This one has been fixed a long time ago in Augustus (April 2022), I forgot to report it first for Julius.
@Ouaz Ouaz added the bug label Jan 31, 2024
@crudelios
Copy link
Collaborator

I think the Theater is also misaligned in Julius, can you confirm please?

@crudelios crudelios added the original issue from c3 Bug that's also present in the original Caesar 3 label Jan 31, 2024
@bvschaik
Copy link
Owner

bvschaik commented Feb 1, 2024

The problem with fixing these is that the offsets are inside the SG2 files. Not sure how Augustus fixed those -- by hardcoding image ID + x/y offset in the code?

@Ouaz
Copy link
Author

Ouaz commented Feb 1, 2024

Not sure how Augustus fixed those -- by hardcoding image ID + x/y offset in the code?

Found the commit that fixed the roof of active Engineer's post: Keriew@2923909
Amphitheater and Lion Pit have not been fixed.

I think the Theater is also misaligned in Julius, can you confirm please?

I see nothing wrong with the Theater. All's good.

@crudelios
Copy link
Collaborator

The problem with fixing these is that the offsets are inside the SG2 files. Not sure how Augustus fixed those -- by hardcoding image ID + x/y offset in the code?

Yes the changes were hard coded. Not the best solution but it works!

@crudelios
Copy link
Collaborator

crudelios commented Apr 12, 2024

Should we fix this? (doing it manually on core/image.c) or do I keep this to Augustus?

@bvschaik
Copy link
Owner

Tough one. It does look better if fixed, even though the fix itself is quite ugly... Let's go ahead and fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug original issue from c3 Bug that's also present in the original Caesar 3
Projects
None yet
Development

No branches or pull requests

3 participants