19 #include "table/strings.h" 52 this->sign.
UpdatePosition(pt.x, pt.y - 6 * ZOOM_LVL_BASE, STR_WHITE_SIGN);
Functions related to OTTD's strings.
void DeleteRenameSignWindow(SignID sign)
Close the sign window associated with the given sign.
static Point RemapCoords(int x, int y, int z)
Map 3D world or tile coordinate to equivalent 2D coordinate as used in the viewports and smallmap...
Tindex index
Index of this pool item.
Functions related to signs.
void UpdatePosition(int center, int top, StringID str, StringID str_small=STR_NULL)
Update the position of the viewport sign.
Some methods of Pool are placed here in order to reduce compilation time and binary size...
Definition of base types and functions in a cross-platform compatible way.
SignPool _sign_pool("Sign")
Initialize the sign-pool.
A number of safeguards to prevent using unsafe methods.
void UpdateAllSignVirtCoords()
Update the coordinates of all signs.
void UpdateVirtCoord()
Update the coordinate of one sign.
Base class for all pools.
#define INSTANTIATE_POOL_METHODS(name)
Force instantiation of pool methods so we don't get linker errors.
static bool CleaningPool()
Returns current state of pool cleaning - yes or no.
Functions related to OTTD's landscape.
Coordinates of a point in 2D.
static void free(const void *ptr)
Version of the standard free that accepts const pointers.
Owner
Enum for all companies/owners.
static void SetDParam(uint n, uint64 v)
Set a string parameter v at index n in the global string parameter array.