12 #ifndef NEWGRF_DEBUG_H 13 #define NEWGRF_DEBUG_H void InvalidateNewGRFInspectWindow(GrfSpecFeature feature, uint index)
Invalidate the inspect window for a given feature and index.
void ShowSpriteAlignerWindow()
Show the window for aligning sprites.
Simple vector class that allows allocating an item without the need to copy this->data needlessly...
NewGrfDebugSpritePickerMode
Current state of spritepicker.
void * clicked_pixel
Clicked pixel (pointer to blitter buffer)
GrfSpecFeature GetGrfSpecFeature(TileIndex tile)
Get the GrfSpecFeature associated with the tile.
NewGrfDebugSpritePicker _newgrf_debug_sprite_picker
The sprite picker.
VehicleType
Available vehicle types.
uint32 click_time
Realtime tick when clicked to detect next frame.
bool IsNewGRFInspectable(GrfSpecFeature feature, uint index)
Can we inspect the data given a certain feature and index.
uint32 TileIndex
The index/ID of a Tile.
void ShowNewGRFInspectWindow(GrfSpecFeature feature, uint index, const uint32 grfid=0)
Show the inspect window for a given feature and index.
Types related to vehicles.
Spritepicker of SpriteAligner.
SmallVector< SpriteID, 256 > sprites
Sprites found.
void DeleteNewGRFInspectWindow(GrfSpecFeature feature, uint index)
Delete inspect window for a given feature and index.
NewGrfDebugSpritePickerMode mode
Current state.
Base for the NewGRF implementation.