Added some info to the blumen status log
This commit is contained in:
parent
bafbcd966a
commit
9e1b5d45f0
|
@ -281,7 +281,12 @@ BlumenLumen_UpdateLog(app_state* State, blumen_lumen_state* BLState, context Con
|
||||||
if (!BLState->ShouldUpdateLog) return;
|
if (!BLState->ShouldUpdateLog) return;
|
||||||
|
|
||||||
gs_string FileStr = PushString(State->Transient, 1024);
|
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);
|
animation* CurrAnim = AnimationSystem_GetActiveAnimation(&State->AnimationSystem);
|
||||||
AppendPrintF(&FileStr, "Curr Animation: %S\n", CurrAnim->Name);
|
AppendPrintF(&FileStr, "Curr Animation: %S\n", CurrAnim->Name);
|
||||||
|
|
|
@ -143,6 +143,6 @@ r32 GlobalAnimSpeed = 1.0f;
|
||||||
|
|
||||||
// How often should Lumenarium send its status to the python server?
|
// 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
|
#endif //BLUMEN_LUMEN_SETTINGS_H
|
||||||
|
|
Loading…
Reference in New Issue