Even more refactoring.

This commit is contained in:
2021-09-19 22:02:14 -07:00
parent fae6cd04db
commit 9e340328ee
36 changed files with 436 additions and 486 deletions

View File

@ -15,9 +15,6 @@ void scripterInit(scripter_t *scripter, engine_t *engine) {
// Push the script self reference
duk_push_pointer(scripter->context, scripter);
duk_put_global_string(scripter->context, SCRIPTER_SELF_NAME);
// Inject API
scriptsApiIo(scripter);
}
void scripterDispose(scripter_t *scripter) {

View File

@ -7,7 +7,6 @@
#pragma once
#include "../libs.h"
#include "api/io.h"
#include "../engine/engine.h"
/** Implies that the arguments the function will take is variable */