Add native obdeddi data editing and refine Beta window, strengths and scene pacing (by Codex)
This commit is contained in:
1 parent
1771cb5599
commit
dca853e14e
17 files changed
+495
-56
No files matched your search
@@ -26,7 +26,9 @@ void DataProfile::validate() const {
|
||||
DataProfile load_data_profile(const std::filesystem::path& directory) {
|
||||
const auto file=directory/"OBMHPROF.INI";
|
||||
if(!resource_exists(file))return {};
|
||||
const auto raw=read_file(file);
|
||||
return decode_data_profile(read_file(file));
|
||||
}
|
||||
DataProfile decode_data_profile(const Bytes& raw) {
|
||||
std::istringstream input(std::string(raw.begin(),raw.end()));
|
||||
std::string line,id;bool section=false,seen=false;
|
||||
while(std::getline(input,line)) {
|
||||
|
||||
Reference in new issue
Block a user