Patch: Small map industry selector v6 [update]

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

gule
Engineer
Engineer
Posts: 60
Joined: 16 Dec 2004 15:08
Location: Slovenia

Re: Patch: Small map industry selector v5 [update]

Post by gule »

I added to this patch a button to select how are shown hidden industries and changed buttons texts and added tooltips texts.
New version diff is in first post.
gule
Engineer
Engineer
Posts: 60
Joined: 16 Dec 2004 15:08
Location: Slovenia

Re: Patch: Small map industry selector v6 [update]

Post by gule »

I have updated this patch and now when only one industry is selected it is shown in industries list which industries accept cargo produced by selected industry and which industries produce cargo accepted by selected industry.
Diff file and screenshot are in first post.
User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Re: Patch: Small map industry selector v6 [update]

Post by athanasios »

Very practical for new industries. This feature of Simutrans enhanced in OpenTTD. Great!
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.
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Patch: Small map industry selector v6 [update]

Post by Roujin »

Nice feature, but these outlines are hardly visible :(
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
gule
Engineer
Engineer
Posts: 60
Joined: 16 Dec 2004 15:08
Location: Slovenia

Re: Patch: Small map industry selector v6 [update]

Post by gule »

Roujin wrote:but these outlines are hardly visible :(
I know, and here i need your help.

I need a good idea how to mark which industries are connected or which colors use for outlines.
T-Unit
Transport Coordinator
Transport Coordinator
Posts: 368
Joined: 03 Feb 2007 18:53
Location: Leeds, England

Re: Patch: Small map industry selector v6 [update]

Post by T-Unit »

Could you put a contrasting cross through them? E.g. Black cross for red industry, white cross for black industry
fabca2
Transport Coordinator
Transport Coordinator
Posts: 312
Joined: 14 Apr 2004 15:18
Location: Fr

Re: Patch: Small map industry selector v6 [update]

Post by fabca2 »

gule wrote:I know, and here i need your help.

I need a good idea how to mark which industries are connected or which colors use for outlines.
green outline for accepted gargo,
and red outline for required gargo.

an other idea, instead of "selecting one industry", it could be oulined on mouse-hover : then you don't need to unselect and re-select after...
gule
Engineer
Engineer
Posts: 60
Joined: 16 Dec 2004 15:08
Location: Slovenia

Re: Patch: Small map industry selector v6 [update]

Post by gule »

I change how to show which industries are connected. I remove outlines and replace them with black markers (squares) on the left or right side of the box which shows industry color.
If marker is on the left side, then industry accept cargo produced by selected industry and if marker is on the right side, then industry produce cargo accepted by selected industry. If I use different colors then black, you can hardly see the markes.
I remove outlines beacuse, with them you can not see industries which accept produced cargo and also produce accepted cargo by selected industy, now you can.
Screenshot and diff files are in first post.

If some body have even better idea how to show connected industries, let me know.
T-Unit wrote:Could you put a contrasting cross through them? E.g. Black cross for red industry, white cross for black industry
I do not understand what do you want.
fabca2 wrote:an other idea, instead of "selecting one industry", it could be oulined on mouse-hover : then you don't need to unselect and re-select after...
I do not think this will be usefull, too much blinking when you move mouse over industries list and also to much calculating on every mouse move.
T-Unit
Transport Coordinator
Transport Coordinator
Posts: 368
Joined: 03 Feb 2007 18:53
Location: Leeds, England

Re: Patch: Small map industry selector v6 [update]

Post by T-Unit »

gule wrote:
T-Unit wrote:Could you put a contrasting cross through them? E.g. Black cross for red industry, white cross for black industry
I do not understand what do you want.
Sorry i seem to have misunderstood what you meant. I was thinking physically connected (i.e. by rail) rather than connected by supply chain.
fabca2
Transport Coordinator
Transport Coordinator
Posts: 312
Joined: 14 Apr 2004 15:18
Location: Fr

Re: Patch: Small map industry selector v6 [update]

Post by fabca2 »

gule wrote:I change how to show which industries are connected. I remove outlines and replace them with black markers (squares)
good idea, but maybe change the square by a triangle (an horizontal arrow)

example ...

accept cargo :

Code: Select all

|\  ##########
|/  ##########
produce cargo :

Code: Select all

  ########## |\
  ########## |/
gule
Engineer
Engineer
Posts: 60
Joined: 16 Dec 2004 15:08
Location: Slovenia

Re: Patch: Small map industry selector v6 [update]

Post by gule »

I replaced black boxes with arrows (->). I do not know if looks good.
I am still looking for realy good idea.
Diff is in first post.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Baidu [Spider] and 5 guests