OpenTTD Source 20250331-master-g3c15e0c889
|
NewGRF Action 0x0A handler. More...
#include "../stdafx.h"
#include "../debug.h"
#include "../spritecache.h"
#include "newgrf_bytereader.h"
#include "newgrf_internal.h"
#include "../table/sprites.h"
#include "../safeguards.h"
Go to the source code of this file.
Functions | |
static bool | IsGRMReservedSprite (SpriteID first_sprite, uint16_t num_sprites) |
Check if a sprite ID range is within the GRM reversed range for the currently loading NewGRF. | |
static void | SpriteReplace (ByteReader &buf) |
static void | SkipActA (ByteReader &buf) |
NewGRF Action 0x0A handler.
Definition in file newgrf_acta.cpp.
|
static |
Check if a sprite ID range is within the GRM reversed range for the currently loading NewGRF.
first_sprite | First sprite of range. |
num_sprites | Number of sprites in the range. |
Definition at line 26 of file newgrf_acta.cpp.
References GrfProcessingState::grffile.
|
static |
Definition at line 83 of file newgrf_acta.cpp.
|
static |
Definition at line 36 of file newgrf_acta.cpp.