Added some info to the blumen status log

This commit is contained in:
PS 2021-03-31 02:04:03 -07:00
parent bafbcd966a
commit 9e1b5d45f0
2 changed files with 7 additions and 2 deletions

View File

@ -281,7 +281,12 @@ BlumenLumen_UpdateLog(app_state* State, blumen_lumen_state* BLState, context Con
if (!BLState->ShouldUpdateLog) return;
gs_string FileStr = PushString(State->Transient, 1024);
AppendPrintF(&FileStr, "Lumenarium Status\n\n");
AppendPrintF(&FileStr, "Lumenarium Status\n");
system_time Time = Context.SystemTime_Current;
AppendPrintF(&FileStr, "Last Updated At: %d-%d-%d : %d:%d:%d\n\n",
Time.Year, Time.Month, Time.Day,
Time.Hour, Time.Minute, Time.Second);
animation* CurrAnim = AnimationSystem_GetActiveAnimation(&State->AnimationSystem);
AppendPrintF(&FileStr, "Curr Animation: %S\n", CurrAnim->Name);

View File

@ -143,6 +143,6 @@ r32 GlobalAnimSpeed = 1.0f;
// How often should Lumenarium send its status to the python server?
//
#define STATUS_PACKET_FREQ_SECONDS 2 // in seconds
#define STATUS_PACKET_FREQ_SECONDS 10 // in seconds
#endif //BLUMEN_LUMEN_SETTINGS_H