Afinada un poc mes la classe Options
This commit is contained in:
@@ -120,16 +120,16 @@ bool saveOptionsToFile(const std::string &file_path)
|
||||
}
|
||||
|
||||
// Escribe en el fichero
|
||||
file << "## VERSION\n";
|
||||
file << "version=" << options.version << "\n";
|
||||
|
||||
file << "\n## CONTROL\n";
|
||||
file << "## keys = CURSOR | OPQA | WASD\n";
|
||||
file << "keys=" << static_cast<int>(options.keys) << "\n";
|
||||
|
||||
file << "\n## WINDOW\n";
|
||||
file << "window.zoom=" << options.window.zoom << "\n";
|
||||
|
||||
file << "\n## VIDEO\n";
|
||||
file << "video.mode=" << options.video.mode << "\n";
|
||||
file << "window.zoom=" << options.window.zoom << "\n";
|
||||
file << "video.filter=" << static_cast<int>(options.video.filter) << "\n";
|
||||
file << "video.shaders=" << boolToString(options.video.shaders) << "\n";
|
||||
file << "video.vertical_sync=" << boolToString(options.video.vertical_sync) << "\n";
|
||||
|
||||
Reference in New Issue
Block a user