Rendering a moving square entirely from lua.
Some checks failed
Build Dusk / build-linux (push) Has been cancelled
Build Dusk / build-psp (push) Has been cancelled
Build Dusk / run-tests (push) Has been cancelled

This commit is contained in:
2026-01-28 11:01:07 -06:00
parent 6bdb4ae30d
commit 32b41c98e1
7 changed files with 194 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
#include "script/module/locale/modulelocale.h"
#include "script/module/time/moduletime.h"
#include "script/module/event/moduleevent.h"
#include "script/module/display/modulespritebatch.h"
#include "util/string.h"
const scriptmodule_t SCRIPT_MODULE_LIST[] = {
@@ -25,6 +26,7 @@ const scriptmodule_t SCRIPT_MODULE_LIST[] = {
{ .name = "locale", .callback = moduleLocale },
{ .name = "time", .callback = moduleTime },
{ .name = "event", .callback = moduleEvent },
{ .name = "spritebatch", .callback = moduleSpriteBatch },
};
#define SCRIPT_MODULE_COUNT ( \