12 #ifndef NEWGRF_OBJECT_H
13 #define NEWGRF_OBJECT_H
92 bool IsEverAvailable()
const;
93 bool WasEverAvailable()
const;
94 bool IsAvailable()
const;
97 static const ObjectSpec *Get(
ObjectType index);
98 static const ObjectSpec *GetByTile(
TileIndex tile);
110 uint32
GetVariable(byte variable, uint32 parameter,
bool *available)
const;
130 if (tsr != NULL)
return tsr;