summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.cpp
AgeCommit message (Collapse)Author
2008-02-18(svn r12180) -Fix: Test purchase list loading/loaded sprites instead of ↵peter1138
unconditionally returning a possibly non-existant sprite.
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-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11799) -Codechange: no need to special-case helicopter rotor 'overrides'peter1138
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2008-01-05(svn r11761) -Codechange: Use appropriate variable types for NewGRF engine ↵peter1138
overrides, and adjust scope while there.
2008-01-04(svn r11756) -Fix: Out of bounds access caused if a vehicle's cargo amount ↵peter1138
was higher than its capacity when resolving sprite groups.
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-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-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
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 r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-15(svn r11431) -Codechange: [NewGRF] Add support for changing rail vehicle ↵glx
user-defined bit mask (prop 25) via callback 36
2007-11-11(svn r11413) -Fix [FS#1405]: don't use cached override spriteset for callbacksglx
2007-11-11(svn r11411) -Codechange: implement random triggers for houses.rubidium
2007-10-28(svn r11353) -Codechange: add support for newgrf callback 32glx
2007-09-09(svn r11070) -Fix [FS#1217]: due to making an Action2 variable work ↵rubidium
properly, the NewGRF called other code too that wasn't prepared for non-train vehicles.
2007-09-09(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the ↵rubidium
Vehicle::first pointer correctly set.
2007-08-30(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game ↵rubidium
state while being marked const. -Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
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-07-25(svn r10690) -Codechange: use the enum that describes all callback IDs in ↵rubidium
favor of "just" using an untyped integer.
2007-07-05(svn r10443) -Fix: randomizing triggers should be called with callback type ↵peter1138
set to 1
2007-06-22(svn r10266) -Codechange: keep track of the origin, time of travel and ↵rubidium
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-06-15(svn r10165) -Fix [FS#874]: crash when trying to get the aircraft movement ↵rubidium
state of an aircraft going to a just deleted airport.
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-08(svn r10061) -Codechange: [NewGRF] Add common cargo subtype support to ↵peter1138
vehicle var 42
2007-05-15(svn r9841) -Codechange: add a little more type strictness to the vehicle types.rubidium
2007-05-10(svn r9819) -Codechange: Take account of AMED_HOLD in OTTD/TTDP state ↵peter1138
translation (bulb)
2007-05-10(svn r9818) -Codechange: Cache wagon override sprite set whenever consist is ↵peter1138
changed, instead of 'recalculating' it every time it is used or just tested.
2007-05-06(svn r9803) -Feature(tte): support for "curvature info", Action 2 for train, ↵rubidium
variable 45 (mart3p).
2007-04-20(svn r9703) -Codechange: support callback 36 in vehicle purchase listspeter1138
2007-04-20(svn r9702) -Codechange: Add livery support to newgrf vehicle var 43peter1138
2007-04-18(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing ↵peter1138
of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-28(svn r8946) -Feature: [NewGRF] Add support for vehicle variables 0xFE and ↵maedhros
0xFF bit 10, which is set when a vehicle was built during the exclusive testing phase.
2007-02-28(svn r8943) -Fix (r5338): [NewGRF] Fix support for vehicle variable 48, ↵maedhros
which just returns Engine[id].flags
2007-02-25(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...peter1138
2007-02-24(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo ↵peter1138
mapping is now dealt with only in NewGRF code, on load where possible.
2007-02-24(svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47peter1138
2007-02-23(svn r8863) -Fix: prefix engine_custom_sprites with _peter1138
2007-02-23(svn r8858) -Codechange: Replace magic number test with class method for ↵peter1138
determining if a cargo is valid/active.