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

Function copyGameSettings

TheForceEngine/TFE_Input/replay.cpp:319–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 }
318
319 void copyGameSettings(TFE_Settings_Game* source, TFE_Settings_Game* dest)
320 {
321 dest->df_airControl = source->df_airControl;
322 dest->df_enableAutoaim = source->df_enableAutoaim;
323 dest->df_smoothVUEs = source->df_smoothVUEs;
324 dest->df_autorun = source->df_autorun;
325 dest->df_crouchToggle = source->df_crouchToggle;
326 dest->df_ignoreInfLimit = source->df_ignoreInfLimit;
327 dest->df_stepSecondAlt = source->df_stepSecondAlt;
328 dest->df_enableUnusedItem = source->df_enableUnusedItem;
329 dest->df_solidWallFlagFix = source->df_solidWallFlagFix;
330 dest->df_jsonAiLogics = source->df_jsonAiLogics;
331 dest->df_pitchLimit = source->df_pitchLimit;
332 dest->df_recordFrameRate = source->df_recordFrameRate;
333 dest->df_autoEndMission = source->df_autoEndMission;
334 }
335
336 // Loads the demo files from the replay folder.
337 void populateReplayDirectory(std::vector<TFE_SaveSystem::SaveHeader>& dir)

Callers 2

serializeDemoFunction · 0.85
restoreGameSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected