summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
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
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