diff options
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 |