summaryrefslogtreecommitdiff
path: root/src/economy.cpp
AgeCommit message (Collapse)Author
2009-09-20(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when ↵smatz
industry tiles accept it but industry itself doesn't
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-15(svn r17552) -Codechange: rename load_unload_time_rem to something more ↵rubidium
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
2009-09-15(svn r17551) -Fix [FS#3201] (r17222): vehicles waiting for their time table ↵rubidium
didn't load anymore after their initial load was completed
2009-09-15(svn r17550) -Fix (r8973): Aircraft are good enough, don't make them even ↵frosch
better.
2009-09-15(svn r17546) -Fix (r9617): sign extending of profit calculation didn't workrubidium
2009-09-14(svn r17542) -Fix: don't access variables in the company struct after it has ↵yexo
been deleted -Cleanup: remove some never-used code
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-09(svn r17485) -Change [FS2459]: make the performance ratings harder to ↵rubidium
exploit; only count profitable vehicles and recently serviced stations.
2009-09-07(svn r17449) -Fix (r17436): MSVC compile warning about comparing signed and ↵rubidium
unsigned values
2009-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-09-06(svn r17437) -Change: don't accept cargo produced in the same industry ↵smatz
(generalise and improve the check used only for valuables)
2009-09-06(svn r17436) -Change: pay only for cargo actually delivered, not for all ↵smatz
cargo unloaded at station (can differ with 'stockpiling' industries)
2009-09-06(svn r17435) -Codechange: Move _cargo_payment_rates[] to ↵frosch
CargoSpec::current_payment.
2009-09-06(svn r17433) -Codechange: Store cumulated inflation in savegame and compute ↵frosch
all prices from that instead of storing all prices separately. Note: Savegame conversion computes the inflation from max loan. Prices from modified savegames will get lost. TTO savegames will also behave slightly different. -Change: NewGRF price modifiers now take effect everytime when loading NewGRFs instead of once on gamestart.
2009-09-05(svn r17426) -Fix (r1): economy recession would never end when economy is ↵smatz
set to Steady while in recession
2009-09-04(svn r17420) -Codechange: replace assert() by assert_compile() where possiblesmatz
2009-09-01(svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt ↵rubidium
companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
2009-09-01(svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my ↵rubidium
Oxford Dictionary of English and Merriam-Webster.
2009-09-01(svn r17342) -Fix: reset bankruptcy checks when bankruptcy has been averted ↵rubidium
and don't set an unused timeout with a magic number
2009-09-01(svn r17341) -Fix: memory leak when trying to bankrupt the local companyrubidium
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-19(svn r17222) -Fix [FS#3129, FS#3130]: with time tables vehicles would stay ↵rubidium
in the 'loading' state after they have finished loading
2009-08-08(svn r17124) -Codechange: store subsidies in a pool (instead of an array)smatz
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-06(svn r17086) -Cleanup (r16654): remove code used only for debuggingsmatz
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-03(svn r17058) -Codechange: magic numbers removal.belugas
Two values used intead of just one, as it gives more possibilities to those who dare...
2009-08-02(svn r17037) -Fix (r17036): 'Polygonal Capabilities' are a core feature of ↵frosch
windows.
2009-08-02(svn r17036) -Codechange: Split price bases from economy.cpp to ↵frosch
table/pricebase.h.
2009-07-24(svn r16933) -Fix [FS#3054] (r16694): vehicles would wait "very long" when ↵rubidium
they had nothing to unload and gradual loading was disabled.
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-21(svn r16901) -Fix [FS#3046] (rpbs): when marking trains stuck don't reset ↵rubidium
the unload counter/stuck when the vehicle is unloading. It'll be automatically reset once the vehicle wants to leave the station
2009-07-18(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing ↵smatz
subsidy's age
2009-07-16(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all ↵smatz
valid CargoSpecs
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
2009-07-13(svn r16813) -Codechange: make IsEngineCountable() member of Vehiclesmatz
2009-07-04(svn r16736) -Codechange: give some station enums a name and use that ↵rubidium
instead of 'byte'.
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-07-01(svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles ↵rubidium
would skip loading as they thought nothing could be unloaded or loaded.
2009-07-01(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.rubidium
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.