Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
settings may have changed.
|
|
not FD (custom graphics), the value needs to changed from a 16bit array offset to an array index. (fixes tropicstw.grf)
|
|
an engine or a wagon. (fixes SHIKI 810 in jpsetw.grf)
|
|
id for warning messages -- this makes this output more useful...
|
|
is rather vague on this, but we don't support newcargos anyway.
|
|
class. Also fix typo in r3384.
|
|
engine class not getting set.
|
|
|
|
refit mask.
|
|
fixes names in climates where the engines don't get loaded. Renamed function to reflect its purpose.
|
|
the scroll count of a list and furthermore only used in one file
|
|
|
|
false; else return true; is confusing
|
|
and added some more values.
|
|
lengthof()
|