diff options
author | nathansmith117 <nathansmith117@sdf.org> | 2025-02-03 16:47:26 +0000 |
---|---|---|
committer | nathansmith117 <nathansmith117@sdf.org> | 2025-02-03 16:47:26 +0000 |
commit | b07e8d2baa70d6da287eaa555bc2bc5070c42c2f (patch) | |
tree | b5f5fa48d045920de96b948bf279a08a2c29c9d6 /src | |
parent | 7ecace4284edc98d48e12348372c2c2af4342ad8 (diff) | |
download | sldj-b07e8d2baa70d6da287eaa555bc2bc5070c42c2f.tar.gz sldj-b07e8d2baa70d6da287eaa555bc2bc5070c42c2f.tar.bz2 sldj-b07e8d2baa70d6da287eaa555bc2bc5070c42c2f.zip |
Really cool stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/scripting.c | 2 | ||||
-rw-r--r-- | src/sldj.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/scripting.c b/src/scripting.c index 9781f5f..f0a2582 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -17,6 +17,8 @@ void initScripting(SldjScripting* scripting) void compileScript(SldjScripting* scripting, const char filePath[SLDJ_NAMEMAX]) { + scripting->lineScanner = NULL; + // Get file size. struct stat fileState; @@ -58,7 +58,7 @@ void updateSldj(Sldj* sldj) DrawTexturePro( viewport, (Rectangle){0.0, 0.0, viewport.width, viewport.height}, - (Rectangle){0.0, 0.0, viewport.width, viewport.height}, + (Rectangle){0.0, 0.0, GetScreenWidth(), GetScreenHeight()}, (Vector2){0.0, 0.0}, 0.0, WHITE |