Age | Commit message (Collapse) | Author |
|
-Cleanup: use _cur_year instead of _date for some (year based) comparisons
-Cleanup: remove a magic number in favour of another (less) magic number
|
|
the offset since 1920
-Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year
|
|
size_{x,y,z}
|
|
the naming of these functions.
|
|
- add newline at end of file in currency.c
- remove unused (for now) CargosChangeInfo
|
|
|
|
is not yet used
|
|
This simplifies code that works with more than one vehicle type.
|
|
instead of just the GRF ID.
|
|
pseudo sprites
|
|
Mainly because newgrf deals with more than just vehicles.
|
|
vehicle images from ttd games, as we redetermine all vehicle images after game load anyway.
|
|
|
|
data) used by variable 0x42.
|
|
of 29 pixels, for sets which use 32 pixel long engines/wagons.
|
|
|
|
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.
|