Age | Commit message (Collapse) | Author |
|
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
|
|
using the new StringID based text system. Vehicle name
translations now work.
|
|
Some TODOs left, but the core is there.
Thanks to Peter1138 for code, advice and patience
And to Patchman for letting us define a lot of langids :)
|
|
This
reduces the amount of house keeping we do and the chance of memory
leaks.
|
|
This removes the limit of 16 loading/unloading states, although will result in less memory usage as most of the time the full fixed allocation wasn't used.
|
|
|
|
via station.h in a number of source files
|
|
|
|
|
|
which is mainly used for comments. So leave it in, but fix the created warning. Use proper action name for check_length() in Action 0x10
|
|
extra pre-stage (before initialize and activation) to scan the GRF file for GOTO labels. Big thanks for peter1138 for the guidance and answers, as well as parts of the code.
|
|
Darkvater ;)
|
|
memory and zero it out and change the loop a little
|
|
initialization stage.
|
|
|
|
extraneous brackets.
|
|
store custom station data. This saves us approximately 40KB per GRF file, if there are no stations defined.
|
|
|
|
code and proofreading, thanks to peter1138 for another lot of code and ideas.
|
|
|
|
variables.
|
|
|
|
railtypes. (These are currently the same, but won't be forever...)
|
|
|
|
|
|
shuffling order of rail vehicle purchase list (and replace vehicle list)
|
|
newgrf_engine.[ch], and add the new files to project files.
|
|
|