From fe9b718f8978cfd792f7303214b2dd45172b8d4b Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Tue, 4 Feb 2025 04:29:07 -0700 Subject: Working on script context --- src/scripting.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/scripting.h') diff --git a/src/scripting.h b/src/scripting.h index fab64b2..2a7220a 100644 --- a/src/scripting.h +++ b/src/scripting.h @@ -11,16 +11,19 @@ #include #include "sldjConfig.h" +#include "libsldj/util.h" #ifndef SCRIPTING_H #define SCRIPTING_H typedef Color (*LineScanner)(uint16_t x, uint16_t y, uint32_t frameNumber); +typedef void (*LoadContext)(SldjContext context); typedef struct SldjScripting { TCCState* state; LineScanner lineScanner; + LoadContext loadContext; char* fileBuf; size_t fileSize; -- cgit v1.2.3