Register dvar
This commit is contained in:
parent
27e9a22e43
commit
3d24252a16
@ -10,7 +10,6 @@ namespace Components
|
|||||||
bool ZoneBuilder::Terminate;
|
bool ZoneBuilder::Terminate;
|
||||||
std::thread ZoneBuilder::CommandThread;
|
std::thread ZoneBuilder::CommandThread;
|
||||||
|
|
||||||
Dvar::Var ZoneBuilder::MatchTechsetsDvar;
|
|
||||||
Dvar::Var ZoneBuilder::PreferDiskAssetsDvar;
|
Dvar::Var ZoneBuilder::PreferDiskAssetsDvar;
|
||||||
|
|
||||||
ZoneBuilder::Zone::Zone(const std::string& name) : indexStart(0), externalSize(0),
|
ZoneBuilder::Zone::Zone(const std::string& name) : indexStart(0), externalSize(0),
|
||||||
@ -1525,6 +1524,8 @@ namespace Components
|
|||||||
Logger::Print("%s\n", json11::Json(images).dump().data());
|
Logger::Print("%s\n", json11::Json(images).dump().data());
|
||||||
Logger::Print("------------------- END IWI DUMP -------------------\n");
|
Logger::Print("------------------- END IWI DUMP -------------------\n");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ZoneBuilder::PreferDiskAssetsDvar = Dvar::Register<bool>("zb_prefer_disk_assets", false, Game::DVAR_FLAG_NONE, "Should zonebuilder prefer in-memory assets (requirements) or disk assets, when both are present?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user