Skip to main content
Topic: rev.2011 Win-SDL+GDI: hovering chooses road/track type + menuconf.tab questions (Read 3343 times) previous topic - next topic

rev.2011 Win-SDL+GDI: hovering chooses road/track type + menuconf.tab questions

Initial observation: road building chooses random road types in Pak128

After some testing I conclude: if I choose to build a road by the key 's', the chosen road type is the one that the mouse cursor last hovered over in the road building menue. (EDIT: this also happens with Pak64.) The preferred behaviour would be to remember the last type (is this still implemented after the switch to the new menue system?), and the type should change only when I select another type by clicking on the icon.

Related question for menuconf.tab: can I define an exaxt road/track/wayobj type for a hotkey? Currently, first comes a sequence of the available types (all to be shown in the toolbar), then a key definition (if I have understood this right):

toolbar[2][0]=ways(2,0)
toolbar[2][1]=ways(2,1)
...
toolbar[2][10]=general_tool[14],,t,2 # <- the "2" is for rail - no subtype?

I figured that "toolbar[8][12]=general_tool[14],,l,128" is the way to get the hotkey for powerlines back (this and the 'e' key are missing in Pak64).

Re: rev.2011 Win-SDL+GDI: hovering chooses road/track type + menuconf.tab questi

Reply #1
And in principle the last waytype should be remebered ... For electricfication general_tool[18],,e,2 should do the trick for rail.

And you could use fixed ****ignements using just the name of the pak. The waybuilder is called with a string.
=general_tool[14],,s,city_road

Re: rev.2011 Win-SDL+GDI: hovering chooses road/track type + menuconf.tab questions

Reply #2
The 's' key works fine now, hotkeys have been re-added in pak64 rev.99 => closed.