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

@@ -28,6 +28,7 @@
#include "core/pool_type.hpp"
#include "game/game.hpp"
#include "linkgraph/linkgraphschedule.h"
#include "command_func.h"
#include "safeguards.h"
@@ -59,6 +60,8 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
AllocateMap(size_x, size_y);
ClearCommandLog();
_pause_mode = PM_UNPAUSED;
_fast_forward = 0;
_tick_counter = 0;