Time To Expand Station Purchase Window?

Got an idea for a new feature in TTDPatch? Post it here.

Moderator: TTDPatch Moderators

User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

This is not a screenshot .... and while I can reduce the size to 1/4 instead of 1/2 these would be then wasted space as you can't spot details anymore...

Thanks for the Memory fixes, but generally even when declared as byte value it should be a word :D And sorry to crash someones vars ...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Post by wallyweb »

Through the magic of cut and paste here are the screenshots of Oskar's latest updates comparing
experimentalfeatures.previewdd off
to
experimentalfeatures.previewdd on

Now we the players have a choice as to what we want to see.
Cookies to Oskar! :D
Attachments
Locomotion GUI all the way
Locomotion GUI all the way
station_menu_3.png (52.33 KiB) Viewed 5291 times
Locomotion GUI - Stations only
Locomotion GUI - Stations only
station_menu_2.png (51.74 KiB) Viewed 5291 times
Basic - NO Locomotion GUI
Basic - NO Locomotion GUI
station_menu_1.png (53.91 KiB) Viewed 5291 times
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Post by AndersI »

Looks perfect to me! If the switch is ON by default, the newbies get the nice pictures, and the oldies with perfect recall can turn it off. Best of both worlds.

(I think I'll leave the switch ON, even if it means more scrolling)
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Currently it's not the way, (hence it's an experimental feature) because miscmods is nearly full (aka one bit left) so we need somehow a redesign...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
m3henry
Tycoon
Tycoon
Posts: 1985
Joined: 15 Feb 2006 12:00
Location: Hampshire

Post by m3henry »

eis_os wrote:Currently it's not the way, (hence it's an experimental feature) because miscmods is nearly full (aka one bit left) so we need somehow a redesign...
...miscmods2.switch?
The occasional look back at your past can teach you a great many things...
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

I don't like the concept of additional miscmods...
mtwist
Traffic Manager
Traffic Manager
Posts: 196
Joined: 23 Mar 2005 14:30

Post by mtwist »

Looks very good! Especially for station sets I am not using regulary it is very helpful. I suggest to make the number of shown items variable by adding a parameter to the switch.
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

Oskar, could you take a look again on the icon placement in the new station preview menu?

I´m refering to the attached screenshot and the leftmost menu is the original in-game menu. Close inspection reveals that its icons aren´t centered vertically, instead there´s a 4px void space above the icon and 1px space below it.

Centering those icons vertically could save additional 3px (marked pink) or even 5px (marked blue in addition) which multiplied by 6 icons displayed would give room for one additional entry and in this way reduces need for scrolling (rightmost menu).

regards
Michael
Attachments
SCR983.png
SCR983.png (10.06 KiB) Viewed 5093 times
Image
User avatar
lobster
Tycoon
Tycoon
Posts: 5671
Joined: 21 Dec 2003 23:30
Location: Atlantic Ocean
Contact:

Post by lobster »

dear lord, this new function looks very nice. darn Sawyer for not making TTD OSX'd.
"Your mother was a lobster, and your father... was also a lobster" -- The rascal formerly known as astath -- Last.fm -- Official TT-Dave Worley Fan Club

Image

<orudge> make love to me while I surf, dear lobster
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Please look at stations that don't use a special image, I tried my best to reduce the size. However as you see, so I tried to balance the height as much as possible...
Buffer Stop S as Example... At least under the picture there is no room. Still I am not sure if it does make much different if you have 6 or 7 stations... For WinTTD I want to add some resolution depended setup anyway, this means if you play with 1024x768 you see 8 entries...
Attachments
dropdownex4.png
dropdownex4.png (16.83 KiB) Viewed 5056 times
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

> I tried to balance the height as much as possible...

Well, don´t get me wrong, but because both the size of the "preview window" and the ratio of downscaling is fixed, so should the size of the icon, right?

And then, there´s only to decide if there should be some extra space around the icon.

See the attached screenshot: the height of the preview window is 46px and the scaling factor is 1:2, so the icon height results to 23px.

Now, there´s an additional free space of 4px above the icons (marked red), which IMO should be removed and doing so for every entry there would be additional space for one more entry in the menu.

And because there´s already a 2px distance between two consecutive icons, there´s no need for more room between them, IMO.

regards
Michael
Attachments
dropdownex.png
dropdownex.png (5.53 KiB) Viewed 5023 times
Image
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

TTDPatch doesn't force a grf author to be in the 46px height window...
I will think again about it, will test it and see if I like it.

Moveing the preview to the right place is not that easy as you may think, as TTD isn't that good in drawing 1/2 size in a temporary buffer... And the drawing is already quite complicate...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

> TTDPatch doesn't force a grf author to be in the 46px height window...

Hehe, yes I know. And BTW, I knew that you would say that. :P

But we (i.e. you) should do so. Didn´t you even write a clipping function for that window to "force" them? 8)

So, that argument is moot because if we´d "tolerate" that behaviuor where´s the size limit? 100px? 200px?

> Moveing the preview to the right place is not that easy as you may think, as TTD isn't that good in drawing 1/2 size in a temporary buffer..

From what I´ve noticed, those small icons are always half the size of the real ones, so ...

> And the drawing is already quite complicate...

Well, I´d say, clip that sprite to be used as the "original icon" to 46px, then reduce it to half size (23px) and reduce the height of the entry by 4px ...

Then it´ll be the best possible compromise, I think.

Good work so far, Oskar.

regards
Michael
Image
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

For testing it would be nice to have a station which fills the window exactly to test if all works correctly.

-edit-

It should work correctly now, should be in the next nightly...

-edit-
comments are welcome aswell
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Post by wallyweb »

It's been almost a week since eis_os' last post here and there have been no comments or critiques. Consequently I have to assume that everybody is happy with the expanded station purchase window. I know I am. :D

I would like to thank everyone who participated in the discussion and extend a special thank you to eis_os for taking on the coding of this fine feature. The cookies are in the mail Oskar. :D
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Post by Raichase »

Yeah, I didn't like it until I started using it... Now I think it's fantastic!

:)).
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

> It's been almost a week since eis_os' last post here and there have been no comments or critiques.

Well, I didn´t had time to test it with all my new stuff, but what I´ve seen so far looks good.

> I would like to thank everyone who participated in the discussion and extend a special thank you to eis_os for taking on the coding of this fine feature.

Yes, this is an example how a good thing could develop from a moderate start by a joint effort. There was input from several people (I´d just mention minime and myself :) but o/c the main tribute goes to Oskar who didn´t only implement that feature but had been open to our suggestions in a most tolerant way.

regards
Michael
Image
User avatar
lobster
Tycoon
Tycoon
Posts: 5671
Joined: 21 Dec 2003 23:30
Location: Atlantic Ocean
Contact:

Post by lobster »

just tried this for the first time, and it´s stunning. great work Oskar.
"Your mother was a lobster, and your father... was also a lobster" -- The rascal formerly known as astath -- Last.fm -- Official TT-Dave Worley Fan Club

Image

<orudge> make love to me while I surf, dear lobster
Post Reply

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 15 guests