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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user