OpenTTD Source
20240917-master-g9ab0a47812
|
Go to the documentation of this file.
10 #ifndef NEWGRF_DEBUG_H
11 #define NEWGRF_DEBUG_H
void * clicked_pixel
Clicked pixel (pointer to blitter buffer)
void ShowSpriteAlignerWindow()
Show the window for aligning sprites.
void DeleteNewGRFInspectWindow(GrfSpecFeature feature, uint index)
Delete inspect window for a given feature and index.
NewGrfDebugSpritePickerMode
Current state of spritepicker.
NewGrfDebugSpritePicker _newgrf_debug_sprite_picker
The sprite picker.
std::vector< SpriteID > sprites
Sprites found.
NewGrfDebugSpritePickerMode mode
Current state.
void InvalidateNewGRFInspectWindow(GrfSpecFeature feature, uint index)
Invalidate the inspect window for a given feature and index.
void ShowNewGRFInspectWindow(GrfSpecFeature feature, uint index, const uint32_t grfid=0)
Show the inspect window for a given feature and index.
GrfSpecFeature GetGrfSpecFeature(TileIndex tile)
Get the GrfSpecFeature associated with the tile.
Spritepicker of SpriteAligner.
VehicleType
Available vehicle types.
bool IsNewGRFInspectable(GrfSpecFeature feature, uint index)
Can we inspect the data given a certain feature and index.