summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
2010-07-14(svn r20139) -Fix [FS#3902]: Found town window ignored all hotkeys (Zuu).terkhen
2010-05-23(svn r19890) -Codechange: Use real spritewidths for drawing town authority ↵frosch
window.
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-05-12(svn r19799) -Change: give depots an unique name in the same manner buoys ↵rubidium
and waypoints are named
2010-03-20(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and ↵alberth
TownSize enums.
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-02-22(svn r19198) -Codechange: store the size of stations in savegamesyexo
2010-02-13(svn r19119) -Fix [FS#3616]: removing towns (in the scenario editor) that ↵rubidium
had stations/depots refer to them or vehicles were on the town's road could cause a crash
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-30(svn r18964) -Change: Highlight the selected action for town authority, and ↵frosch
do not duplicate the itemtext to the description.
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-31(svn r18676) -Change [FS#3411]: 'escape' in the 'found town' window removes ↵rubidium
the focus from the town name input box
2009-12-21(svn r18596) -Fix: Add padding to several town generation buttons and labels ↵alberth
for nice and consistent layout.
2009-12-21(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.alberth
2009-12-20(svn r18580) -Codechange: Use widget information only for setting scrollbar ↵alberth
capacity.
2009-12-09(svn r18447) -Change: make some more windows (e.g. graphs, company view) ↵rubidium
stickyable
2009-12-08(svn r18433) -Codechange: Show different texts in town GUI when the town ↵frosch
does not need food the whole year to grow.
2009-12-06(svn r18416) -Fix (r15559): Only consider valid cargos in town GUI.frosch
2009-11-28(svn r18328) -Codechange: Remove last usage of {SETX} from strings.frosch
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
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.
2009-11-24(svn r18281) -Feature: founding towns in-game (based on work by Belugas, ↵smatz
TheJosh, GeekToo, Terkhen and others)
2009-11-24(svn r18280) -Codechange: remove widget indices that are not needed for ↵rubidium
custom drawing/handling input
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-23(svn r18263) -Codechange: make the town views resizablerubidium
2009-11-23(svn r18255) -Codechange: make the town authority window big font awarerubidium
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth
2009-11-19(svn r18179) -Codechange: make the town authority window RTL awarerubidium
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-16(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar ↵rubidium
capacity/matrix initialisation
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-10(svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used ↵rubidium
town name for the 'Generate Town' window
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-27(svn r17654) -Fix [FS#3220] (r17612): the edit box of the town fund window ↵rubidium
wasn't updated properly (based on patch of Terkhen)
2009-09-22(svn r17612) -Feature: possibility to choose (randomise or enter custom) ↵smatz
town name before its creation (original patch by Terkhen)
2009-09-21(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' toosmatz
2009-09-21(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'smatz
2009-09-20(svn r17587) -Codechange: Town authority window uses pure nested widgets.alberth
2009-09-20(svn r17586) -Codechange: Adding documentation, and replacing some numbers ↵alberth
with constants in the town authority window.
2009-09-20(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a ↵alberth
header file to allow sharing.
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-19(svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town ↵rubidium
in most of the cases