summaryrefslogtreecommitdiff
path: root/src/dock_gui.cpp
AgeCommit message (Collapse)Author
2021-05-29Codechange: Rename window related DeleteXXX to match new behaviourglx22
2021-05-29Fix f6d5c01: Delay deletion when closing windowsglx22
2021-04-02Feature: Press ctrl to build diagonal rivers in Scenario Editor (#8880)Tyler Trahan
2021-02-20Codechange: rename sound ids to make more sense. (#8701)frosch
2021-01-08Fix af22a4f2: scenario editor doesn't have build station/depot/etc (#8529)Patric Stout
2021-01-08Add: show in the tooltip of disabled toolbar buttons why they are disabledPatric Stout
2021-01-08Change: always allow to click on the toolbar icons for road/rail/dock/airportPatric Stout
This change allows a user to see what is available and what will become available before it is available, instead of only disabling the button with no further explanation. It also always allows building roads and canals, even if no vehicles are available for road / water. For rail/road/tram, a dropdown with available types is shown. If none are available, it reads "None". If the type is not yet available, it is greyed out. For dock/airport, this always open the toolbar, but building airports, docks, and depots buttons are disabled till vehicles are available for those. Road is the only exception, with the primary road always being available. Here too, stations and depots are disabled till vehicles become available. It does mean you can now always build roads to for example help towns grow.
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-07-27Fix: Properly invalidate mouse-over station coverage highlight (#8263)Łukasz Hryniuk
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-08Fix #7635: Game crash on exit scenario editor.stormcone
2019-09-07Fix #7188: check the validity of command callback for scripts (#7701)glx22
2019-04-29Fix 81d335b: Don't check state of widget not present in scenario editor. (#7551)PeterN
2019-04-25Feature: Add existing station coverage area display when placing new station ↵peter1138
parts.
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2016-05-22(svn r27577) -Fix [FS#6386]: Dock and roadstop picker, client list and town ↵frosch
authority window did not auto-resize according to their content when they were positioned at the bottom of the screen. (Eearslya)
2016-05-22(svn r27571) -Codechange: Consistent naming for command callbacks which play ↵frosch
a sound effect.
2015-02-22(svn r27163) -Fix [FS#6204]: Toolbars were not invalidated when changing ↵frosch
max-vehicles settings. (adf88)
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-09-22(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom ↵peter1138
level.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-23(svn r26422) -Fix [FS#5946]: Some road constructions used the rail sound ↵frosch
effect. Rename the enum items to properly reflect their purpose.
2013-06-15(svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList.frosch
2013-06-15(svn r25412) -Codechange: Make use of Window::OnHotkeyfrosch
2013-06-15(svn r25410) -Codechange: Put all hotkeys of a window into a static ↵frosch
HotkeyList member.
2013-06-15(svn r25408) -Codechange: Simplify hotkeys by removing unused stuff.frosch
2013-06-15(svn r25401) -Fix-ish: Add missing includes with prototypes to functions ↵frosch
declared in the cpp file.
2013-06-11(svn r25395) -Fix [FS#5596]: The size of station construction windows could ↵frosch
oscillate when resizing the window moved the mouse into the window.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a ↵truebrain
Window class
2011-12-16(svn r23531) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-11-04(svn r23106) -Codechange: pass int* to GetTileSlope and friendsrubidium
2011-11-04(svn r23102) -Codechange: remove the remaining pointless multiplications by ↵rubidium
TILE_HEIGHT
2011-11-04(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and ↵rubidium
use it
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-07-10(svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks ↵frosch
and depots. (based on patched by adf88 and michi_cc)
2011-03-20(svn r22266) -Fix [FS#4558]: In the scenario editor you could build a ship ↵rubidium
depot using the hotkeys. Removing that depot causes an assertions to trigger.
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-04(svn r21959) -Change: replace longbridges with custom maximum bridge and ↵rubidium
tunnel length setting
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-15(svn r21806) -Codechange: Correct additional appearances of the same typo.terkhen
2011-01-15(svn r21805) -Codechange: Correct a typo.terkhen