MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / startRecording

Function startRecording

TheForceEngine/TFE_Input/replay.cpp:915–931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913 }
914
915 void startRecording()
916 {
917 // Handle recording initialization
918 startCommonReplayStates();
919 recordReplaySeed();
920 setRecording(true);
921 setDemoPlayback(false);
922 saveTick();
923 saveInitTime();
924
925 if (shouldLogReplay())
926 {
927 TFE_System::logClose();
928 TFE_System::logOpen("record.log");;
929 TFE_System::logTimeToggle();
930 }
931 }
932
933 void endRecording()
934 {

Callers 1

startNextModeFunction · 0.85

Calls 10

startCommonReplayStatesFunction · 0.85
recordReplaySeedFunction · 0.85
setRecordingFunction · 0.85
setDemoPlaybackFunction · 0.85
saveTickFunction · 0.85
saveInitTimeFunction · 0.85
shouldLogReplayFunction · 0.85
logCloseFunction · 0.85
logOpenFunction · 0.85
logTimeToggleFunction · 0.85

Tested by

no test coverage detected