Skip to content

Instantly share code, notes, and snippets.

@nabijaczleweli
Created October 29, 2015 20:34
Show Gist options
  • Save nabijaczleweli/f31dcb909f1aaef99d8b to your computer and use it in GitHub Desktop.
Save nabijaczleweli/f31dcb909f1aaef99d8b to your computer and use it in GitHub Desktop.
static quickscope_wrapper saviour{[&]() {
pt::ptree tree;
tree.put("graphics.time_between_frames", setts.graphics.between_frames.count());
tree.put("graphics.time_between_frames_comment", "In milliseconds"s);
tree.put("credits.time_between_lines", setts.credits.time_between_lines);
tree.put("credits.time_between_lines_comment", "[1-255] In tenths of a second"s);
pt::write_info("assets/gaem.cfg", tree);
}};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment