]> git.localhorst.tv Git - tacos.git/blobdiff - src/app/config.hpp
basic floor idea
[tacos.git] / src / app / config.hpp
diff --git a/src/app/config.hpp b/src/app/config.hpp
new file mode 100644 (file)
index 0000000..1a6e115
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef TACOS_APP_CONFIG_HPP_
+#define TACOS_APP_CONFIG_HPP_
+
+#include <string>
+
+
+namespace tacos {
+
+struct Config {
+
+       Config();
+
+       void ReadArgs(int argc, const char *const *argv);
+       void ReadFile(const char *path);
+
+       // system settings
+       std::string asset_path;
+       std::string config_path;
+
+       // video settings
+       bool double_buffer = true;
+       int multi_sample = 0;
+
+};
+
+}
+
+#endif