MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / MountDefaults

Function MountDefaults

Engine/source/platform/platformVolume.cpp:42–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40{
41
42bool MountDefaults()
43{
44 String path = getAssetDir();
45
46 bool mounted = Mount( "game", createNativeFS( path ));
47
48 if ( !mounted )
49 return false;
50
51#ifndef TORQUE_DISABLE_VIRTUAL_MOUNT_SYSTEM
52 // Note that the VirtualMountSystem must be enabled in volume.cpp for zip support to work.
53 return MountZips("game");
54#else
55 return true;
56#endif
57}
58
59bool MountZips(const String &root)
60{

Callers 2

initMethod · 0.85
TorqueMainFunction · 0.85

Calls 2

MountFunction · 0.85
MountZipsFunction · 0.85

Tested by

no test coverage detected