alberth
116c77c342
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
15 years ago
rubidium
7aa9f8e3fb
(svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers
15 years ago
rubidium
b13eccb105
(svn r17364) -Fix (r17356): off by one when selecting a subsidy
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
c96733d191
(svn r17355) -Codechange: determine the minimum size of the subsidy gui based on (some) of the content
15 years ago
rubidium
af818b6c09
(svn r17354) -Codechange: make the subsidy gui nested
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
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
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
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
smatz
af13707e00
(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
smatz
76a50ce94d
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
f4d0d94184
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
15 years ago
smatz
b2aed51f8e
(svn r16403) -Codechange: move code related to subsidies to separate file
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
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
974dcbd339
(svn r16074) -Codechange: Adding nested widgets to subsidy list window.
16 years ago
alberth
19d9dc5836
(svn r16073) -Codechange: Replacing some magic constants by computations relative to the SLW_PANEL widget.
16 years ago
alberth
1883510be0
(svn r16072) -Codechange: Adding widget number constants to subsidy list window.
16 years ago
rubidium
89ceed55bf
(svn r15850) -Codechange: replace some magic constants with the less magic line height constant
16 years ago
yexo
84fb615344
(svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible.
16 years ago
rubidium
45f189fdca
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
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
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
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
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
7ec0a9ec3f
(svn r13373) -Fix (r10210): loading of very old savegames was broken
17 years ago
smatz
00851610e1
(svn r13366) -Fix: clicking in the Subsidies window was broken
17 years ago
peter1138
feebf3f3c9
(svn r13259) -Fix: Subsidy text could still overflow
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
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
62e36abd2e
(svn r13152) -Codechange: make a class of the subsidy window.
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
23fc96c3e8
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
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
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
45165fe075
(svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies
17 years ago
belugas
2675db8d70
(svn r12558) -Feature: subsidy window can now be resized.
17 years ago
rubidium
2edd403656
(svn r12489) -Codechange: split station.h into station_base.h and station_func.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
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
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
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
9e9cfe6e59
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
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