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
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
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
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
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
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
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
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
e9e2ffade2
(svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers
15 years ago
rubidium
7aa9f8e3fb
(svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers
15 years ago
rubidium
123c44137a
(svn r17364) -Fix (r17356): off by one when selecting a subsidy
15 years ago
rubidium
b13eccb105
(svn r17364) -Fix (r17356): off by one when selecting a subsidy
15 years ago
rubidium
cbe1b67811
(svn r17356) -Fix: actually implement scrolling for the subsidy list instead of 'just' showing a scroll bar.
15 years ago
rubidium
a4af668986
(svn r17356) -Fix: actually implement scrolling for the subsidy list instead of 'just' showing a scroll bar.
15 years ago
rubidium
c7d39c9bf8
(svn r17355) -Codechange: determine the minimum size of the subsidy gui based on (some) of the content
15 years ago
rubidium
c96733d191
(svn r17355) -Codechange: determine the minimum size of the subsidy gui based on (some) of the content
15 years ago
rubidium
74b7e1ab65
(svn r17354) -Codechange: make the subsidy gui nested
15 years ago
rubidium
af818b6c09
(svn r17354) -Codechange: make the subsidy gui nested
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
0502a6df42
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
...
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
15 years ago
smatz
2a430d981f
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
...
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
15 years ago
smatz
738d7fde53
(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
15 years ago
smatz
74d3382b94
(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
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
smatz
3564579dc4
(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age
15 years ago
smatz
af13707e00
(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age
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
smatz
93557ba4e9
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
76a50ce94d
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
d04750ff87
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
15 years ago
smatz
f4d0d94184
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
15 years ago
smatz
1eb48cdded
(svn r16403) -Codechange: move code related to subsidies to separate file
16 years ago
smatz
b2aed51f8e
(svn r16403) -Codechange: move code related to subsidies to separate file
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
650cb3694e
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
16 years ago
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
16 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.
16 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.
16 years ago
alberth
0f3b198ca5
(svn r16074) -Codechange: Adding nested widgets to subsidy list window.
16 years ago
alberth
974dcbd339
(svn r16074) -Codechange: Adding nested widgets to subsidy list window.
16 years ago
alberth
1bddc160bb
(svn r16073) -Codechange: Replacing some magic constants by computations relative to the SLW_PANEL widget.
16 years ago
alberth
19d9dc5836
(svn r16073) -Codechange: Replacing some magic constants by computations relative to the SLW_PANEL widget.
16 years ago
alberth
da0b3bdb79
(svn r16072) -Codechange: Adding widget number constants to subsidy list window.
16 years ago
alberth
1883510be0
(svn r16072) -Codechange: Adding widget number constants to subsidy list window.
16 years ago
rubidium
003024cc21
(svn r15850) -Codechange: replace some magic constants with the less magic line height constant
16 years ago
rubidium
89ceed55bf
(svn r15850) -Codechange: replace some magic constants with the less magic line height constant
16 years ago
yexo
8b873859ba
(svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible.
16 years ago
yexo
84fb615344
(svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible.
16 years ago
rubidium
c1aabd9842
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
16 years ago
rubidium
45f189fdca
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
16 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
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
rubidium
f56e630e5c
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
belugas
7ef5369306
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
16 years ago
belugas
c5cecdd2e3
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
16 years ago
smatz
d67416088e
(svn r13373) -Fix (r10210): loading of very old savegames was broken
17 years ago
smatz
7ec0a9ec3f
(svn r13373) -Fix (r10210): loading of very old savegames was broken
17 years ago
smatz
e40c7f66d8
(svn r13366) -Fix: clicking in the Subsidies window was broken
17 years ago
smatz
00851610e1
(svn r13366) -Fix: clicking in the Subsidies window was broken
17 years ago
peter1138
bd5f782c61
(svn r13259) -Fix: Subsidy text could still overflow
17 years ago
peter1138
feebf3f3c9
(svn r13259) -Fix: Subsidy text could still overflow
17 years ago
peter1138
cfc45e97ab
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
...
of windows causing 'two stage' opening effect.
17 years ago
peter1138
6f233b1f8f
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
...
of windows causing 'two stage' opening effect.
17 years ago
rubidium
162e2e074b
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
37386287f8
(svn r13152) -Codechange: make a class of the subsidy window.
17 years ago
rubidium
62e36abd2e
(svn r13152) -Codechange: make a class of the subsidy window.
17 years ago
rubidium
a89b5721a8
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
17 years ago
rubidium
8b54212900
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
17 years ago
rubidium
92aac531c2
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
17 years ago
rubidium
23fc96c3e8
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
17 years ago
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
peter1138
78c0929b18
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
17 years ago
peter1138
4595d2c3b1
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
17 years ago
belugas
0017149c33
(svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies
17 years ago
belugas
45165fe075
(svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies
17 years ago