Separate objects context and interface
This commit is contained in:
parent
cf3f8dbc9c
commit
24f9d8acae
32 changed files with 362 additions and 384 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "primitives/MethodObject.hpp"
|
||||
#include "List.hpp"
|
||||
|
||||
namespace tp::obj {
|
||||
|
||||
|
|
@ -8,7 +9,7 @@ namespace tp::obj {
|
|||
struct ScriptSection {
|
||||
|
||||
List<Script*> mScripts;
|
||||
|
||||
|
||||
Script* createScript();
|
||||
void changeScript(Script** current_script, Script** new_script);
|
||||
void abandonScript(Script* script);
|
||||
|
|
@ -23,7 +24,6 @@ namespace tp::obj {
|
|||
static ScriptSection* globalHandle();
|
||||
|
||||
private:
|
||||
|
||||
static obj::save_load_callbacks slcb_script_section;
|
||||
|
||||
void delete_script(Script* script);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue