commit x64 compilation from lulu cause the other branch dont seems to compile properly at home

This commit is contained in:
2026-07-17 16:08:20 +02:00
parent c0f3eeb00d
commit 0efa4ee6f7
625 changed files with 117283 additions and 4426 deletions

View File

@ -0,0 +1,27 @@
/* -----------------------------------------------------------------------------
GSFramework
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */
#include "ui/ui_item_scripted_object.h"
#include "ui/ui_item_script_unit.h"
#include "ui/ui_item.h"
#include "script/script_engine_types.h"
#include "log/log.h"
using namespace GS::Script;
using namespace GS::S2D;
//------------------------------------------------------------------------------
Unit *ItemScriptedObject::NewUnit() const
{
Unit *unit = new ItemScriptUnit(vm);
if (!unit)
__ERR__(__LOG_E__ << "Failed to allocate new item script unit.", NULL);
unit->SetInterfaceObject(item, Script::typetag_UIItem);
return unit;
}
//------------------------------------------------------------------------------