summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorjussi2024-07-02 20:49:25 +0300
committerjussi2024-07-02 20:49:25 +0300
commit61c932f2605aac5a8fef4264087e9ea8f86c6760 (patch)
treef5bbf509317bd86ad25588456370844c58a1526a /src/state.c
parentfd18b5526e0c2b058f175ba140258549fec09098 (diff)
downloadreilua-enhanced-61c932f2605aac5a8fef4264087e9ea8f86c6760.tar.gz
reilua-enhanced-61c932f2605aac5a8fef4264087e9ea8f86c6760.tar.bz2
reilua-enhanced-61c932f2605aac5a8fef4264087e9ea8f86c6760.zip
GetMouseOffset and GetMouseScale.
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index c17f3f0..0fed44e 100644
--- a/src/state.c
+++ b/src/state.c
@@ -19,6 +19,8 @@ bool stateInit( int argn, const char** argc, const char* basePath ) {
state->logLevelInvalid = LOG_ERROR;
state->gcUnload = true;
state->lineSpacing = 15;
+ state->mouseOffset = (Vector2){ 0, 0 };
+ state->mouseScale = (Vector2){ 1, 1 };
InitWindow( state->resolution.x, state->resolution.y, "ReiLua" );