diff options
| author | jussi | 2022-11-11 19:23:35 +0200 |
|---|---|---|
| committer | jussi | 2022-11-11 19:23:35 +0200 |
| commit | 921ed3b07f4e8c643161a08744b75562055077ff (patch) | |
| tree | ee10fca564fd0c9417aa6c40561e994446748549 /src/state.c | |
| parent | 1094b1f833553c26125affddf991f8c7f72da225 (diff) | |
| download | reilua-enhanced-921ed3b07f4e8c643161a08744b75562055077ff.tar.gz reilua-enhanced-921ed3b07f4e8c643161a08744b75562055077ff.tar.bz2 reilua-enhanced-921ed3b07f4e8c643161a08744b75562055077ff.zip | |
Lua interpreter mode and easings module.
Diffstat (limited to 'src/state.c')
| -rw-r--r-- | src/state.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c index 8cecdcd..4f7e302 100644 --- a/src/state.c +++ b/src/state.c @@ -108,11 +108,20 @@ bool stateInit( const char *exePath ) { if ( state->run ) { InitAudioDevice(); state->run = luaInit(); + // luaRegister(); + // defineGlobals(); + + state->run = luaInit(); } return state->run; } +bool stateInitInterpret() { + state = malloc( sizeof( State ) ); + luaInit(); +} + void stateFree() { for ( int i = 0; i < state->imageCount; ++i ) { if ( state->images[i] != NULL ) { |
