summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-29(svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for ↵rubidium
whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others: * cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder) * cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore * industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
2009-06-29(svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the ↵rubidium
vehicle's profit.
2009-06-29(svn r16692) -Update from WebTranslator v3.0:translators
ukrainian - 3 changes by Madvin
2009-06-29(svn r16691) -Codechange: what's the point of getting the fifth dparam and ↵rubidium
then using that as the second dparam later on? Especially when the fifth dparam is never set and the second dparam is never used.
2009-06-28(svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF ↵michi_cc
debugging helper.
2009-06-28(svn r16689) -Codechange: Allow for rendering of parameterized text of ↵alberth
nested widgets in Window::DrawWidget, adapt intro and town directory windows.
2009-06-28(svn r16688) -Codechange: Some cleanup of intro screen and town directory.alberth
2009-06-28(svn r16687) -Codechange: Perform re-initialization of windows with nested ↵alberth
widgets after a language change.
2009-06-28(svn r16686) -Update from WebTranslator v3.0:translators
german - 4 changes by planetmaker
2009-06-28(svn r16685) -Update: WebTranslator2 update to 2009-06-28 17:40:12translators
korean - 3 fixed, 28 changed by leejaeuk5 (31)
2009-06-28(svn r16684) -Codechange: Add maxdim function for Dimension struct.alberth
2009-06-28(svn r16683) -Codechange: move the cargo payment handling to a seperate ↵rubidium
class. Based on ideas of fonso/fonsinchen.
2009-06-28(svn r16682) -Codechange: make (static) industry list used to trigger the ↵rubidium
industries' production compile unit static instead of passing it around as pointer
2009-06-28(svn r16681) -Codechange: only resolve the company once for vehicle payment ↵rubidium
instead of each time a cargo packet is delivered
2009-06-28(svn r16680) -Codechange: don't go through all the station unloading stuff ↵rubidium
when there is no vehicle at the station
2009-06-27(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a ↵frosch
CargoArray instead of a pointer to a static array.
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16677) -Codechange: Dimension width and height are unsigned.alberth
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2009-06-27(svn r16675) -Update from WebTranslator v3.0:translators
german - 19 changes by planetmaker ukrainian - 21 changes by Madvin
2009-06-27(svn r16674) -Update: WebTranslator2 update to 2009-06-27 17:32:13translators
estonian - 1 fixed by kristjans (1) slovak - 38 fixed by James (38) traditional_chinese - 9 fixed, 15 changed by josesun (24)
2009-06-27(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() ↵smatz
and change its behaviour accordingly
2009-06-27(svn r16672) -Codechange: Add functions to compute size of strings and sprites.alberth
2009-06-26(svn r16671) -Doc: Documenting Sprite structure.alberth
2009-06-26(svn r16670) -Codechange: Containers with equally sized children are useful ↵alberth
to have.
2009-06-26(svn r16669) -Cleanup (r1): Only animated tiles are... animated.frosch
2009-06-26(svn r16668) -Update from WebTranslator v3.0:translators
dutch - 43 changes by Yexo ukrainian - 34 changes by Madvin
2009-06-26(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by ↵smatz
Town::GetRandom() and Industry::GetRandom()
2009-06-26(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide ↵smatz
_house_specs[]
2009-06-26(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()smatz
2009-06-26(svn r16664) -Codechange: move house-related stuff from town.h and ↵smatz
town_type.h to separate files
2009-06-26(svn r16663) -Codechange: make removing of railway station tiles fastersmatz
2009-06-26(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()smatz
2009-06-25(svn r16661) -Codechange: move definition of few very short functions to ↵smatz
header files
2009-06-25(svn r16660) -Codechange: get rid of more dummy tile_type_procssmatz
2009-06-25(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() ↵smatz
and change its behaviour accordingly -Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-25(svn r16658) -Update from WebTranslator v3.0:translators
dutch - 42 changes by Excel20 german - 26 changes by dihedral, mjreaper, planetmaker hungarian - 39 changes by alyr ukrainian - 47 changes by Madvin
2009-06-25(svn r16657) -Update: WebTranslator2 update to 2009-06-25 16:41:10translators
finnish - 1 fixed by jpx_ (1) serbian - 110 fixed by etran (110)
2009-06-25(svn r16656) -Fix (r16655): strange things happensmatz
2009-06-25(svn r16655) -Codechange: use IsRailwayStationTile() moresmatz
2009-06-25(svn r16654) -Codechange: cache industries in station's coverage area ↵smatz
instead of searching them everytime payment is made
2009-06-25(svn r16653) -Fix (r16269): TOC() macro was brokensmatz
2009-06-24(svn r16652) -Codechange: use less strict, but faster check for quickly ↵smatz
bailing out in FindTrainCollideEnum() (Bilbo) -Codechange: shuffle the code a bit
2009-06-24(svn r16651) -Fix: When there is no AI version that can load data from the ↵yexo
savegame, load the latest version of the same AI instead of a random AI.
2009-06-24(svn r16650) -Fix (r16649): missing ()yexo
2009-06-24(svn r16649) -Fix: When the exact AI version a game was saved with is no ↵yexo
longer available and the latest version of the AI can't load data from that AI version, use the latest available version of the AI that can load the data instead of the first found version that can load the data.
2009-06-24(svn r16648) -Codechange: move some more includes aroundyexo
2009-06-24(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to ↵yexo
prevent unnecessary inclusion newgrf.h anyway
2009-06-24(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()smatz
2009-06-24(svn r16645) -Update from WebTranslator v3.0:translators
russian - 6 changes by Lone_Wolf