Add tile info dump method to scope_dumper

This commit is contained in:
Jonathan G Rennison
2018-07-26 18:52:47 +01:00
parent 7f027f8dca
commit 8805ab8387
2 changed files with 9 additions and 0 deletions

View File

@@ -12,6 +12,8 @@
#ifndef SCOPE_INFO_H
#define SCOPE_INFO_H
#include "tile_type.h"
#include <functional>
#include <vector>
@@ -70,6 +72,7 @@ struct scope_dumper {
const char *CompanyInfo(int company_id);
const char *VehicleInfo(const Vehicle *v);
const char *StationInfo(const BaseStation *st);
const char *TileInfo(TileIndex tile);
private:
char buffer[256];