Commit Graph

184 Commits (608d5bdd97e157ee4e8e6a16b22a72e72fd2f483)

Author SHA1 Message Date
yexo 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
yexo 80982cc91b (svn r19198) -Codechange: store the size of stations in savegames 15 years ago
rubidium 06600a6834 (svn r19119) -Fix [FS#3616]: removing towns (in the scenario editor) that had stations/depots refer to them or vehicles were on the town's road could cause a crash 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
frosch d5d489a840 (svn r18964) -Change: Highlight the selected action for town authority, and do not duplicate the itemtext to the description. 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
rubidium d574158a53 (svn r18676) -Change [FS#3411]: 'escape' in the 'found town' window removes the focus from the town name input box 15 years ago
alberth b929bb000a (svn r18596) -Fix: Add padding to several town generation buttons and labels for nice and consistent layout. 15 years ago
alberth 0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
rubidium 32b86b23b5 (svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable 15 years ago
frosch 7c727d4c4c (svn r18433) -Codechange: Show different texts in town GUI when the town does not need food the whole year to grow. 15 years ago
frosch 96e72d3fa1 (svn r18416) -Fix (r15559): Only consider valid cargos in town GUI. 15 years ago
frosch c942f95a6d (svn r18328) -Codechange: Remove last usage of {SETX} from strings. 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
frosch 13a72bb345 (svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
15 years ago
smatz f7466979b9 (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 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
rubidium 4b8f180ffd (svn r18263) -Codechange: make the town views resizable 15 years ago
rubidium df8d95738d (svn r18255) -Codechange: make the town authority window big font aware 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 c0db53a4dc (svn r18179) -Codechange: make the town authority window RTL aware 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 fa1c023da5 (svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium 72fe81b401 (svn r17654) -Fix [FS#3220] (r17612): the edit box of the town fund window wasn't updated properly (based on patch of Terkhen) 15 years ago
smatz ad2c641bca (svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen) 15 years ago
smatz a2f43040af (svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too 15 years ago
smatz 13437a998e (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 15 years ago
alberth 93112ceaef (svn r17587) -Codechange: Town authority window uses pure nested widgets. 15 years ago
alberth f568b0c98a (svn r17586) -Codechange: Adding documentation, and replacing some numbers with constants in the town authority window. 15 years ago
alberth ba5e072881 (svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing. 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 1be2568438 (svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases 15 years ago
alberth d3577d3d5d (svn r17569) -Codechange: Town view window runs with nested widgets. 15 years ago
smatz 2b4458da63 (svn r17540) -Codechange: move functionality of PlaceProc_Town() to FoundTownWindow::OnPlaceObject() 15 years ago
alberth a76da0e36a (svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry list, and use that text in the size computation as well. 15 years ago
rubidium fc193fd902 (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers 15 years ago
smatz f22e1cf9ab (svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns 15 years ago