Add cmexport console command to dump various data into json file

This commit is contained in:
dP
2020-07-01 00:23:06 +03:00
parent 5e681193de
commit b054653146
7 changed files with 340 additions and 0 deletions

View File

@@ -40,6 +40,8 @@
#include "table/strings.h"
#include <time.h>
#include "citymania/cm_console_cmds.hpp"
#include "safeguards.h"
/* scriptfile handling */
@@ -2207,4 +2209,6 @@ void IConsoleStdLibRegister()
/* NewGRF development stuff */
IConsoleCmdRegister("reload_newgrfs", ConNewGRFReload, ConHookNewGRFDeveloperTool);
IConsoleCmdRegister("newgrf_profile", ConNewGRFProfile, ConHookNewGRFDeveloperTool);
IConsoleCmdRegister("cmexport", citymania::ConExport);
}