| 40 | { |
| 41 | |
| 42 | bool 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 | |
| 59 | bool MountZips(const String &root) |
| 60 | { |
no test coverage detected