summaryrefslogtreecommitdiff
path: root/src/economy.cpp
AgeCommit message (Collapse)Author
2008-01-09(svn r11794) -Fix [FS#1632]: reversing a train when loading at a station ↵glx
with an adjacent station in the same axis crashed.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-05(svn r11763) -Fix: update signal states after merging a companysmatz
2008-01-03(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset ↵glx
vehicle color mapping so the vehicles use the new owner color
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-28(svn r11717) -Fix [FS#1590]: make sure invalid players have all shares owned ↵smatz
by PLAYER_SPECTATOR
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
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 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.
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-27(svn r11533) -Codechange: Rename some unclear clear_x prices member names.belugas
While at it, remove one unused entry on the clear_price_table array. It is based on ground type, and the unused one was referencing a non existing one.
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11479) -Codechange: Move the BIGMUL functions to the file of their usageskidd13
-Codechange: Rename the BIGMUL functions to the fitting naming style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-11(svn r11410) -Codechange: implement random triggers for industries.rubidium
2007-11-04(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer ↵truelight
a macro (skidd13)
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-10-21(svn r11331) -Fix: do not misuse CommandCost for overflow safe stuff as ↵rubidium
Money supports that now too.
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-10-14(svn r11258) -Fix [FS#1325]: if a Load Amount callback returns 0, it means ↵rubidium
(according to TTDP's source code, not "the" specs) that it should take the "default" one.
2007-09-27(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14Cglx
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-09-11(svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of ↵glx
type 'bool' in operation
2007-09-08(svn r11063) -Codechange: make it possible for people to view the loading ↵rubidium
indicators of everyone. Patch by SmatZ.
2007-09-02(svn r11039) -Fix [FS#1191]: underflow that caused overflows in the ↵rubidium
performance rating calculation.
2007-09-01(svn r11031) -Codechange: reduce the amount of duplication of bit counting ↵rubidium
functions. Based on patches by skidd13, SmatZ and Belugas.
2007-09-01(svn r11030) -Revert r11016, Fix [FS#1178]: the way to determine whether a ↵rubidium
station should get goods was not done properly.
2007-08-31(svn r11018) -Fix [FS#1169]: Disallow buying/selling shares in your own ↵rubidium
company or a bankrupted/non-existant company.
2007-08-30(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and ↵rubidium
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-26(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted ↵rubidium
cargo too.
2007-08-20(svn r10953) -Fix [FS#1139, FS#1143]: stations would not get a rating when ↵rubidium
there were already two stations with a "more than default" rating as no cargo would be moved to the station to be picked up.
2007-08-16(svn r10921) -Fix [FS#1130] (r10323): the company related news messages ↵rubidium
still thought that companies were described by two parameters instead of one.
2007-08-11(svn r10857) -Fix: feeder-income was broken; substract the feeder-costs from ↵truelight
the vehicle-income, not from the route-income (tnx to RichK for all the info)
2007-08-03(svn r10770) -Codechange: use the pool item class as super class for the ↵rubidium
vehicle struct. -Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
2007-07-25(svn r10692) -Fix (r10691): those good old days that LT_NORMAL was still ↵rubidium
called LT_NORMAL :)
2007-07-25(svn r10691) -Codechange [FS#509]: simplify GetTransportedGoodsIncome to ↵rubidium
make it more obvious and less hidden what actually happens. Based on a patch by rfalke.
2007-07-19(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem ↵peter1138
another way.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-13(svn r10541) -Fix [FS#1028]: cargo payment rates overflow.rubidium
-Fix: cargo payment rates diverge from cost rates making it impossible to make any profit after a certain number of years. Both are solved by stopping the inflation after 170 years; there is absolutely no point in continueing the inflation after that as it only makes the game have overflows at some point that cannot be solved; using larger variables only delays the inevitable.
2007-07-11(svn r10508) -Codechange: allow customizable animation schemes for industries.rubidium