summaryrefslogtreecommitdiff
path: root/src/economy_base.h
AgeCommit message (Collapse)Author
2011-02-08(svn r22023) -Fix: verify we can allocate a CargoPacket and CargoPayment ↵smatz
before we actually try to do so -Codechange: increase the limit of number of CargoPayments to match the limit of Vehicles (Rubidium)
2009-10-06(svn r17734) -Fix (r17732): broke the assumption that 'this->packets == ↵rubidium
this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption.
2009-10-06(svn r17720) -Codechange: guard the CargoPacket variables that are cached in ↵rubidium
CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen)
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-22(svn r16914) -Codechange: split Station and BaseStation into different filesrubidium
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-28(svn r16683) -Codechange: move the cargo payment handling to a seperate ↵rubidium
class. Based on ideas of fonso/fonsinchen.