Commit Graph

117 Commits (0152ea53c83e2f375ea5fa3c90ed83893a0644c3)

Author SHA1 Message Date
terkhen aadf070f06 (svn r21777) -Add: After building a road or tram bridge, connect it to any existing road or tram. 14 years ago
smatz c8a1138fd7 (svn r21673) -Change [FS#4358]: do not show price to build a bridge in the scenario editor, it is free there 14 years ago
rubidium a6024080f1 (svn r21460) -Change [FS#3975]: place the bridge building window under the mouse instead of somewhere randomly on the screen and change the default sort order 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
alberth de9c678901 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 14 years ago
alberth 9ef150d7ea (svn r21267) -Doc: Typo fixes. 14 years ago
planetmaker 310de59b0f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 14 years ago
frosch 98cd443735 (svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI. 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch 4817d5dcd6 (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll 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.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
rubidium b4d4e5722a (svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges 14 years ago
alberth 581c110bfe (svn r19561) -Feature: Give more detailed error message when trying to build a too long bridge. 14 years ago
alberth f185e5a8d7 (svn r19559) -Codechange: Rename CheckBridge_Stuff() to CheckBridgeAvailability(). 14 years ago
alberth efddc16fc3 (svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message. 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
rubidium 1c468db7d5 (svn r19087) -Codechange: some typos in StringIDs 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 26b203e3ff (svn r18781) -Codechange: pass the CommandCost to the callback instead of 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.
15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
rubidium c227abd7c3 (svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars 15 years ago
rubidium f106bbbe5c (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
rubidium b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 2e59affde5 (svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
alberth de9156db33 (svn r17056) -Codechange: Reduce width of the drop-down in the bridge gui. 15 years ago
alberth 505363edb4 (svn r17055) -Codechange: Improve aligning of bridge sprites and descriptions in bridge gui. 15 years ago
alberth 912500ba3c (svn r17054) -Codechange: Bridge gui uses nested widgets only. 15 years ago