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,34 @@
/* -----------------------------------------------------------------------------
GSFramework
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */
#include "project/project_script_unit.h"
using namespace GS::Core;
//------------------------------------------------------------------------------
bool ProjectScriptUnit::Open()
{
if (!Unit::Open())
return false;
setup_callback = vm->GetObjectFromName("OnSetup", self);
update_callback = vm->GetObjectFromName("OnUpdate", self);
return true;
}
void ProjectScriptUnit::Close()
{
setup_callback = NULL;
update_callback = NULL;
Unit::Close();
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
ProjectScriptUnit::ProjectScriptUnit(GS::Script::IVM *vm) : Script::Unit(vm) {}
ProjectScriptUnit::~ProjectScriptUnit() { Close(); }
//------------------------------------------------------------------------------