Add a scope info logger for DoSetViewportPosition calls

This commit is contained in:
Jonathan G Rennison
2020-04-27 17:21:11 +01:00
parent b03889d7e6
commit 60dabc68a0
3 changed files with 12 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
struct Vehicle;
struct BaseStation;
struct Window;
#ifdef USE_SCOPE_INFO
@@ -71,6 +72,7 @@ struct scope_dumper {
const char *VehicleInfo(const Vehicle *v);
const char *StationInfo(const BaseStation *st);
const char *TileInfo(TileIndex tile);
const char *WindowInfo(const Window *w);
private:
char buffer[512];