summaryrefslogtreecommitdiff
path: root/src/economy_type.h
AgeCommit message (Collapse)Author
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-04-25(svn r19720) -Feature: New base costs for building/clearing canals, ↵terkhen
building/clearing aqueducts and building/clearing locks.
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-02-14(svn r19131) -Doc: Add doxygen comments to some economy variables and constants.alberth
2010-01-29(svn r18945) -Codechange: typoyexo
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-11-24(svn r18284) -Cleanup (r18268, r18283): Replace magic value with enum.frosch
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns. If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
2009-11-24(svn r18268) -Feature: [NewGRF] Make price base multipliers related to ↵frosch
vehicles only apply to the GRF locally, if it defines engines of that type itself.
2009-11-08(svn r18016) -Codechange: Move the arbitrary basecost multiplier offset (8) ↵frosch
to newgrf loading and make the internal state zero-based instead.
2009-11-08(svn r18008) -Codechange: Rename NUM_PRICES to PR_END, and use the Price ↵frosch
enum some more.
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
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-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
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-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-05-23(svn r16403) -Codechange: move code related to subsidies to separate filesmatz
2009-05-11(svn r16276) -Fix: huh, old AI? What is that? What about all the time I ↵rubidium
thought there was no AI?
2008-09-15(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by ↵belugas
introducing a daily random industry change. This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process. Thanks to frosch, for nice code ideas and rewrites
2008-07-07(svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed ↵rubidium
due to wrong (and unneeded) type conversions in the saveload code.
2008-06-02(svn r13356) -Codechange: Incorrect documentation and variable type for ↵peter1138
inflation rates
2008-02-09(svn r12090) -Codechange : removed a magic number and code style application ↵belugas
on enum ExpensesType
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.