NewGRF GUI Window
Moderator: OpenTTD Developers
Re: NewGRF GUI Window
An update I extracted from the TibPP.
- Attachments
-
- newnewgrf_gui_r14103.diff
- Works with presets
- (39.95 KiB) Downloaded 151 times
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
update to trunk (r14103)
EDIT: somewhat made the code more OpenTTD compliant . Thx Belugas for his time and patience
EDIT: somewhat made the code more OpenTTD compliant . Thx Belugas for his time and patience
- Attachments
-
- newgrf-gui_r14103.diff
- newgrf gui window, for trunk r14103
- (39.9 KiB) Downloaded 169 times
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: NewGRF GUI Window
There's an off-by-one error somewhere, causing trails to be left behind when resizing the window.
He's like, some kind of OpenTTD developer.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
Update to trunk r14423.
There's still a problem with the button texts becoming too wide, if the window is sufficiently decreased in size.
I hope that's fixed now, too.peter1138 wrote:There's an off-by-one error somewhere, causing trails to be left behind when resizing the window.
There's still a problem with the button texts becoming too wide, if the window is sufficiently decreased in size.
- Attachments
-
- newgrf-gui_r14423.diff
- newgrf gui for r14423
- (38.28 KiB) Downloaded 199 times
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
An update and small bugfix to this patch can be found at flyspray.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: NewGRF GUI Window
Just received the flyspray notification mail, glad to see there's still someone taking care of it
Hope I can squeeze some time to fiddle with OpenTTD ...
Hope I can squeeze some time to fiddle with OpenTTD ...
I may implement/fix/tweak/eat/ditch it soon (or in distant future, if at all, so don't hold your breath).
If anyone want to be the one please implement it for us all
If anyone want to be the one please implement it for us all
Re: NewGRF GUI Window
it should be in the patch setting, so if you have trouble with it thay can turn-it off.
Re: NewGRF GUI Window
If people test this, then the trouble can be fixed. I've tested it alone and with other patches I use, and there are no such problems, therefore I don't believe your suggestion is of any use. It needs no patch setting.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: NewGRF GUI Window
I really would like to add this, but for the moment i'm not succeded in patching anything jet...
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
what do you want to turn off, Batti5? You want a switch to change the window design? respectively the way the user interface works?Batti5 wrote:it should be in the patch setting, so if you have trouble with it thay can turn-it off.
IMO, as it doesn't change the game at all, it doesn not need any switch.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: NewGRF GUI Window
Indeed, the window is much better, hopefully it's in the next nightly.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
there's an update to trunk r15256 available at flyspray: http://bugs.openttd.org/task/2195/getfi ... 15256.diff
EDIT: a few changes to the layout
http://bugs.openttd.org/task/2195/getfi ... 2_320l.png
EDIT: a few changes to the layout
http://bugs.openttd.org/task/2195/getfi ... 2_320l.png
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
Update to trunk r15776:
- Attachments
-
- newgrf-gui_v2_r15776.diff
- update to r15776
- (40.42 KiB) Downloaded 181 times
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: NewGRF GUI Window
Update to trunk r15913.
bug:when resizing to small size (height),layout of "selected" grf list will get out of shape.
edited:
(add png )
resize to larger than default(height induced)
-> last line is bad.(lower-side harf is for "next" position grf,but grfname and marker are not shown)
bug:when resizing to small size (height),layout of "selected" grf list will get out of shape.
edited:
(add png )
resize to larger than default(height induced)
-> last line is bad.(lower-side harf is for "next" position grf,but grfname and marker are not shown)
- Attachments
-
- newgrf_gui_v2_r15913.diff
- Update to r15913 (use -p1)
- (40.59 KiB) Downloaded 174 times
-
- layout_get_out_of_shape.png (74.71 KiB) Viewed 906 times
Last edited by nex259 on 04 Apr 2009 15:02, edited 1 time in total.
---
Sorry my bad English...
nex259
---
Sorry my bad English...
nex259
---
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
Thanks for your update, nex259!
I don't understand what graphical bug you refer to... to me it looks like it behaves like it did before, also wrt resizing. Do I miss something?
I don't understand what graphical bug you refer to... to me it looks like it behaves like it did before, also wrt resizing. Do I miss something?
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: NewGRF GUI Window
When nex259's latest version is patched against current trunk, the game aborts whenever you open the content download window.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
I cannot follow that either. Worked for me. Any more details? Crash log? assertion?
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: NewGRF GUI Window
Sorry, i was too hasty assuming it was this patch's fault. I got the bug in clean trunk too: just after opening the content downloading window, the game crashes. I'm going to get more info and report it to flyspray.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: NewGRF GUI Window
I confirmed that it was before svn r15919 that this patch works without the critical issues.Terkhen wrote:When nex259's latest version is patched against current trunk, the game aborts whenever you open the content download window.
Now,the networking codes of OTTD are under changing (and they are greatly) , networking is in buggy and unstable state.
Because,which the codes of this patch ,or the networking codes ,the cause is not understood.
==My compile environment:
pc1)Win32 gcc 3.4.5/MinGW at WindowsXP SP3
pc2)Linux_amd64 gcc 4.3.2-1.1 at Debian/5.0
Last edited by nex259 on 04 Apr 2009 18:54, edited 1 time in total.
---
Sorry my bad English...
nex259
---
Sorry my bad English...
nex259
---
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: NewGRF GUI Window
it works flawlessly for me with r15929.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Who is online
Users browsing this forum: No registered users and 34 guests