Maintain a circular buffer of recent commands, add to crashlog.

Add console command to dump command log.
Increase max crashlog size.
This commit is contained in:
Jonathan G Rennison
2017-02-21 21:04:28 +00:00
parent 3884ea5da1
commit 349ddd90b7
7 changed files with 129 additions and 1 deletions

View File

@@ -68,6 +68,9 @@ static inline DoCommandFlag CommandFlagsToDCFlags(CommandFlags cmd_flags)
return flags;
}
void ClearCommandLog();
char *DumpCommandLog(char *buffer, const char *last);
/*** All command callbacks that exist ***/
/* ai/ai_instance.cpp */