mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-23 06:00:19 +02:00
Fixed compilation issues with g++
This commit is contained in:
1 parent
d4e366ee14
commit
6eb1ec3cf5
6 files changed
+74
-67
No files matched your search
@@ -70,46 +70,9 @@ static const char *typenames[] =
|
||||
"double"
|
||||
};
|
||||
|
||||
class ScriptArrayHolder {
|
||||
public:
|
||||
con_map< ScriptVariable, ScriptVariable > arrayValue;
|
||||
unsigned int refCount;
|
||||
|
||||
public:
|
||||
void Archive( Archiver& arc );
|
||||
static void Archive( Archiver& arc, ScriptArrayHolder *& arrayValue );
|
||||
};
|
||||
|
||||
class ScriptConstArrayHolder {
|
||||
public:
|
||||
ScriptVariable *constArrayValue;
|
||||
unsigned int refCount;
|
||||
unsigned int size;
|
||||
|
||||
public:
|
||||
void Archive( Archiver& arc );
|
||||
static void Archive( Archiver& arc, ScriptConstArrayHolder *& constArrayValue );
|
||||
|
||||
ScriptConstArrayHolder( ScriptVariable *pVar, unsigned int size );
|
||||
ScriptConstArrayHolder( unsigned int size );
|
||||
ScriptConstArrayHolder();
|
||||
~ScriptConstArrayHolder();
|
||||
};
|
||||
|
||||
class ScriptPointer {
|
||||
public:
|
||||
Container< ScriptVariable * > list;
|
||||
|
||||
public:
|
||||
void Archive( Archiver& arc );
|
||||
static void Archive( Archiver& arc, ScriptPointer *& pointerValue );
|
||||
|
||||
void Clear();
|
||||
|
||||
void add( ScriptVariable *var );
|
||||
void remove( ScriptVariable *var );
|
||||
void setValue( const ScriptVariable& var );
|
||||
};
|
||||
class ScriptArrayHolder;
|
||||
class ScriptConstArrayHolder;
|
||||
class ScriptPointer;
|
||||
|
||||
class ScriptVariable {
|
||||
public:
|
||||
@@ -272,6 +235,47 @@ public:
|
||||
ScriptVariable operator--( int );
|
||||
};
|
||||
|
||||
class ScriptArrayHolder {
|
||||
public:
|
||||
con_map< ScriptVariable, ScriptVariable > arrayValue;
|
||||
unsigned int refCount;
|
||||
|
||||
public:
|
||||
void Archive( Archiver& arc );
|
||||
static void Archive( Archiver& arc, ScriptArrayHolder *& arrayValue );
|
||||
};
|
||||
|
||||
class ScriptConstArrayHolder {
|
||||
public:
|
||||
ScriptVariable *constArrayValue;
|
||||
unsigned int refCount;
|
||||
unsigned int size;
|
||||
|
||||
public:
|
||||
void Archive( Archiver& arc );
|
||||
static void Archive( Archiver& arc, ScriptConstArrayHolder *& constArrayValue );
|
||||
|
||||
ScriptConstArrayHolder( ScriptVariable *pVar, unsigned int size );
|
||||
ScriptConstArrayHolder( unsigned int size );
|
||||
ScriptConstArrayHolder();
|
||||
~ScriptConstArrayHolder();
|
||||
};
|
||||
|
||||
class ScriptPointer {
|
||||
public:
|
||||
Container< ScriptVariable * > list;
|
||||
|
||||
public:
|
||||
void Archive( Archiver& arc );
|
||||
static void Archive( Archiver& arc, ScriptPointer *& pointerValue );
|
||||
|
||||
void Clear();
|
||||
|
||||
void add( ScriptVariable *var );
|
||||
void remove( ScriptVariable *var );
|
||||
void setValue( const ScriptVariable& var );
|
||||
};
|
||||
|
||||
#ifndef NO_SCRIPTENGINE
|
||||
|
||||
class ScriptVariableList : public Class
|
||||
|
||||
Reference in new issue
Block a user