summaryrefslogtreecommitdiff
path: root/src/subsidy_gui.cpp
AgeCommit message (Collapse)Author
2009-09-02(svn r17373) -Codechange: make the timetable, station and subsidy GUIs use ↵rubidium
scrollbar wrappers
2009-09-01(svn r17364) -Fix (r17356): off by one when selecting a subsidyrubidium
2009-09-01(svn r17356) -Fix: actually implement scrolling for the subsidy list instead ↵rubidium
of 'just' showing a scroll bar.
2009-09-01(svn r17355) -Codechange: determine the minimum size of the subsidy gui ↵rubidium
based on (some) of the content
2009-09-01(svn r17354) -Codechange: make the subsidy gui nestedrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
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
2009-08-07(svn r17107) -Codechange: store type of subsidy source and destination in ↵smatz
the Subsidy struct instead of determining it every time it's needed
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-18(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing ↵smatz
subsidy's age
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-01(svn r16714) -Codechange: use pool-like accessors for Subsidysmatz
2009-07-01(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over ↵smatz
all subsidies
2009-05-23(svn r16403) -Codechange: move code related to subsidies to separate filesmatz
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-17(svn r16074) -Codechange: Adding nested widgets to subsidy list window.alberth
2009-04-17(svn r16073) -Codechange: Replacing some magic constants by computations ↵alberth
relative to the SLW_PANEL widget.
2009-04-17(svn r16072) -Codechange: Adding widget number constants to subsidy list window.alberth
2009-03-25(svn r15850) -Codechange: replace some magic constants with the less magic ↵rubidium
line height constant
2009-03-24(svn r15835) -Codechange: Prevent using the return value of DrawString as ↵yexo
much as possible.
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-08-02(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 ↵belugas
assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
2008-06-03(svn r13373) -Fix (r10210): loading of very old savegames was brokensmatz
2008-06-03(svn r13366) -Fix: clicking in the Subsidies window was brokensmatz
2008-05-26(svn r13259) -Fix: Subsidy text could still overflowpeter1138
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-18(svn r13152) -Codechange: make a class of the subsidy window.rubidium
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-05(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a ↵peter1138
'Location' button, a town/station/industry list, or some news items.
2008-04-07(svn r12609) -Codechange: Remove wrong comments and give more comments on ↵belugas
the drawing part of subsidies
2008-04-04(svn r12558) -Feature: subsidy window can now be resized.belugas
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-11-24(svn r11512) -Change: make the subsidy window able to resize to something ↵rubidium
smaller than 640x127 (especially the 640 part) when the screen is really too small.