Fixed PSP building
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user