JeLLyNinjas / TerminalFighter

5 stars 2 forks source link

Enoch/safe config load #102

Closed enochtsang closed 6 years ago

enochtsang commented 7 years ago

Example of safe loading

    if (!settings_.load_str(SettingsSection::ASSET_PATHS, {"fonts", "default"}, default_font_path)) {
        LOG(FATAL) << "Failed to load fonts in TestState";
    }
enochtsang commented 7 years ago

Adding copying config.example to config if it doesn't exist. Depends on std::experimental_filesystem, added that to build system, moved us up to c++17 in the process.

bseto commented 6 years ago

Ok, it all looks good to me. But how come I'm getting debug messages straight to my stdout now?

bseto commented 6 years ago

logging isn't going to the /tmp/TerminalFighter/ anymore

bseto commented 6 years ago

Completes #93