summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
AgeCommit message (Collapse)Author
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-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-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-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-28(svn r24948) -Codechange: Do not assume CA_BUS and CA_TRUCK to be equal, ↵zuu
instead let the compiler optimize the code if that is the case. (ComLock)
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
2011-12-19(svn r23601) -Fix: fix the conflict in window numbertruebrain
2011-12-16(svn r23559) -Codechange: Document and name consistently road build widgetsplanetmaker
2011-12-16(svn r23529) -Codechange: make all widget enum values unique and make them ↵truebrain
include the files they need to compile
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-07(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.hrubidium
2011-01-14(svn r21779) -Cleanup(r21778): Remove unneeded space at the start of a line.terkhen
2011-01-14(svn r21778) -Add: After building a road or tram tunnel, connect it to any ↵terkhen
existing road or tram.
2011-01-14(svn r21776) -Codechange: Give a more appropriate name to the road ↵terkhen
connection function. -Document: Add doxygen comments to the function.
2010-12-24(svn r21627) -Codechange: Remove _place_proc global variable.alberth
2010-12-23(svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing ↵alberth
of areas.
2010-12-20(svn r21552) -Codechange: Move short callback functions into the switch.alberth
2010-12-20(svn r21551) -Codechange: Record the last started user action, and use that ↵alberth
in the callback.
2010-12-20(svn r21550) -Codechange: Move the small static functions into the switch.alberth
2010-12-20(svn r21549) -Codechange: Unfold the _build_road_button_proc array into a ↵alberth
switch.
2010-12-20(svn r21548) -Codechange: Code style, multi line statements should indent ↵alberth
two tabs.
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-09-28(svn r20856) -Fix [FS#4141]: Road/water toolbars did not get updated when ↵terkhen
the first vehicle of their type becomes available.
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-04(svn r20073) -Feature: customizable hotkeys for the road toolbaryexo
2010-04-14(svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel.frosch
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-03-17(svn r19445) -Change: No need to drag an area when overbuilding bridges.frosch
2010-02-24(svn r19230) -Feature: Allow to remove multiple road stops using drag and drop.terkhen
2010-02-24(svn r19229) -Feature: Allow to build multiple road stops using drag and ↵terkhen
drop (Based on Wolf01 work)
2010-02-24(svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop.terkhen
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-14(svn r18803) -Feature [FS#3318]: make building (long) roads work like ↵rubidium
building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen.
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2009-11-28(svn r18324) -Codechange: there's no need for a default size when the window ↵rubidium
isn't resizable
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-28(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top ↵rubidium
location based on the main toolbar's height instead of hardcoding that
2009-11-24(svn r18280) -Codechange: remove widget indices that are not needed for ↵rubidium
custom drawing/handling input