Age | Commit message (Collapse) | Author |
|
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()
|
|
Rewrite handling of station classes.
Allow for more than 8 station tile layouts.
Start of code to unload custom stations.
|
|
|
|
OpenTTD? (belugas)
|
|
by cargo classes.
|
|
When being asked answer according to _use_dos_palette. (Suggestion by Belugas)
|
|
- const, whitespace, indentation, bracing, GB/SB, pointless casts
- use the trinary operator where appropriate
- data types (uint[] -> AcceptedCargo, ...)
- if cascade -> switch
- if (ptr) -> if (ptr != NULL)
- DeMorgan's Law
- Fix some comments
- 0 -> '\0', change magic numbers to symbolic constants
|
|
|
|
|
|
of manual shifting/anding
|
|
to a vehicle.
|
|
|
|
|