Add a scope info logger for DoSetViewportPosition calls
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
#include "station_base.h"
|
||||
#include "waypoint_base.h"
|
||||
#include "map_func.h"
|
||||
#include "window_func.h"
|
||||
#include "window_gui.h"
|
||||
#include "table/strings.h"
|
||||
|
||||
#include "safeguards.h"
|
||||
@@ -133,3 +135,9 @@ const char *scope_dumper::TileInfo(TileIndex tile)
|
||||
DumpTileInfo(this->buffer, lastof(this->buffer), tile);
|
||||
return this->buffer;
|
||||
}
|
||||
|
||||
const char *scope_dumper::WindowInfo(const Window *w)
|
||||
{
|
||||
DumpWindowInfo(this->buffer, lastof(this->buffer), w);
|
||||
return this->buffer;
|
||||
}
|
||||
|
Reference in New Issue
Block a user