Fixed PSP building
All checks were successful
Build Dusk / run-tests (push) Successful in 1m18s
Build Dusk / build-linux (push) Successful in 1m53s
Build Dusk / build-psp (push) Successful in 2m8s

This commit is contained in:
2026-01-05 20:13:11 -06:00
parent 8d00fe9d16
commit 024ace1078
7 changed files with 19 additions and 17 deletions

View File

@@ -9,7 +9,7 @@
#include "script/scriptcontext.h"
#include "input/input.h"
int32_t moduleInputBind(lua_State *L) {
int moduleInputBind(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
// Requires action and button.

View File

@@ -11,7 +11,7 @@
#include "assert/assert.h"
#include "rpg/world/map.h"
int32_t moduleMapLoad(lua_State *L) {
int moduleMapLoad(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
if(!lua_isstring(L, 1)) {

View File

@@ -9,7 +9,7 @@
#include "script/scriptcontext.h"
#include "scene/scenemanager.h"
int32_t moduleSceneSetScene(lua_State *L) {
int moduleSceneSetScene(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
assertTrue(lua_isstring(L, 1), "Expected string scene name");

View File

@@ -12,7 +12,7 @@
#include "util/string.h"
#include "script/scriptmodule.h"
int32_t moduleSysPrint(lua_State *L) {
int moduleSysPrint(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
int n = lua_gettop(L);
@@ -33,7 +33,7 @@ int32_t moduleSysPrint(lua_State *L) {
return 0; // no values returned to Lua
}
int32_t moduleSysInclude(lua_State *L) {
int moduleSysInclude(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
if(!lua_isstring(L, 1)) {
@@ -82,7 +82,7 @@ int32_t moduleSysInclude(lua_State *L) {
return 0;
}
int32_t moduleSysModule(lua_State *L) {
int moduleSysModule(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
if(!lua_isstring(L, 1)) {

View File

@@ -10,7 +10,7 @@
#include "rpg/entity/entity.h"
#include "assert/assert.h"
int32_t scriptFuncEntityAdd(lua_State *L) {
int scriptFuncEntityAdd(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
assertTrue(lua_isinteger(L, 1), "Expected integer entity type");
@@ -50,7 +50,7 @@ int32_t scriptFuncEntityAdd(lua_State *L) {
return 1;
}
int32_t scriptFuncEntitySetX(lua_State *L) {
int scriptFuncEntitySetX(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
assertTrue(lua_isinteger(L, 1), "Expected integer entity id");
@@ -75,7 +75,7 @@ int32_t scriptFuncEntitySetX(lua_State *L) {
return 0;
}
int32_t scriptFuncEntitySetY(lua_State *L) {
int scriptFuncEntitySetY(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
assertTrue(lua_isinteger(L, 1), "Expected integer entity id");
@@ -100,7 +100,7 @@ int32_t scriptFuncEntitySetY(lua_State *L) {
return 0;
}
int32_t scriptFuncEntitySetZ(lua_State *L) {
int scriptFuncEntitySetZ(lua_State *L) {
assertNotNull(L, "Lua state cannot be NULL");
assertTrue(lua_isinteger(L, 1), "Expected integer entity id");