truebrain
b9192bdc4c
(svn r23310) -Fix: Town GUI was not representing the true conditions of arctic / tropical goals
2011-11-23 18:55:13 +00:00
truebrain
f906ebd2a5
(svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town
2011-11-23 16:07:14 +00:00
truebrain
229e572663
(svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
2011-11-23 16:05:19 +00:00
michi_cc
6548ec6e9e
(svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct.
2011-11-15 20:47:53 +00:00
rubidium
69162621d8
(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code
2011-11-04 10:25:58 +00:00
rubidium
46c242b1dc
(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h.
2011-04-30 14:24:23 +00:00
terkhen
5bb7a48cd2
(svn r22345) -Change: Remove pixel limiter for text buffers.
2011-04-17 18:44:09 +00:00
terkhen
10caf391a1
(svn r22343) -Change: Remove pixel limiter for query strings.
2011-04-17 18:42:17 +00:00
frosch
6ce83c0aaa
(svn r22307) -Fix: When drawing the town authority window, check whether the availability of the actions changed, and force a complete redraw in that case.
2011-04-09 21:15:24 +00:00
frosch
652c9cb663
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
2011-03-13 21:34:21 +00:00
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
2011-03-13 21:31:29 +00:00
frosch
77d1dcb926
(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
2011-03-08 20:52:59 +00:00
planetmaker
df8c4bdbfa
(svn r21929) -Fix [FS#4554]: The town window would not be invalidated in the scenario editor if the ground changed and thus the required cargos for town growth
2011-01-30 19:14:48 +00:00
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
alberth
852e647bcc
(svn r21627) -Codechange: Remove _place_proc global variable.
2010-12-24 15:08:19 +00:00
rubidium
5c9c3f1acf
(svn r21414) -Codechange: limit town name by amount of characters, not bytes
2010-12-05 22:25:21 +00:00
terkhen
75f86a7a21
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
2010-11-27 22:52:12 +00:00
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
2010-11-26 15:22:18 +00:00
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
alberth
c4687de4e2
(svn r21022) -Add (r21021): Missed recentering of a town gui viewport after a resize.
2010-10-23 21:14:35 +00:00
planetmaker
c2a7b82a9f
(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small
2010-10-19 21:48:20 +00:00
frosch
48767d1bef
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
2010-09-02 20:00:48 +00:00
frosch
48d8f16653
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
2010-09-02 19:34:44 +00:00
frosch
65b43667fa
(svn r20511) -Fix: Initial height of townlist was not a multiple of the line height.
2010-08-16 08:33:28 +00:00
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
71ca58c2bb
(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.
2010-08-12 08:37:01 +00:00
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
yexo
5ae4e27446
(svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {}
2010-08-02 21:25:17 +00:00
terkhen
7a6df202d0
(svn r20323) -Codechange: Move Delete town code to a command.
2010-08-02 21:07:23 +00:00
terkhen
ca0751adb8
(svn r20322) -Codechange: Move Expand town code to a command.
2010-08-02 21:06:06 +00:00
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
2010-07-29 14:26:28 +00:00
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
2010-07-26 13:08:48 +00:00
alberth
3a1451644a
(svn r20221) -Codechange: Move unscrolled row calculation into a function.
2010-07-26 13:02:28 +00:00
terkhen
5685e061c0
(svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found town window (Zuu).
2010-07-19 20:52:14 +00:00
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
2010-07-19 17:28:27 +00:00
rubidium
73527b7b45
(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld
2010-07-19 17:17:36 +00:00
terkhen
e9793b3427
(svn r20139) -Fix [FS#3902]: Found town window ignored all hotkeys (Zuu).
2010-07-14 11:43:46 +00:00
frosch
50bcc852f9
(svn r19890) -Codechange: Use real spritewidths for drawing town authority window.
2010-05-23 15:17:05 +00:00
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
2010-05-13 09:44:44 +00:00
rubidium
93ff7d78e1
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
2010-05-12 19:21:00 +00:00
alberth
e89f154c0d
(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums.
2010-03-20 10:55:08 +00:00
yexo
c4a88ce022
(svn r19455) -Codechange: split all airport information in Station to a seperate class
2010-03-18 21:02:20 +00:00
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
2010-02-24 14:46:15 +00:00
yexo
698737f485
(svn r19198) -Codechange: store the size of stations in savegames
2010-02-22 14:17:07 +00:00
rubidium
9c02767a92
(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
2010-02-13 14:02:36 +00:00
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
2010-01-30 18:34:48 +00:00
frosch
af50e0a4cf
(svn r18964) -Change: Highlight the selected action for town authority, and do not duplicate the itemtext to the description.
2010-01-30 16:29:52 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
2b97f38cd1
(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.
2010-01-11 18:46:09 +00:00