summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
2011-11-15(svn r23233) -Codechange: Refactor maximum and actually transported cargo ↵michi_cc
amount of towns into a reusable struct.
2011-11-04(svn r23096) -Codechange: remove useless divisions and multiplications by ↵rubidium
TILE_HEIGHT for the snow line code
2011-04-30(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be ↵rubidium
declared in string_func.h.
2011-04-17(svn r22345) -Change: Remove pixel limiter for text buffers.terkhen
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-04-09(svn r22307) -Fix: When drawing the town authority window, check whether the ↵frosch
availability of the actions changed, and force a complete redraw in that case.
2011-03-13(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.frosch
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-03-08(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs ↵frosch
list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
2011-01-30(svn r21929) -Fix [FS#4554]: The town window would not be invalidated in the ↵planetmaker
scenario editor if the ground changed and thus the required cargos for town growth
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-24(svn r21627) -Codechange: Remove _place_proc global variable.alberth
2010-12-05(svn r21414) -Codechange: limit town name by amount of characters, not bytesrubidium
2010-11-27(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.terkhen
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-23(svn r21022) -Add (r21021): Missed recentering of a town gui viewport after ↵alberth
a resize.
2010-10-19(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could ↵planetmaker
be too small
2010-09-02(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive ↵frosch
rights and unread news.
2010-09-02(svn r20719) -Codechange: Remove some hardcoded iconsizes.frosch
2010-08-16(svn r20511) -Fix: Initial height of townlist was not a multiple of the line ↵frosch
height.
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-02(svn r20325) -Fix (r20322): surround variable declarations in a switch-block ↵yexo
with {}
2010-08-02(svn r20323) -Codechange: Move Delete town code to a command.terkhen
2010-08-02(svn r20322) -Codechange: Move Expand town code to a command.terkhen
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-07-26(svn r20221) -Codechange: Move unscrolled row calculation into a function.alberth
2010-07-19(svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found ↵terkhen
town window (Zuu).
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworldrubidium
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