Add log of game events since last load and overall

Add console command
Add to crashlog
This commit is contained in:
Jonathan G Rennison
2019-05-16 20:15:44 +01:00
parent ddd48b61a2
commit ec1e848a7f
10 changed files with 70 additions and 0 deletions

View File

@@ -79,6 +79,8 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
_tick_skip_counter = 0;
_cur_tileloop_tile = 1;
_thd.redsq = INVALID_TILE;
_game_events_since_load = (GameEventFlags) 0;
_game_events_overall = (GameEventFlags) 0;
if (reset_settings) MakeNewgameSettingsLive();
if (reset_date) {