TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
InstallModule()
void ModuleManager::InstallModule
(
std::string
path
)
Definition at line
113
of file
ModuleManager.cpp
.
114
{
115
// extract zip file to modules folder
116
zip_extract(path.data(), (appState->constants.modulesDir + PATH_SEPARATOR + GenerateId(32)).data(), [](
const
char
* f,
void
* arg){
return
1;}, 0);
117
// load module
118
LoadModule(appState->constants.modulesDir + PATH_SEPARATOR + GenerateId(32) + PATH_SEPARATOR
"module"
MODULE_EXT);
119
}
ModuleManager
Generated on Thu Apr 7 2022 14:10:52 for TerraForge3D by
1.9.3