summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.cpp
AgeCommit message (Collapse)Author
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.
2007-02-22(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping ↵peter1138
tables with dynamically generated data. Change associated code to use new functions.
2007-02-20(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular ↵peter1138
struct array (with accessor) and implement new initialization method using cargo labels.
2007-02-16(svn r8755) -Fixtron
Abbreviate GetAirport(st->airport_type) to st->Airport()
2007-02-15(svn r8744) -Fix(r654/2105): Call GetFirstVehicleInChain only for trains, ↵celestar
and assert the vehicle type in that function. Not a critical error, but it does increase game performance by up to 10% when playing a large game (many vehicles) with aircraft/road vehicle newgrfs loaded.
2007-02-15(svn r8743) -Fixtron
-Codechange: Add a Z adjustment attribute for helicopter pads to AirportFTAClass to get rid of some special cases for oilrigs and heliports
2007-02-03(svn r8559) -Fixtron
-Codechange: Put the airport movement data into struct AirportFTAClass
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-11(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever ↵celestar
macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)