Lua interpreter mode and easings module.
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user