glx
9fcf6e7a43
(svn r11431) -Codechange: [NewGRF] Add support for changing rail vehicle user-defined bit mask (prop 25) via callback 36
17 years ago
glx
8844bd6cde
(svn r11413) -Fix [FS#1405]: don't use cached override spriteset for callbacks
17 years ago
rubidium
dcbd2fdfc7
(svn r11411) -Codechange: implement random triggers for houses.
17 years ago
glx
7e769d3286
(svn r11353) -Codechange: add support for newgrf callback 32
17 years ago
rubidium
a93a1a8b62
(svn r11070) -Fix [FS#1217]: due to making an Action2 variable work properly, the NewGRF called other code too that wasn't prepared for non-train vehicles.
17 years ago
rubidium
643ffb270c
(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
17 years ago
rubidium
732845440a
(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game 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.
17 years ago
rubidium
235ad4ab6b
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
17 years ago
rubidium
feb91ab5ea
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
17 years ago
peter1138
7884a07b43
(svn r10443) -Fix: randomizing triggers should be called with callback type set to 1
17 years ago
rubidium
fc201d4ad8
(svn r10266) -Codechange: keep track of the origin, time of travel and 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.
18 years ago
rubidium
0d8e82b7d7
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
18 years ago
rubidium
3efca64a94
(svn r10165) -Fix [FS#874]: crash when trying to get the aircraft movement state of an aircraft going to a just deleted airport.
18 years ago
maedhros
c186f91cbd
(svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
...
road vehicles for those who prefer the technical explanation.
18 years ago
peter1138
906385eb3d
(svn r10061) -Codechange: [NewGRF] Add common cargo subtype support to vehicle var 42
18 years ago
rubidium
08be68e0b4
(svn r9841) -Codechange: add a little more type strictness to the vehicle types.
18 years ago
peter1138
acf5496681
(svn r9819) -Codechange: Take account of AMED_HOLD in OTTD/TTDP state translation (bulb)
18 years ago
peter1138
fe5830c4b7
(svn r9818) -Codechange: Cache wagon override sprite set whenever consist is changed, instead of 'recalculating' it every time it is used or just tested.
18 years ago
rubidium
b159fb0898
(svn r9803) -Feature(tte): support for "curvature info", Action 2 for train, variable 45 (mart3p).
18 years ago
peter1138
9763b5bf8b
(svn r9703) -Codechange: support callback 36 in vehicle purchase lists
18 years ago
peter1138
9861db8596
(svn r9702) -Codechange: Add livery support to newgrf vehicle var 43
18 years ago
peter1138
0d32783f87
(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
18 years ago
belugas
097b3b3c7b
(svn r9662) -Documentation: Doxygen corrections and @file omissions
18 years ago
belugas
8952924c64
(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
18 years ago
rubidium
36cea84b11
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
18 years ago
rubidium
979ccd45ba
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
4169bfba06
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
maedhros
78c3edcbb1
(svn r8946) -Feature: [NewGRF] Add support for vehicle variables 0xFE and 0xFF bit 10,
...
which is set when a vehicle was built during the exclusive testing phase.
18 years ago
maedhros
e1748afd4f
(svn r8943) -Fix (r5338): [NewGRF] Fix support for vehicle variable 48, which just returns Engine[id].flags
18 years ago
peter1138
7669f63d4e
(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...
18 years ago
peter1138
6b7a4ba448
(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.
18 years ago
peter1138
bc968d23f1
(svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47
18 years ago
peter1138
c924185f97
(svn r8863) -Fix: prefix engine_custom_sprites with _
18 years ago
peter1138
b3efec2e7d
(svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active.
18 years ago
peter1138
2306a02f75
(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions.
18 years ago
peter1138
3d581f4f89
(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels.
18 years ago
tron
128caa5050
(svn r8755) -Fix
...
Abbreviate GetAirport(st->airport_type) to st->Airport()
18 years ago
celestar
d9f034bd87
(svn r8744) -Fix(r654/2105): Call GetFirstVehicleInChain only for trains, 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.
18 years ago
tron
e62036f5e9
(svn r8743) -Fix
...
-Codechange: Add a Z adjustment attribute for helicopter pads to AirportFTAClass to get rid of some special cases for oilrigs and heliports
18 years ago
tron
f0f86442ad
(svn r8559) -Fix
...
-Codechange: Put the airport movement data into struct AirportFTAClass
18 years ago
KUDr
28e969924b
(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter
18 years ago
celestar
08de6b082a
(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever 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().
18 years ago
rubidium
a7d0cdf95f
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
18 years ago
KUDr
07c30785ab
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago