diff options
author | nathansmith117 <nathansmith117@sdf.org> | 2025-02-04 11:29:07 +0000 |
---|---|---|
committer | nathansmith117 <nathansmith117@sdf.org> | 2025-02-04 11:29:07 +0000 |
commit | fe9b718f8978cfd792f7303214b2dd45172b8d4b (patch) | |
tree | 8efd867eae12ad5d55d29e964272974ee3d71b18 /src/sldj.h | |
parent | fb7ccc0c046ed80fdac2e829b8c367841600e211 (diff) | |
download | sldj-fe9b718f8978cfd792f7303214b2dd45172b8d4b.tar.gz sldj-fe9b718f8978cfd792f7303214b2dd45172b8d4b.tar.bz2 sldj-fe9b718f8978cfd792f7303214b2dd45172b8d4b.zip |
Working on script context
Diffstat (limited to 'src/sldj.h')
-rw-r--r-- | src/sldj.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -6,8 +6,8 @@ #include <raylib.h> #include "sldjConfig.h" -#include "util.h" #include "scripting.h" +#include "libsldj/util.h" #ifndef SLDJ_H #define SLDJ_H @@ -16,10 +16,13 @@ typedef struct Sldj { RenderTexture viewport; uint32_t frameCounter; + + // Used for always using a 0 to 2**16 range when scanning. uint16_t xCount; uint16_t yCount; SldjScripting scripting; + char scriptFilepath[SLDJ_NAMEMAX]; } Sldj; void initSldj(Sldj* sldj); @@ -27,5 +30,7 @@ void updateSldj(Sldj* sldj); void closeSldj(Sldj* sldj); void resetViewport(Sldj* sldj, int width, int height); +void reloadScriptContext(Sldj* sldj); +void reloadScript(Sldj* sldj); #endif |