summaryrefslogtreecommitdiff
path: root/src/economy.cpp
AgeCommit message (Collapse)Author
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-02-21(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road ↵peter1138
vehicles' running cost, and show running cost of wagons if they have it.
2008-02-21(svn r12207) -Change: rail running costs are engine class, not rail typepeter1138
2008-02-20(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the ↵smatz
train had negative income -Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
2008-02-13(svn r12134) -Change: count the number of ticks a vehicle was running this ↵smatz
day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
2008-01-27(svn r11994) -Codechange: Remove numbers from string names where the strings ↵maedhros
aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
2008-01-18(svn r11913) -Fix (r11871): update signals after company bankrupt and ↵smatz
disaster too
2008-01-17(svn r11908) -Fix: update crossing when merging a company, when building a ↵smatz
crossing and after loading older savegame
2008-01-16(svn r11871) -Fix [FS#1074]: do not update signals after each tile when ↵smatz
building/removing a large block of track/signals/station
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-15(svn r11864) -Codechange: pass owner whose signals we will update instead of ↵smatz
complex detection later
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-10(svn r11805) -Fix [FS#1620]: VEHICLE_TRIGGER_EMPTY was triggered ↵frosch
continuously while train waiting in station.
2008-01-09(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very ↵smatz
long track -Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
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.