From: Urban Wallasch Date: Mon, 29 Jul 2019 11:14:50 +0000 (+0200) Subject: * Log in-game time along with configuration and gameplay events. X-Git-Tag: v0.1.0~53 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=d7eb921955471ed064f7a3acb4e3044dae987e6e;p=ets2_tele.git * Log in-game time along with configuration and gameplay events. --- diff --git a/teleshmem.cpp b/teleshmem.cpp index 3be153d..6109f21 100644 --- a/teleshmem.cpp +++ b/teleshmem.cpp @@ -263,7 +263,7 @@ SCSAPI_VOID telemetry_gameplay(const scs_event_t event, const void *const event_ } // Log the gameplay event. - log_print("Gameplay: %s\n", info->id); + log_print("<%u> Gameplay: %s\n", telemetry->game_time, info->id); for (const scs_named_value_t *current = info->attributes; current->name; ++current) { log_print(" %s", current->name); if (current->index != SCS_U32_NIL) { @@ -307,7 +307,7 @@ SCSAPI_VOID telemetry_configuration(const scs_event_t event, const void *const e } // Log the configuration info. - log_print("Configuration: %s\n", info->id); + log_print("<%u> Configuration: %s\n", telemetry->game_time, info->id); for (const scs_named_value_t *current = info->attributes; current->name; ++current) { log_print(" %s", current->name); if (current->index != SCS_U32_NIL) {