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
15 years ago
smatz
b2aed51f8e
(svn r16403) -Codechange: move code related to subsidies to separate file
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
alberth
0f3b198ca5
(svn r16074) -Codechange: Adding nested widgets to subsidy list window.
15 years ago
alberth
974dcbd339
(svn r16074) -Codechange: Adding nested widgets to subsidy list window.
15 years ago
alberth
1bddc160bb
(svn r16073) -Codechange: Replacing some magic constants by computations relative to the SLW_PANEL widget.
15 years ago
alberth
19d9dc5836
(svn r16073) -Codechange: Replacing some magic constants by computations relative to the SLW_PANEL widget.
15 years ago
alberth
da0b3bdb79
(svn r16072) -Codechange: Adding widget number constants to subsidy list window.
15 years ago
alberth
1883510be0
(svn r16072) -Codechange: Adding widget number constants to subsidy list window.
15 years ago
rubidium
003024cc21
(svn r15850) -Codechange: replace some magic constants with the less magic line height constant
15 years ago
rubidium
89ceed55bf
(svn r15850) -Codechange: replace some magic constants with the less magic line height constant
15 years ago
yexo
8b873859ba
(svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible.
15 years ago
yexo
84fb615344
(svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible.
15 years ago
rubidium
c1aabd9842
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
15 years ago
rubidium
45f189fdca
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
15 years ago
rubidium
7f468dc142
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
15 years ago
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
15 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
16 years ago
smatz
7ec0a9ec3f
(svn r13373) -Fix (r10210): loading of very old savegames was broken
16 years ago
smatz
e40c7f66d8
(svn r13366) -Fix: clicking in the Subsidies window was broken
16 years ago
smatz
00851610e1
(svn r13366) -Fix: clicking in the Subsidies window was broken
16 years ago
peter1138
bd5f782c61
(svn r13259) -Fix: Subsidy text could still overflow
16 years ago
peter1138
feebf3f3c9
(svn r13259) -Fix: Subsidy text could still overflow
16 years ago
peter1138
cfc45e97ab
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
...
of windows causing 'two stage' opening effect.
16 years ago
peter1138
6f233b1f8f
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
...
of windows causing 'two stage' opening effect.
16 years ago
rubidium
162e2e074b
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
16 years ago
rubidium
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
16 years ago
rubidium
37386287f8
(svn r13152) -Codechange: make a class of the subsidy window.
16 years ago
rubidium
62e36abd2e
(svn r13152) -Codechange: make a class of the subsidy window.
16 years ago
rubidium
a89b5721a8
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
16 years ago
rubidium
8b54212900
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
16 years ago
rubidium
92aac531c2
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
16 years ago
rubidium
23fc96c3e8
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
16 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.
16 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.
16 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.
16 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.
16 years ago
belugas
0017149c33
(svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies
16 years ago
belugas
45165fe075
(svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies
16 years ago
belugas
ad877852d4
(svn r12558) -Feature: subsidy window can now be resized.
16 years ago
belugas
2675db8d70
(svn r12558) -Feature: subsidy window can now be resized.
16 years ago
rubidium
c51b81c247
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
16 years ago
rubidium
2edd403656
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
16 years ago
rubidium
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
2fc62eab05
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
64d691bacc
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
db73addb43
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
1f6043458c
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
766551b0bc
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
9e9cfe6e59
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
8427b8bad2
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
rubidium
8bfbfd0031
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
17 years ago
rubidium
8896bea306
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
17 years ago
rubidium
b53aa55ade
(svn r11512) -Change: make the subsidy window able to resize to something smaller than 640x127 (especially the 640 part) when the screen is really too small.
17 years ago
rubidium
6cf5e4cf05
(svn r11512) -Change: make the subsidy window able to resize to something smaller than 640x127 (especially the 640 part) when the screen is really too small.
17 years ago
belugas
e2c0f1faf7
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
...
Patch heavily based on BiBB's work (FS#1383)
17 years ago
belugas
56e6282f2f
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
...
Patch heavily based on BiBB's work (FS#1383)
17 years ago
rubidium
13ab17bca8
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
17 years ago
rubidium
c03cb2c8db
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
17 years ago
rubidium
df009178d4
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
17 years ago
rubidium
efc7fdf2fd
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
17 years ago
peter1138
8ee9e8bf1e
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
17 years ago
peter1138
eb6594caa8
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
17 years ago
belugas
6a86e75870
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
17 years ago
belugas
dfe5533db6
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
17 years ago
peter1138
d947f5cec9
(svn r9300) -Codechange: Use cargo's town effect property in the subsidy gui
17 years ago
peter1138
f4cad9017e
(svn r9300) -Codechange: Use cargo's town effect property in the subsidy gui
17 years ago
rubidium
4169bfba06
(svn r9050) -Codechange: Foo(void) -> Foo()
17 years ago
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
17 years ago
rubidium
2a9851a3ad
(svn r8511) -Codechange: make WindowClass an enumerated value.
18 years ago
rubidium
c8882bd3d2
(svn r8511) -Codechange: make WindowClass an enumerated value.
18 years ago
KUDr
07c30785ab
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago