OpenTTD 14.0 NewGRF Road Stops

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
User avatar
fridaemon
Director
Director
Posts: 631
Joined: 27 Oct 2019 21:06
Location: Czech Republic

OpenTTD 14.0 NewGRF Road Stops

Post 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.
Attachments
Vanilla's version
Vanilla's version
img-2024-01-20-20-04-33.png (7.81 KiB) Viewed 837 times
JGR's version
JGR's version
img-2024-01-20-20-05-33.png (4.36 KiB) Viewed 837 times
roadstopsandwaypoints4beta.grf
(12.43 MiB) Downloaded 20 times
Last edited by fridaemon on 20 Jan 2024 19:48, edited 1 time in total.
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Re: OpenTTD 14.0 Test Game Sun 1/14

Post 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.
He's like, some kind of OpenTTD developer.
User avatar
fridaemon
Director
Director
Posts: 631
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: OpenTTD 14.0 Test Game Sun 1/14

Post 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 843 times
And I'm not gonna change 200+ png files because of that.

In JGR'S NML it works but in Vanilla not.
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 507
Joined: 11 Aug 2019 18:15
Contact:

Re: OpenTTD 14.0 Test Game Sun 1/14

Post 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. ;)
User avatar
fridaemon
Director
Director
Posts: 631
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: OpenTTD 14.0 Test Game Sun 1/14

Post 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.
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
fridaemon
Director
Director
Posts: 631
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: OpenTTD 14.0 NewGRF Road Stops

Post by fridaemon »

Sooo Is there any chance to add this parameter or will I have to do 2 different newgrfs?
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Re: OpenTTD 14.0 NewGRF Road Stops

Post by peter1138 »

I think vanilla will just ignore the flag and the extra layouts, shouldn't be any need to make two versions.
He's like, some kind of OpenTTD developer.
User avatar
fridaemon
Director
Director
Posts: 631
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: OpenTTD 14.0 NewGRF Road Stops

Post by fridaemon »

It"s not possible to code it with this flag for vanilla. 🙄 This is The reason why Aegir change The source code.
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 27 guests