aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-04-26 16:09:22 +0200
committerkdx <kikoodx@paranoici.org>2023-04-26 16:09:22 +0200
commitb86c22881cd2f839fba357988410a8821a3e83dd (patch)
treee459041dbc81fb1010d7e0f4ea121981858fa250 /headers
parent0ebbc7b57e9fa1df3115c7962e6501e2f187e935 (diff)
downloadtzr-b86c22881cd2f839fba357988410a8821a3e83dd.tar.gz
game scale
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR.h1
-rw-r--r--headers/TZR_types.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index 688ba9f..6c8fa9d 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -13,6 +13,7 @@
#define TZR_Init(...) _TZR_Init(&(const TZR_Config){ \
.width=256, \
.height=224, \
+ .scale=2, \
.target_fps=60, \
.pixel_perfect=true, \
.show_cursor=false, \
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index bcb6ca5..972c45e 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -50,6 +50,7 @@ struct TZR_Config {
int _;
int width;
int height;
+ int scale;
int target_fps;
bool pixel_perfect;
bool show_cursor;