Page 1 of 1

OpenTTD 14.0 NewGRF Road Stops

Posted: 20 Jan 2024 19:08
by fridaemon
Is there a possibility to change build menu view? In JGR's there's glag RST_GENERAL_FLAG_BUILD_MENU_DRAW_DISABLED_VIEWS and I really need to have that, because it looks really ugly.

Re: OpenTTD 14.0 Test Game Sun 1/14

Posted: 20 Jan 2024 19:39
by peter1138
fridaemon wrote: 20 Jan 2024 19:08 Is there a possibility to change build menu view? In JGR's there's glag RST_GENERAL_FLAG_BUILD_MENU_DRAW_DISABLED_VIEWS and I really need to have that, because it looks really ugly.
Having a flag that lets you draw something that can't exist, just so you can draw an empty sprite because you think it's ugly... Not really keen on that.

Re: OpenTTD 14.0 Test Game Sun 1/14

Posted: 20 Jan 2024 19:45
by fridaemon
peter1138 wrote: 20 Jan 2024 19:39
fridaemon wrote: 20 Jan 2024 19:08 Is there a possibility to change build menu view? In JGR's there's glag RST_GENERAL_FLAG_BUILD_MENU_DRAW_DISABLED_VIEWS and I really need to have that, because it looks really ugly.
Having a flag that lets you draw something that can't exist, just so you can draw an empty sprite because you think it's ugly... Not really keen on that.
GFX file looks like that:
bstation12.png
bstation12.png (27.81 KiB) Viewed 1426 times
And I'm not gonna change 200+ png files because of that.

In JGR'S NML it works but in Vanilla not.

Re: OpenTTD 14.0 Test Game Sun 1/14

Posted: 20 Jan 2024 19:48
by 2TallTyler
I think a better way to handle this would be for OpenTTD to not draw an unavailable orientation. There's no need for the GRF to provide its own empty sprite. ;)

Re: OpenTTD 14.0 Test Game Sun 1/14

Posted: 20 Jan 2024 19:49
by fridaemon
2TallTyler wrote: 20 Jan 2024 19:48 I think a better way to handle this would be for OpenTTD to not draw an unavailable orientation.
But I still have to rewrite more than 200 pnml files.
And I really have no time for this.

Re: OpenTTD 14.0 NewGRF Road Stops

Posted: 21 Jan 2024 19:45
by fridaemon
Sooo Is there any chance to add this parameter or will I have to do 2 different newgrfs?

Re: OpenTTD 14.0 NewGRF Road Stops

Posted: 21 Jan 2024 19:59
by peter1138
I think vanilla will just ignore the flag and the extra layouts, shouldn't be any need to make two versions.

Re: OpenTTD 14.0 NewGRF Road Stops

Posted: 21 Jan 2024 20:09
by fridaemon
It"s not possible to code it with this flag for vanilla. 🙄 This is The reason why Aegir change The source code.