Minimized Vech Windows

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
nzhook
Engineer
Engineer
Posts: 115
Joined: 02 Jul 2004 13:15
Location: NZ
Contact:

Minimized Vech Windows

Post by nzhook »

Ive done up a quick little patch, to allow a minimized vehicle window. Basically it allows you to hide the viewport (which speeds up processing) while still keeping the window there. In a way its a minimize for these windows as suggested here:
http://tt-forums.net/viewtopic.php?t=22870

However its not quite and theres still a few things I would like to add to make it a bit better. But for now im interested in any thoughts or suggestions (regarding layout or whats available)

You can see an example of the windows you can 'minimize' from the screenshot, at this time ive only done road and trains, however as the windows are quite simple it should be easy to apply to the remaining types once I have a more formal look.

One of the things I was thinking of adding was the ablity to change the stat that is shown for a road vech (and Train if this gets implemented) rather than always having its current load.


This should go really well with the docking window (which will use my sticky windows patch/idea) patch I am also working on. (which is no where near the state I am willing to publish)


NOTE: I dont have a compiler for windows (I really use it), so if someone would like to compile this on windows and post an exe it will avoid someone asking :)
Attachments
minimizable.vech.windows.9867.patch
The patch against r9867.
(19.79 KiB) Downloaded 188 times
Quick screen shot of the minimized windows.
Quick screen shot of the minimized windows.
Invetfinghill Transport, 28th Dec 1970.png (16.14 KiB) Viewed 1639 times
User avatar
CMircea
Chairman
Chairman
Posts: 887
Joined: 29 Dec 2006 14:05

Post by CMircea »

Here's they are for Win32 (Made with MSVC++ 2005 Express).
Attachments
MinimizeableVechWindows.zip
Strap TDD's GRFs and you're ready to play.
(1.87 MiB) Downloaded 127 times
User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Post by athanasios »

Quite usefull.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.


I prefer to be contacted through PMs. Thanks.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 13 guests