aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Config.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-26 10:26:42 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-26 10:26:42 +0100
commit60a9879f268977d57b460eec830a3f8b5b24e1a2 (patch)
tree5e8e870864f85c3c6c66e721379b1e55b9446a03 /src/crepe/api/Config.h
parent8cfb59093ce7b18c2b81cc8429a7568a3ba21a73 (diff)
added window default config settings
Diffstat (limited to 'src/crepe/api/Config.h')
-rw-r--r--src/crepe/api/Config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h
index 671fd02..e1aef7d 100644
--- a/src/crepe/api/Config.h
+++ b/src/crepe/api/Config.h
@@ -1,6 +1,7 @@
#pragma once
#include "../util/Log.h"
+#include "types.h"
namespace crepe {
@@ -62,6 +63,14 @@ public:
double gravity = 1;
} physics;
+ //! default window settings
+ struct {
+ //TODO make this constexpr because this will never change
+ vec2 def_size = {1080,720};
+ vec2 pos = {0,0};
+ float zoom = 1.0f;
+ } win_set;
+
//! Asset loading options
struct {
/**