Age | Commit message (Collapse) | Author |
|
managing the sprite heap to a new file gfxinit.c.
This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier.
|
|
version in the SkipIf action. Pretend to be version 2.0.1 alpha 49 for now.
Also change the type of the variables, which get compared, to uint32, because the values are at most 32bits wide and always seem to be unsigned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loaded as the wrong type (int8,int16,int32) causing undefined results. (like cargo types being wrong)
|
|
and the callback that goes with it.
- Codechange: Remove some magic numbers (PALETTE_CRASH)
|
|
that goes with it.
|
|
capacity' callback slightly more correct.
|
|
|
|
|
|
callbacks.
- Feature: [newgrf] Implement the 'refit capacity' callback.
|
|
|
|
incorrect reading of newgrf data
|
|
|
|
flags-emulation (DBSETXLW doesn't complain about it anymore)
|
|
extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks"
|
|
|
|
|
|
result is bool so !! any non-zero values before assigning them to it - they apparently didn't fit. ;-)
|
|
-Codechange: rewrote some functions while moving waypoint-stuff
-Add: added support for 64k waypoints
-Fix: made the waypoint struct a bit more logic (no bit-fucking)
|
|
|
|
show the correct sprite ID in the spriteskip notice.
|
|
|
|
|
|
helicopters, as introduced in r1682
|
|
recognized
|
|
|
|
|
|
- "inline" must before the return type (and after "static")
- Initialise all struct members, not just some of them
- Remove (one) spurious semicolon
|
|
|
|
Sorry 'bout that, sirs.
|
|
once. Eliminates those double entries in the newgrf manager and also some possible memory leaks.
|
|
displays the installed grf sets, you can't (de)activate them through the gui yet
|
|
|
|
|