@@ -19,12 +19,13 @@
#include "core/pool_type.hpp"
#include "house_type.h"
#include "newgrf_callbacks.h"
#include "newgrf_generic.h"
#include "newgrf_storage.h"
#include "newgrf_commons.h"
/**
* Gets the value of a so-called newgrf "register".
* @param i index of the register
* @pre i < 0x110
* @return the value of the register
@@ -343,13 +344,13 @@ struct ResolverObject {
AIConstructionEvent event;
uint8 count;
uint8 station_size;
} generic;
struct {
TileIndex tile;
bool upper_halftile; ///< Are we resolving sprites for the upper halftile?
TileContext context; ///< Are we resolving sprites for the upper halftile, or on a bridge?
} routes;
const struct Station *st; ///< Station of the airport for which the callback is run, or NULL for build gui.
byte airport_id; ///< Type of airport for which the callback is run
byte layout; ///< Layout of the airport to build.
TileIndex tile; ///< Tile for the callback, only valid for airporttile callbacks.