summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-03-10Feature: Add rail icon to rail construction drop down list.peter1138
2019-03-09Add: windowshade for rail station construction windowAndy
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-07-26Change: Extend rail types to 64 (6 bit storage)Peter Nelson
2018-06-06Codechange: Change element type used for rail type usage stats array in ↵Jonathan G Rennison
SetDefaultRailGui The array is rail type sized in terms of number of elements. Each element should be a unsigned integer, not a rail type itself. This fixes runtime warnings reported by UndefinedBehaviorSanitizer.
2016-12-25(svn r27710) -Change: Limit waypoint area by maximum station spread already ↵frosch
when dragging. (adf88)
2016-12-08(svn r27683) -Change: Rearrange the autoreplace GUI for trains, and do not ↵frosch
filter it by railtype by default.
2016-05-22(svn r27571) -Codechange: Consistent naming for command callbacks which play ↵frosch
a sound effect.
2016-04-19(svn r27547) -Fix: Use a more appropiate sound effect for convert-rail. ↵frosch
(andythenorth)
2015-10-30(svn r27427) -Fix: Use the NewGRF railtype sorting order in the ↵frosch
infrastructure window.
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-06-10(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.frosch
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.
2014-02-24(svn r26375) -Fix [FS#5929]: Station sizes > 8 were always allowed. (adf88)frosch
2013-11-24(svn r26088) -Fix (r26086): Windows compilationrubidium
2013-11-24(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵rubidium
dropdowns
2013-11-12(svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in ↵rubidium
multiplayer (adf88)
2013-10-28(svn r25929) -Fix [FS#5733]: Position signal sprites size-aware in the ↵frosch
signal GUI, that is: Center sprites horizontally, and align the vertical reference point at some baseline which centers the tallest sprite.
2013-10-28(svn r25928) -Fix [FS#5733]: Reserve enough space for two digits of signal ↵frosch
density. (adf88)
2013-10-28(svn r25927) -Fix [FS#5733]: Consider size of signal sprites for sizing the ↵frosch
signal GUI. (based on patch by adf88)
2013-10-12(svn r25854) -Change: Display the cost to upgrade a bridge at the end of ↵zuu
bridge that was clicked and not the other end, which could be outside of the screen in some cases (cirdan, LordAro)
2013-06-30(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of ↵frosch
rows and columns from the resize step size.
2013-06-30(svn r25535) -Fix [FS#5584]: Initialise scrollbars before FinishInitNested, ↵frosch
so their capacity is set via OnResize.
2013-06-30(svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets ↵frosch
depend on their number of rows, since that changes when resizing the window.
2013-06-30(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
2013-06-25(svn r25464) -Fix: Hide default size button in non-newstation rail-station ↵frosch
picker since it is not resizeable anyway.
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 r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
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-03-04(svn r25064) -Fix [FS#5472]: Make sizes of the station preview identical ↵planetmaker
list and direction selection identical in the station build window
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-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-09-01(svn r24507) -Fix [FS#5285]: The mousewheel did not work in the build ↵frosch
waypoint window. (sbr)
2012-07-01(svn r24367) -Feature: [NewGRF] Customisable signals for rail types.michi_cc
2012-04-22(svn r24167) -Codechange: Rename NewGRFClass::GetCount() to ↵frosch
NewGRFClass::GetClassCount()
2012-04-22(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) ↵frosch
into non-static members GetSpec(uint) and GetSpecCount().
2012-04-22(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in ↵frosch
favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-04-17(svn r24144) -Change [FS#4605]: Reset 'convert signal' button when signal ↵michi_cc
GUI is closed. (yorick)
2012-04-17(svn r24130) -Feature(ette): [FS#2314]: Deselect 'remove' button when ↵michi_cc
changing signal types in the GUI. (Alberth)