|
|
@@ -18,7 +18,6 @@ void luaRegister_Font()
|
|
|
const luaL_Reg lua_members[] =
|
|
|
{
|
|
|
{"addRef", lua_Font_addRef},
|
|
|
- {"createText", lua_Font_createText},
|
|
|
{"drawText", lua_Font_drawText},
|
|
|
{"finish", lua_Font_finish},
|
|
|
{"getCharacterSpacing", lua_Font_getCharacterSpacing},
|
|
|
@@ -124,390 +123,6 @@ int lua_Font_addRef(lua_State* state)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-int lua_Font_createText(lua_State* state)
|
|
|
-{
|
|
|
- // Get the number of parameters.
|
|
|
- int paramCount = lua_gettop(state);
|
|
|
-
|
|
|
- // Attempt to match the parameters to a valid binding.
|
|
|
- switch (paramCount)
|
|
|
- {
|
|
|
- case 4:
|
|
|
- {
|
|
|
- if ((lua_type(state, 1) == LUA_TUSERDATA) &&
|
|
|
- (lua_type(state, 2) == LUA_TSTRING || lua_type(state, 2) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 3) == LUA_TUSERDATA || lua_type(state, 3) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 4) == LUA_TUSERDATA || lua_type(state, 4) == LUA_TNIL))
|
|
|
- {
|
|
|
- // Get parameter 1 off the stack.
|
|
|
- const char* param1 = gameplay::ScriptUtil::getString(2, false);
|
|
|
-
|
|
|
- // Get parameter 2 off the stack.
|
|
|
- bool param2Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Rectangle> param2 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(3, "Rectangle", true, ¶m2Valid);
|
|
|
- if (!param2Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 2 to type 'Rectangle'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 3 off the stack.
|
|
|
- bool param3Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Vector4> param3 = gameplay::ScriptUtil::getObjectPointer<Vector4>(4, "Vector4", true, ¶m3Valid);
|
|
|
- if (!param3Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 3 to type 'Vector4'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- Font* instance = getInstance(state);
|
|
|
- void* returnPtr = (void*)instance->createText(param1, *param2, *param3);
|
|
|
- if (returnPtr)
|
|
|
- {
|
|
|
- gameplay::ScriptUtil::LuaObject* object = (gameplay::ScriptUtil::LuaObject*)lua_newuserdata(state, sizeof(gameplay::ScriptUtil::LuaObject));
|
|
|
- object->instance = returnPtr;
|
|
|
- object->owns = false;
|
|
|
- luaL_getmetatable(state, "FontText");
|
|
|
- lua_setmetatable(state, -2);
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- lua_pushnil(state);
|
|
|
- }
|
|
|
-
|
|
|
- return 1;
|
|
|
- }
|
|
|
-
|
|
|
- lua_pushstring(state, "lua_Font_createText - Failed to match the given parameters to a valid function signature.");
|
|
|
- lua_error(state);
|
|
|
- break;
|
|
|
- }
|
|
|
- case 5:
|
|
|
- {
|
|
|
- if ((lua_type(state, 1) == LUA_TUSERDATA) &&
|
|
|
- (lua_type(state, 2) == LUA_TSTRING || lua_type(state, 2) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 3) == LUA_TUSERDATA || lua_type(state, 3) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 4) == LUA_TUSERDATA || lua_type(state, 4) == LUA_TNIL) &&
|
|
|
- lua_type(state, 5) == LUA_TNUMBER)
|
|
|
- {
|
|
|
- // Get parameter 1 off the stack.
|
|
|
- const char* param1 = gameplay::ScriptUtil::getString(2, false);
|
|
|
-
|
|
|
- // Get parameter 2 off the stack.
|
|
|
- bool param2Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Rectangle> param2 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(3, "Rectangle", true, ¶m2Valid);
|
|
|
- if (!param2Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 2 to type 'Rectangle'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 3 off the stack.
|
|
|
- bool param3Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Vector4> param3 = gameplay::ScriptUtil::getObjectPointer<Vector4>(4, "Vector4", true, ¶m3Valid);
|
|
|
- if (!param3Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 3 to type 'Vector4'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 4 off the stack.
|
|
|
- unsigned int param4 = (unsigned int)luaL_checkunsigned(state, 5);
|
|
|
-
|
|
|
- Font* instance = getInstance(state);
|
|
|
- void* returnPtr = (void*)instance->createText(param1, *param2, *param3, param4);
|
|
|
- if (returnPtr)
|
|
|
- {
|
|
|
- gameplay::ScriptUtil::LuaObject* object = (gameplay::ScriptUtil::LuaObject*)lua_newuserdata(state, sizeof(gameplay::ScriptUtil::LuaObject));
|
|
|
- object->instance = returnPtr;
|
|
|
- object->owns = false;
|
|
|
- luaL_getmetatable(state, "FontText");
|
|
|
- lua_setmetatable(state, -2);
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- lua_pushnil(state);
|
|
|
- }
|
|
|
-
|
|
|
- return 1;
|
|
|
- }
|
|
|
-
|
|
|
- lua_pushstring(state, "lua_Font_createText - Failed to match the given parameters to a valid function signature.");
|
|
|
- lua_error(state);
|
|
|
- break;
|
|
|
- }
|
|
|
- case 6:
|
|
|
- {
|
|
|
- if ((lua_type(state, 1) == LUA_TUSERDATA) &&
|
|
|
- (lua_type(state, 2) == LUA_TSTRING || lua_type(state, 2) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 3) == LUA_TUSERDATA || lua_type(state, 3) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 4) == LUA_TUSERDATA || lua_type(state, 4) == LUA_TNIL) &&
|
|
|
- lua_type(state, 5) == LUA_TNUMBER &&
|
|
|
- (lua_type(state, 6) == LUA_TSTRING || lua_type(state, 6) == LUA_TNIL))
|
|
|
- {
|
|
|
- // Get parameter 1 off the stack.
|
|
|
- const char* param1 = gameplay::ScriptUtil::getString(2, false);
|
|
|
-
|
|
|
- // Get parameter 2 off the stack.
|
|
|
- bool param2Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Rectangle> param2 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(3, "Rectangle", true, ¶m2Valid);
|
|
|
- if (!param2Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 2 to type 'Rectangle'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 3 off the stack.
|
|
|
- bool param3Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Vector4> param3 = gameplay::ScriptUtil::getObjectPointer<Vector4>(4, "Vector4", true, ¶m3Valid);
|
|
|
- if (!param3Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 3 to type 'Vector4'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 4 off the stack.
|
|
|
- unsigned int param4 = (unsigned int)luaL_checkunsigned(state, 5);
|
|
|
-
|
|
|
- // Get parameter 5 off the stack.
|
|
|
- Font::Justify param5 = (Font::Justify)lua_enumFromString_FontJustify(luaL_checkstring(state, 6));
|
|
|
-
|
|
|
- Font* instance = getInstance(state);
|
|
|
- void* returnPtr = (void*)instance->createText(param1, *param2, *param3, param4, param5);
|
|
|
- if (returnPtr)
|
|
|
- {
|
|
|
- gameplay::ScriptUtil::LuaObject* object = (gameplay::ScriptUtil::LuaObject*)lua_newuserdata(state, sizeof(gameplay::ScriptUtil::LuaObject));
|
|
|
- object->instance = returnPtr;
|
|
|
- object->owns = false;
|
|
|
- luaL_getmetatable(state, "FontText");
|
|
|
- lua_setmetatable(state, -2);
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- lua_pushnil(state);
|
|
|
- }
|
|
|
-
|
|
|
- return 1;
|
|
|
- }
|
|
|
-
|
|
|
- lua_pushstring(state, "lua_Font_createText - Failed to match the given parameters to a valid function signature.");
|
|
|
- lua_error(state);
|
|
|
- break;
|
|
|
- }
|
|
|
- case 7:
|
|
|
- {
|
|
|
- if ((lua_type(state, 1) == LUA_TUSERDATA) &&
|
|
|
- (lua_type(state, 2) == LUA_TSTRING || lua_type(state, 2) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 3) == LUA_TUSERDATA || lua_type(state, 3) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 4) == LUA_TUSERDATA || lua_type(state, 4) == LUA_TNIL) &&
|
|
|
- lua_type(state, 5) == LUA_TNUMBER &&
|
|
|
- (lua_type(state, 6) == LUA_TSTRING || lua_type(state, 6) == LUA_TNIL) &&
|
|
|
- lua_type(state, 7) == LUA_TBOOLEAN)
|
|
|
- {
|
|
|
- // Get parameter 1 off the stack.
|
|
|
- const char* param1 = gameplay::ScriptUtil::getString(2, false);
|
|
|
-
|
|
|
- // Get parameter 2 off the stack.
|
|
|
- bool param2Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Rectangle> param2 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(3, "Rectangle", true, ¶m2Valid);
|
|
|
- if (!param2Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 2 to type 'Rectangle'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 3 off the stack.
|
|
|
- bool param3Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Vector4> param3 = gameplay::ScriptUtil::getObjectPointer<Vector4>(4, "Vector4", true, ¶m3Valid);
|
|
|
- if (!param3Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 3 to type 'Vector4'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 4 off the stack.
|
|
|
- unsigned int param4 = (unsigned int)luaL_checkunsigned(state, 5);
|
|
|
-
|
|
|
- // Get parameter 5 off the stack.
|
|
|
- Font::Justify param5 = (Font::Justify)lua_enumFromString_FontJustify(luaL_checkstring(state, 6));
|
|
|
-
|
|
|
- // Get parameter 6 off the stack.
|
|
|
- bool param6 = gameplay::ScriptUtil::luaCheckBool(state, 7);
|
|
|
-
|
|
|
- Font* instance = getInstance(state);
|
|
|
- void* returnPtr = (void*)instance->createText(param1, *param2, *param3, param4, param5, param6);
|
|
|
- if (returnPtr)
|
|
|
- {
|
|
|
- gameplay::ScriptUtil::LuaObject* object = (gameplay::ScriptUtil::LuaObject*)lua_newuserdata(state, sizeof(gameplay::ScriptUtil::LuaObject));
|
|
|
- object->instance = returnPtr;
|
|
|
- object->owns = false;
|
|
|
- luaL_getmetatable(state, "FontText");
|
|
|
- lua_setmetatable(state, -2);
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- lua_pushnil(state);
|
|
|
- }
|
|
|
-
|
|
|
- return 1;
|
|
|
- }
|
|
|
-
|
|
|
- lua_pushstring(state, "lua_Font_createText - Failed to match the given parameters to a valid function signature.");
|
|
|
- lua_error(state);
|
|
|
- break;
|
|
|
- }
|
|
|
- case 8:
|
|
|
- {
|
|
|
- if ((lua_type(state, 1) == LUA_TUSERDATA) &&
|
|
|
- (lua_type(state, 2) == LUA_TSTRING || lua_type(state, 2) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 3) == LUA_TUSERDATA || lua_type(state, 3) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 4) == LUA_TUSERDATA || lua_type(state, 4) == LUA_TNIL) &&
|
|
|
- lua_type(state, 5) == LUA_TNUMBER &&
|
|
|
- (lua_type(state, 6) == LUA_TSTRING || lua_type(state, 6) == LUA_TNIL) &&
|
|
|
- lua_type(state, 7) == LUA_TBOOLEAN &&
|
|
|
- lua_type(state, 8) == LUA_TBOOLEAN)
|
|
|
- {
|
|
|
- // Get parameter 1 off the stack.
|
|
|
- const char* param1 = gameplay::ScriptUtil::getString(2, false);
|
|
|
-
|
|
|
- // Get parameter 2 off the stack.
|
|
|
- bool param2Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Rectangle> param2 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(3, "Rectangle", true, ¶m2Valid);
|
|
|
- if (!param2Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 2 to type 'Rectangle'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 3 off the stack.
|
|
|
- bool param3Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Vector4> param3 = gameplay::ScriptUtil::getObjectPointer<Vector4>(4, "Vector4", true, ¶m3Valid);
|
|
|
- if (!param3Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 3 to type 'Vector4'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 4 off the stack.
|
|
|
- unsigned int param4 = (unsigned int)luaL_checkunsigned(state, 5);
|
|
|
-
|
|
|
- // Get parameter 5 off the stack.
|
|
|
- Font::Justify param5 = (Font::Justify)lua_enumFromString_FontJustify(luaL_checkstring(state, 6));
|
|
|
-
|
|
|
- // Get parameter 6 off the stack.
|
|
|
- bool param6 = gameplay::ScriptUtil::luaCheckBool(state, 7);
|
|
|
-
|
|
|
- // Get parameter 7 off the stack.
|
|
|
- bool param7 = gameplay::ScriptUtil::luaCheckBool(state, 8);
|
|
|
-
|
|
|
- Font* instance = getInstance(state);
|
|
|
- void* returnPtr = (void*)instance->createText(param1, *param2, *param3, param4, param5, param6, param7);
|
|
|
- if (returnPtr)
|
|
|
- {
|
|
|
- gameplay::ScriptUtil::LuaObject* object = (gameplay::ScriptUtil::LuaObject*)lua_newuserdata(state, sizeof(gameplay::ScriptUtil::LuaObject));
|
|
|
- object->instance = returnPtr;
|
|
|
- object->owns = false;
|
|
|
- luaL_getmetatable(state, "FontText");
|
|
|
- lua_setmetatable(state, -2);
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- lua_pushnil(state);
|
|
|
- }
|
|
|
-
|
|
|
- return 1;
|
|
|
- }
|
|
|
-
|
|
|
- lua_pushstring(state, "lua_Font_createText - Failed to match the given parameters to a valid function signature.");
|
|
|
- lua_error(state);
|
|
|
- break;
|
|
|
- }
|
|
|
- case 9:
|
|
|
- {
|
|
|
- if ((lua_type(state, 1) == LUA_TUSERDATA) &&
|
|
|
- (lua_type(state, 2) == LUA_TSTRING || lua_type(state, 2) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 3) == LUA_TUSERDATA || lua_type(state, 3) == LUA_TNIL) &&
|
|
|
- (lua_type(state, 4) == LUA_TUSERDATA || lua_type(state, 4) == LUA_TNIL) &&
|
|
|
- lua_type(state, 5) == LUA_TNUMBER &&
|
|
|
- (lua_type(state, 6) == LUA_TSTRING || lua_type(state, 6) == LUA_TNIL) &&
|
|
|
- lua_type(state, 7) == LUA_TBOOLEAN &&
|
|
|
- lua_type(state, 8) == LUA_TBOOLEAN &&
|
|
|
- (lua_type(state, 9) == LUA_TUSERDATA || lua_type(state, 9) == LUA_TTABLE || lua_type(state, 9) == LUA_TNIL))
|
|
|
- {
|
|
|
- // Get parameter 1 off the stack.
|
|
|
- const char* param1 = gameplay::ScriptUtil::getString(2, false);
|
|
|
-
|
|
|
- // Get parameter 2 off the stack.
|
|
|
- bool param2Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Rectangle> param2 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(3, "Rectangle", true, ¶m2Valid);
|
|
|
- if (!param2Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 2 to type 'Rectangle'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 3 off the stack.
|
|
|
- bool param3Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Vector4> param3 = gameplay::ScriptUtil::getObjectPointer<Vector4>(4, "Vector4", true, ¶m3Valid);
|
|
|
- if (!param3Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 3 to type 'Vector4'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- // Get parameter 4 off the stack.
|
|
|
- unsigned int param4 = (unsigned int)luaL_checkunsigned(state, 5);
|
|
|
-
|
|
|
- // Get parameter 5 off the stack.
|
|
|
- Font::Justify param5 = (Font::Justify)lua_enumFromString_FontJustify(luaL_checkstring(state, 6));
|
|
|
-
|
|
|
- // Get parameter 6 off the stack.
|
|
|
- bool param6 = gameplay::ScriptUtil::luaCheckBool(state, 7);
|
|
|
-
|
|
|
- // Get parameter 7 off the stack.
|
|
|
- bool param7 = gameplay::ScriptUtil::luaCheckBool(state, 8);
|
|
|
-
|
|
|
- // Get parameter 8 off the stack.
|
|
|
- bool param8Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Rectangle> param8 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(9, "Rectangle", false, ¶m8Valid);
|
|
|
- if (!param8Valid)
|
|
|
- {
|
|
|
- lua_pushstring(state, "Failed to convert parameter 8 to type 'Rectangle'.");
|
|
|
- lua_error(state);
|
|
|
- }
|
|
|
-
|
|
|
- Font* instance = getInstance(state);
|
|
|
- void* returnPtr = (void*)instance->createText(param1, *param2, *param3, param4, param5, param6, param7, param8);
|
|
|
- if (returnPtr)
|
|
|
- {
|
|
|
- gameplay::ScriptUtil::LuaObject* object = (gameplay::ScriptUtil::LuaObject*)lua_newuserdata(state, sizeof(gameplay::ScriptUtil::LuaObject));
|
|
|
- object->instance = returnPtr;
|
|
|
- object->owns = false;
|
|
|
- luaL_getmetatable(state, "FontText");
|
|
|
- lua_setmetatable(state, -2);
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- lua_pushnil(state);
|
|
|
- }
|
|
|
-
|
|
|
- return 1;
|
|
|
- }
|
|
|
-
|
|
|
- lua_pushstring(state, "lua_Font_createText - Failed to match the given parameters to a valid function signature.");
|
|
|
- lua_error(state);
|
|
|
- break;
|
|
|
- }
|
|
|
- default:
|
|
|
- {
|
|
|
- lua_pushstring(state, "Invalid number of parameters (expected 4, 5, 6, 7, 8 or 9).");
|
|
|
- lua_error(state);
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
int lua_Font_drawText(lua_State* state)
|
|
|
{
|
|
|
// Get the number of parameters.
|
|
|
@@ -516,30 +131,6 @@ int lua_Font_drawText(lua_State* state)
|
|
|
// Attempt to match the parameters to a valid binding.
|
|
|
switch (paramCount)
|
|
|
{
|
|
|
- case 2:
|
|
|
- {
|
|
|
- do
|
|
|
- {
|
|
|
- if ((lua_type(state, 1) == LUA_TUSERDATA) &&
|
|
|
- (lua_type(state, 2) == LUA_TUSERDATA || lua_type(state, 2) == LUA_TTABLE || lua_type(state, 2) == LUA_TNIL))
|
|
|
- {
|
|
|
- // Get parameter 1 off the stack.
|
|
|
- bool param1Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Font::Text> param1 = gameplay::ScriptUtil::getObjectPointer<Font::Text>(2, "FontText", false, ¶m1Valid);
|
|
|
- if (!param1Valid)
|
|
|
- break;
|
|
|
-
|
|
|
- Font* instance = getInstance(state);
|
|
|
- instance->drawText(param1);
|
|
|
-
|
|
|
- return 0;
|
|
|
- }
|
|
|
- } while (0);
|
|
|
-
|
|
|
- lua_pushstring(state, "lua_Font_drawText - Failed to match the given parameters to a valid function signature.");
|
|
|
- lua_error(state);
|
|
|
- break;
|
|
|
- }
|
|
|
case 4:
|
|
|
{
|
|
|
do
|
|
|
@@ -982,12 +573,12 @@ int lua_Font_drawText(lua_State* state)
|
|
|
|
|
|
// Get parameter 8 off the stack.
|
|
|
bool param8Valid;
|
|
|
- gameplay::ScriptUtil::LuaArray<Rectangle> param8 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(9, "Rectangle", false, ¶m8Valid);
|
|
|
+ gameplay::ScriptUtil::LuaArray<Rectangle> param8 = gameplay::ScriptUtil::getObjectPointer<Rectangle>(9, "Rectangle", true, ¶m8Valid);
|
|
|
if (!param8Valid)
|
|
|
break;
|
|
|
|
|
|
Font* instance = getInstance(state);
|
|
|
- instance->drawText(param1, *param2, *param3, param4, param5, param6, param7, param8);
|
|
|
+ instance->drawText(param1, *param2, *param3, param4, param5, param6, param7, *param8);
|
|
|
|
|
|
return 0;
|
|
|
}
|