mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-13 06:58:03 -05:00
trying to figure stuff out
This commit is contained in:
parent
0eee085981
commit
db7e1bf332
@ -168,6 +168,10 @@ public:
|
|||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RandomizerCheck GetRandomizerCheck() const {
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
|
||||||
SpoilerCollectionCheck GetCollectionCheck() const {
|
SpoilerCollectionCheck GetCollectionCheck() const {
|
||||||
return collectionCheck;
|
return collectionCheck;
|
||||||
}
|
}
|
||||||
|
@ -2854,7 +2854,13 @@ void GenerateRandomizerImgui() {
|
|||||||
|
|
||||||
cvarSettings[RSK_SKULLS_SUNS_SONG] = CVar_GetS32("gRandomizeGsExpectSunsSong", 0);
|
cvarSettings[RSK_SKULLS_SUNS_SONG] = CVar_GetS32("gRandomizeGsExpectSunsSong", 0);
|
||||||
|
|
||||||
std::set<RandomizerCheck> excludedLocations = { RC_UNKNOWN_CHECK };
|
// todo: this efficently when we build out cvar array support
|
||||||
|
std::set<RandomizerCheck> excludedLocations;
|
||||||
|
std::stringstream excludedLocationStringStream(CVar_GetString("gRandomizeExcludedLocations", ""));
|
||||||
|
std::string excludedLocationString;
|
||||||
|
while(getline(excludedLocationStringStream, excludedLocationString, ',')) {
|
||||||
|
excludedLocations.insert((RandomizerCheck)std::stoi(excludedLocationString));
|
||||||
|
}
|
||||||
|
|
||||||
RandoMain::GenerateRando(cvarSettings, excludedLocations);
|
RandoMain::GenerateRando(cvarSettings, excludedLocations);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user