The International Simutrans Forum

PakSets and Customization => Pak192.Comic => Topic started by: Yona-TYT on February 27, 2022, 07:37:03 PM

Title: Some buildings have graphic error
Post by: Yona-TYT on February 27, 2022, 07:37:03 PM
Quote from: Yona-TYT on February 26, 2022, 12:57:04 AM
some buildings are also affected by this problem, will it be some error in the dependencies?.
(https://github.com/Yona-TYT/imgs/raw/main/Captura%20de%20pantalla%20de%202022-02-25%2020-53-41.png)


Quote from: prissi on February 26, 2022, 02:45:50 AM
This building is rather missing the needs_ground=1 setting in the pakset. Please report in the the pak192 thread.

EDIT:
On the drawing error. I could not reproduce it the r10512 nightly, even with draw_outside_tile=0 in windows with GDI or SDL2. Maybe this was a bug related to SDL and certain drivers and the new resizing code which does no longer enforce a width of 16.

Furthermore, all drawing releavant variables for non-netwrok games are in env_t not in settings. So this shoudl haveen with an y savegame.
Title: Re: Some buildings have graphic error
Post by: Leartin on February 27, 2022, 08:22:21 PM
Ah, yes, good old needs_ground... thanks, fixed it in the repo for that yarnmill. Could you tell which other buildings are affected?
Title: Re: Some buildings have graphic error
Post by: Yona-TYT on February 27, 2022, 09:41:03 PM
(https://github.com/Yona-TYT/imgs/raw/main/Captura%20de%20pantalla%20de%202022-02-27%2017-37-57.png)
Title: Re: Some buildings have graphic error
Post by: Yona-TYT on February 27, 2022, 10:06:06 PM
(https://github.com/Yona-TYT/imgs/raw/main/Captura%20de%20pantalla%20de%202022-02-27%2017-48-52.png)