MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Reset

Method Reset

engine/Poseidon/World/WorldInit.cpp:1113–1121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1111}
1112
1113void World::Reset()
1114{
1115 const ParamEntry& world = Pars >> "CfgWorlds" >> Glob.header.worldname;
1116 CleanUp();
1117 _scene.GetLandscape()->InitObjectVehicles();
1118 _scene.GetLandscape()->InitDynSounds(world >> "Sounds");
1119 InsertSeaGulls();
1120 GSoundScene->Reset();
1121}
1122
1123void World::Clear()
1124{

Callers 4

WorldMethod · 0.45
CleanUpDeinitMethod · 0.45
UnloadSoundsMethod · 0.45
SwitchLandscapeMethod · 0.45

Calls 3

InitObjectVehiclesMethod · 0.80
GetLandscapeMethod · 0.80
InitDynSoundsMethod · 0.80

Tested by

no test coverage detected