alberth
852e647bcc
(svn r21627) -Codechange: Remove _place_proc global variable.
14 years ago
rubidium
eafc316342
(svn r21414) -Codechange: limit town name by amount of characters, not bytes
14 years ago
rubidium
5c9c3f1acf
(svn r21414) -Codechange: limit town name by amount of characters, not bytes
14 years ago
terkhen
64c200a25e
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
14 years ago
terkhen
75f86a7a21
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
14 years ago
alberth
0722492c1b
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
alberth
85a5fcf58a
(svn r21022) -Add (r21021): Missed recentering of a town gui viewport after a resize.
14 years ago
alberth
c4687de4e2
(svn r21022) -Add (r21021): Missed recentering of a town gui viewport after a resize.
14 years ago
planetmaker
310de59b0f
(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small
14 years ago
planetmaker
c2a7b82a9f
(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small
14 years ago
frosch
46acb837eb
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
14 years ago
frosch
48767d1bef
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
14 years ago
frosch
41dac2e579
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
14 years ago
frosch
48d8f16653
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
14 years ago
frosch
fe408faa96
(svn r20511) -Fix: Initial height of townlist was not a multiple of the line height.
14 years ago
frosch
65b43667fa
(svn r20511) -Fix: Initial height of townlist was not a multiple of the line height.
14 years ago
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
4817d5dcd6
(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.
14 years ago
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.
14 years ago
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
yexo
2ead6100a2
(svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {}
14 years ago
yexo
5ae4e27446
(svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {}
14 years ago
terkhen
ec6cba6b92
(svn r20323) -Codechange: Move Delete town code to a command.
14 years ago
terkhen
7a6df202d0
(svn r20323) -Codechange: Move Delete town code to a command.
14 years ago
terkhen
014771848d
(svn r20322) -Codechange: Move Expand town code to a command.
14 years ago
terkhen
ca0751adb8
(svn r20322) -Codechange: Move Expand town code to a command.
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
terkhen
c92b2e9d3c
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
alberth
a50578c3ad
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
71aac2192f
(svn r20221) -Codechange: Move unscrolled row calculation into a function.
14 years ago
alberth
3a1451644a
(svn r20221) -Codechange: Move unscrolled row calculation into a function.
14 years ago
terkhen
4b921170b8
(svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found town window (Zuu).
14 years ago
terkhen
5685e061c0
(svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found town window (Zuu).
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
60b93f5c69
(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld
14 years ago
rubidium
73527b7b45
(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld
14 years ago
terkhen
bec213d60b
(svn r20139) -Fix [FS#3902]: Found town window ignored all hotkeys (Zuu).
14 years ago
terkhen
e9793b3427
(svn r20139) -Fix [FS#3902]: Found town window ignored all hotkeys (Zuu).
14 years ago
frosch
b46439e3d0
(svn r19890) -Codechange: Use real spritewidths for drawing town authority window.
14 years ago
frosch
50bcc852f9
(svn r19890) -Codechange: Use real spritewidths for drawing town authority window.
14 years ago
rubidium
f09a74a996
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
14 years ago
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
14 years ago
rubidium
7f43b93eae
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
14 years ago
rubidium
93ff7d78e1
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
14 years ago
alberth
b0f3fff54b
(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums.
14 years ago
alberth
e89f154c0d
(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums.
14 years ago
yexo
22a27d3b62
(svn r19455) -Codechange: split all airport information in Station to a seperate class
14 years ago
yexo
c4a88ce022
(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
smatz
f051066bc4
(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
yexo
698737f485
(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
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
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
frosch
88019e64e1
(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
frosch
af50e0a4cf
(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
82fc28f77f
(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
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.
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
rubidium
ebfdcf575d
(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
a87748df8a
(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
91872aca48
(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
alberth
5a083f183e
(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
rubidium
ac4ef286f4
(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
9dd74395c8
(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
7d905fae22
(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
frosch
ae97bf029c
(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
rubidium
293dfd7c3e
(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
frosch
830231e2bd
(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
smatz
f0c64208cf
(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
8d6e323ef8
(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
14300d309c
(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
69b6d9309a
(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
12f5032adf
(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
rubidium
4b555968c4
(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
450e40b997
(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
alberth
2b6f792513
(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
8b5a010f3a
(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
5f2ddfbc5a
(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
626de6b128
(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
rubidium
3d2d7af88f
(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
frosch
ba1fc280e3
(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
alberth
44aacfc59f
(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
ca0521f89f
(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
d1d35b95b6
(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
4ab569544b
(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
d6cded5380
(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
rubidium
09124e2186
(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
1da745c9ad
(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
93d275f1be
(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
smatz
15511678e3
(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
bae15616f7
(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
46cd3ee944
(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
17a52eb852
(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
alberth
116c77c342
(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
rubidium
9d7fe9bd86
(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
alberth
fa33b92b0f
(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
smatz
95dd198053
(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
alberth
9fd22f727f
(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
rubidium
900aedf270
(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
smatz
352d07b1b5
(svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns
15 years ago
rubidium
751dc4ad3d
(svn r17323) -Codechange: replace some magic numbers with constants in the town directory.
15 years ago
rubidium
0d3ab7c72d
(svn r17323) -Codechange: replace some magic numbers with constants in the town directory.
15 years ago
rubidium
ecf50ba58e
(svn r17321) -Codechange: minor coding style fixes for the town directory
15 years ago
rubidium
0007a599c3
(svn r17321) -Codechange: minor coding style fixes for the town directory
15 years ago
rubidium
d4a98be94a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
aca7ba714a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
smatz
073e163b7f
(svn r17131) -Codechange: apply coding style to some switch statements
15 years ago
smatz
e707c82412
(svn r17131) -Codechange: apply coding style to some switch statements
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
alberth
42714792dc
(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.
15 years ago
alberth
e3033ee895
(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.
15 years ago
alberth
a8e5d36868
(svn r16952) -Codechange: Use a label for the world population in the town directory window.
15 years ago
alberth
e5bfc5660d
(svn r16952) -Codechange: Use a label for the world population in the town directory window.
15 years ago
rubidium
39e6dbd5e3
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
15 years ago
rubidium
e3053660c6
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
15 years ago
alberth
543b86307f
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
15 years ago
alberth
36576371c0
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
15 years ago
smatz
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
rubidium
34570f4e93
(svn r16842) -Cleanup: add some spaces around a few operators
15 years ago
rubidium
594070194f
(svn r16842) -Cleanup: add some spaces around a few operators
15 years ago
alberth
4458a1ec32
(svn r16840) -Codechange: Small merge in town directory widget content method.
15 years ago
alberth
6767a59827
(svn r16840) -Codechange: Small merge in town directory widget content method.
15 years ago
alberth
43ee12137b
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
15 years ago
alberth
d65c6cae54
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
15 years ago
alberth
9cfbe11e3a
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
15 years ago
alberth
2385aeae3c
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
15 years ago
alberth
4d577b8cc1
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
15 years ago
alberth
527dd3dcf7
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
15 years ago
alberth
14d5eb0427
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
15 years ago
alberth
50ca187524
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
15 years ago
alberth
2509f55d87
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
15 years ago
alberth
baab325b54
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
15 years ago
alberth
0365d15306
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
15 years ago
alberth
d5a42ee825
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
15 years ago
alberth
0b66eb938f
(svn r16558) -Codechange: Switch found-town window to nested widgets.
15 years ago
alberth
bc7e9514d2
(svn r16558) -Codechange: Switch found-town window to nested widgets.
15 years ago
alberth
e47ca002d2
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
15 years ago
alberth
19ccf6912c
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
15 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
15 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
15 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
15 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
15 years ago
rubidium
650cb3694e
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
15 years ago
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
15 years ago
rubidium
5c5b357043
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
15 years ago
rubidium
59d45a04d6
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
15 years ago
rubidium
e88cb7f70f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
15 years ago
rubidium
329cabab4f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
15 years ago
alberth
0f30d27872
(svn r16049) -Codechange: Added nested widgets to town windows.
15 years ago
alberth
eaa98482e4
(svn r16049) -Codechange: Added nested widgets to town windows.
15 years ago
alberth
26630d4870
(svn r16047) -Codechange: Extracting widget number enums from their window classes.
15 years ago
alberth
848404eea5
(svn r16047) -Codechange: Extracting widget number enums from their window classes.
15 years ago
alberth
bc960f7406
(svn r16043) -Codechange: Prepare town-view widgets for nesting.
15 years ago
alberth
f17d6df0a6
(svn r16043) -Codechange: Prepare town-view widgets for nesting.
15 years ago
alberth
da83135dd4
(svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants.
15 years ago
alberth
d0f91fbea2
(svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants.
15 years ago
alberth
93c243a27f
(svn r16039) -Codechange: Completing widget number enums of town windows and adding them as comment to the widget arrays.
15 years ago
alberth
0196f06744
(svn r16039) -Codechange: Completing widget number enums of town windows and adding them as comment to the widget arrays.
15 years ago
alberth
a71d7c7a61
(svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo)
15 years ago
alberth
e85e8ca4db
(svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo)
15 years ago
alberth
bbd546b792
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
15 years ago
alberth
9d2738b9c4
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
15 years ago
rubidium
12f1abbce0
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
15 years ago
rubidium
57174a9301
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
15 years ago
rubidium
dcd5ad8b19
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
15 years ago
rubidium
d837fc4d03
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
15 years ago
rubidium
7f468dc142
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
frosch
b95fa2b7a3
(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)
16 years ago
frosch
a987c7299b
(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)
16 years ago
smatz
cb13180774
(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow
16 years ago
smatz
42747e222c
(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow
16 years ago
smatz
b8438555df
(svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN
16 years ago
smatz
0878541cf2
(svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN
16 years ago
rubidium
a7693c6059
(svn r15425) -Codechange: some color->colour changes and type safety.
16 years ago
rubidium
8dae160d0f
(svn r15425) -Codechange: some color->colour changes and type safety.
16 years ago
smatz
801ff9c9ca
(svn r15357) -Codechange: unify the way buttons are updated in the 'found town' window
16 years ago
smatz
6dff31d34b
(svn r15357) -Codechange: unify the way buttons are updated in the 'found town' window
16 years ago
smatz
2806d7b0a0
(svn r15356) -Codechange: make PlaceProc_Town and some global variables a static function/variables of the scenedit window
16 years ago
smatz
ef4282f8de
(svn r15356) -Codechange: make PlaceProc_Town and some global variables a static function/variables of the scenedit window
16 years ago
smatz
b42f87d245
(svn r15353) -Feature(tte): make it possible to have cities of various sizes
16 years ago
smatz
324b54132c
(svn r15353) -Feature(tte): make it possible to have cities of various sizes
16 years ago
smatz
f561fa2891
(svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable
16 years ago
smatz
aa692a99a9
(svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable
16 years ago
smatz
e80255c4ae
(svn r15342) -Feature: allow changing town layout in the 'Found new town' window
16 years ago
smatz
df2a387fc3
(svn r15342) -Feature: allow changing town layout in the 'Found new town' window
16 years ago
rubidium
a49197f522
(svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company.
16 years ago
rubidium
7da743a0dc
(svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company.
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago