Age | Commit message (Collapse) | Author |
|
|
|
magicnumbers)
-Codechange: IsRailWaypoint should take 'tile', not 'm5'
|
|
their place in the map array.
|
|
GetRearEngine(), because it's the engine type of the vehicle which gets passed as first parameter
|
|
|
|
|
|
|
|
avoiding function declarations in .c files and unnecessary indirection
|
|
language files like it's already done for dollar and euro
|
|
|
|
disable this option at some arbitrary value early
|
|
struct WorldSprite
|
|
|
|
|
|
disaster can happen in
|
|
|
|
|
|
|
|
|
|
use lengthof() to get the number of names instead of using magic numbers
|
|
where it somewhat makes sense and wrap them in #ifdef _DEBUG
|
|
|
|
use it
|
|
with CMD_ERROR
|
|
false; else return true; is confusing
|
|
|
|
|
|
|
|
CheckExternalFiles() in a header
|
|
|
|
-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if
|
|
|
|
- CHANCE*() instead of mumbling strange numbers
|
|
custom data, giving var1 and var2 more meaningful names.
|
|
|
|
|
|
|
|
sourcefile(s) from project)
|
|
Also align short cases nicely
|
|
|
|
variables, as a window already contains this information.
|
|
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.
|
|
|
|
|
|
'Message' already
exists on MorphOS
|
|
|
|
data in pre-PBS savegames. This will not correct pre-PBS savegames loaded and saved since PBS was introduced. (thanks glx)
|