summaryrefslogtreecommitdiff
path: root/src/bridge_gui.cpp
AgeCommit message (Collapse)Author
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replaced SmallVector::Get() const with std alternativesHenry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2018-07-26Change: Extend rail types to 64 (6 bit storage)Peter Nelson
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
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
2013-08-05(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵michi_cc
just UCS-2 to the window key press handlers.
2013-06-30(svn r25543) -Cleanup: Make the bridge and object picker not restore their ↵frosch
previous size, but the previously saved size.
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 r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
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-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-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-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-07-30(svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated ↵rubidium
when adding road types as well (based on patch by adf88)
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-14(svn r21777) -Add: After building a road or tram bridge, connect it to any ↵terkhen
existing road or tram.
2010-12-31(svn r21673) -Change [FS#4358]: do not show price to build a bridge in the ↵smatz
scenario editor, it is free there
2010-12-11(svn r21460) -Change [FS#3975]: place the bridge building window under the ↵rubidium
mouse instead of somewhere randomly on the screen and change the default sort order
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-20(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.alberth
2010-11-20(svn r21267) -Doc: Typo fixes.alberth
2010-10-19(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could ↵planetmaker
be too small
2010-09-13(svn r20802) -Fix: Building bridges on water/watery objects behaved ↵frosch
inconsistently for towns and the bridge selection GUI.
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
and vscroll2. Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-05-22(svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels ↵rubidium
and bridges
2010-04-04(svn r19561) -Feature: Give more detailed error message when trying to build ↵alberth
a too long bridge.
2010-04-04(svn r19559) -Codechange: Rename CheckBridge_Stuff() to ↵alberth
CheckBridgeAvailability().
2010-03-14(svn r19419) -Codechange: Use failed CommandCost object to retrieve message ↵alberth
instead of _error_message.
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-02-10(svn r19087) -Codechange: some typos in StringIDsrubidium
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
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-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-12-20(svn r18580) -Codechange: Use widget information only for setting scrollbar ↵alberth
capacity.
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().