Age | Commit message (Collapse) | Author |
|
|
|
handling. So far, this is used for vehicles when no English or American translation is provided.
|
|
flags (param 0x9E)
|
|
|
|
and warn if GRF Resource Management is tried.
|
|
|
|
- split of parameter retrieving to separate function,
- handle param size for grf parameters,
- add more grfid (param 0x88) tests.
|
|
sprite result sprite group.
|
|
|
|
station code and change minimum length for action 3 from 7 to 6 bytes.
|
|
|
|
|
|
modifier from bit 14 to bit 31 on GRF load.
|
|
loading from GRF, as the current way was flawed (reallocing memory which is referenced elsewhere)
|
|
|
|
some sets use generic feature always. Also, don't add vehicle id shifts if the vehicle id is out of range.
|
|
default and purchase pseudo types, to a station spec.
|
|
uninitializing NewGRF data.
|
|
just copy the pointer to the existing data.
|
|
default sprite layout if a station layout specifies so.
|
|
BSWAP32() only on variables, not functions.
|
|
'default' cargo type, not for each specific cargo. Fixes '(undefined string)' issues, as some engines weren't set properly.
|
|
This mainly aids code navigation...
|
|
|
|
|
|
checking and activation/deactivation. Do swap the GRFID for displaying purposes.
|
|
NewGRF files via action 5
|
|
This actually works by replacing our hardcoded sprites.
|
|
|
|
our version value.
|
|
|
|
|
|
This is following the same scheme as for IndustrySpec
|
|
|
|
varadjusts and variable size. These are not yet processed, however.
|
|
is within range.
|
|
simplify code somewhat. Also check that a sprite id is
valid.
|
|
Will be used in the future.
|
|
the version is 7 or higher, not less than 7...
|
|
|
|
less than 6 uses the old scheme, of 7 or more uses the new scheme. (Moving targets, yay...)
|
|
|
|
signal graphics. Thanks to Purno for supplying data to test
with.
|
|
|
|
action 0x1, not just on 'normal' sprite groups.
|
|
group loader
|
|
eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
|
|
files. Usage: "mygrf = 1". You can pass up to 128 parameters, each one seperated by a comma or a space-character. Big thanks to peter1138 for the inspiration and examples.
|
|
|
|
- check Engine ID is within range
- don't try setting a vehicle name if the string id is not a valid Engine ID
|