Age | Commit message (Collapse) | Author |
|
|
|
|
|
of manual shifting/anding
|
|
to a vehicle.
|
|
|
|
|
|
|
|
|
|
groups. This will allow unloading.
|
|
of callbacks results within random and "real" groups. (Not fully supported yet.)
|
|
pointers instead of copying the data around.
|
|
-Codechange, NewGRF: Remove unnecessary NULL check.
|
|
description, in which case the Action 8 is 8 bytes, not 9. (pb_viaduct)
|
|
tables from GRF. Currently drawing tall pillars uses old data.
|
|
-Fix, Newgrf: Don't mark an engine as a wagon after setting speed -- wagons can have speed limits.
|
|
references to our (new) original engine/vehicle tables.
|
|
them so NewGRF data can be loaded without wiping out the default data.
|
|
|
|
enabled by default.
|
|
0x60-0x7F. This parameter isn't used yet.
|
|
ID to reference the previous definition of the same cargo ID, instead of causing loops.
|
|
|
|
of a handler in VehicleChangeInfo.
|
|
vehicles and change
station special case to vehicle special case.
|
|
|
|
of some gotos (peter1138)
|
|
loading a patch grf
|
|
While here work around a buffer overflow in action 4
|
|
|
|
longer bolted onto the normal graphics loading.
This has two major advantages:
- Removal of a maze of global variables and distinction of cases from the sprite loading routines, which weren't directly related to the loading process in the first place
- NewGRF actions no longer occupy sprite slots - for example when using DBSetXL this saves about 2000 slots! (you could regard this as a bug fix)
If i didn't make a major mistake this change should have no negative effect on NewGRF support, please test!
|
|
managing the sprite heap to a new file gfxinit.c.
This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier.
|
|
version in the SkipIf action. Pretend to be version 2.0.1 alpha 49 for now.
Also change the type of the variables, which get compared, to uint32, because the values are at most 32bits wide and always seem to be unsigned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loaded as the wrong type (int8,int16,int32) causing undefined results. (like cargo types being wrong)
|
|
and the callback that goes with it.
- Codechange: Remove some magic numbers (PALETTE_CRASH)
|
|
that goes with it.
|
|
capacity' callback slightly more correct.
|
|
|
|
|
|
callbacks.
- Feature: [newgrf] Implement the 'refit capacity' callback.
|
|
|
|
incorrect reading of newgrf data
|
|
|
|
flags-emulation (DBSETXLW doesn't complain about it anymore)
|
|
extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks"
|