diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d6f99870..445d143fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,8 +60,8 @@ if(USE_WIIUSE) endif() # Build the angelscript library -add_subdirectory("${PROJECT_SOURCE_DIR}/lib/angelscript") -include_directories("${PROJECT_SOURCE_DIR}/lib/irrlicht/angelscript") +add_subdirectory("${PROJECT_SOURCE_DIR}/lib/angelscript/projects/cmake") +include_directories("${PROJECT_SOURCE_DIR}/lib/angelscript/include") # Set include paths include_directories(${STK_SOURCE_DIR}) @@ -244,6 +244,7 @@ target_link_libraries(supertuxkart bulletmath enet stkirrlicht + angelscript ${CURL_LIBRARIES} ${OGGVORBIS_LIBRARIES} ${IRRLICHT_XF86VM_LIBRARY} diff --git a/lib/angelscript/include/angelscript.h b/lib/angelscript/include/angelscript.h index 3efa7a12d..176260a3a 100644 --- a/lib/angelscript/include/angelscript.h +++ b/lib/angelscript/include/angelscript.h @@ -35,7 +35,8 @@ // The script engine interface // - +//TODO Add Build Target for Scripting Language and provide lib and include using that +//This file will then be removed from this directory. #ifndef ANGELSCRIPT_H #define ANGELSCRIPT_H @@ -80,253 +81,253 @@ class asILockableSharedBool; // Return codes enum asERetCodes { - asSUCCESS = 0, - asERROR = -1, - asCONTEXT_ACTIVE = -2, - asCONTEXT_NOT_FINISHED = -3, - asCONTEXT_NOT_PREPARED = -4, - asINVALID_ARG = -5, - asNO_FUNCTION = -6, - asNOT_SUPPORTED = -7, - asINVALID_NAME = -8, - asNAME_TAKEN = -9, - asINVALID_DECLARATION = -10, - asINVALID_OBJECT = -11, - asINVALID_TYPE = -12, - asALREADY_REGISTERED = -13, - asMULTIPLE_FUNCTIONS = -14, - asNO_MODULE = -15, - asNO_GLOBAL_VAR = -16, - asINVALID_CONFIGURATION = -17, - asINVALID_INTERFACE = -18, - asCANT_BIND_ALL_FUNCTIONS = -19, - asLOWER_ARRAY_DIMENSION_NOT_REGISTERED = -20, - asWRONG_CONFIG_GROUP = -21, - asCONFIG_GROUP_IS_IN_USE = -22, - asILLEGAL_BEHAVIOUR_FOR_TYPE = -23, - asWRONG_CALLING_CONV = -24, - asBUILD_IN_PROGRESS = -25, - asINIT_GLOBAL_VARS_FAILED = -26, - asOUT_OF_MEMORY = -27 + asSUCCESS = 0, + asERROR = -1, + asCONTEXT_ACTIVE = -2, + asCONTEXT_NOT_FINISHED = -3, + asCONTEXT_NOT_PREPARED = -4, + asINVALID_ARG = -5, + asNO_FUNCTION = -6, + asNOT_SUPPORTED = -7, + asINVALID_NAME = -8, + asNAME_TAKEN = -9, + asINVALID_DECLARATION = -10, + asINVALID_OBJECT = -11, + asINVALID_TYPE = -12, + asALREADY_REGISTERED = -13, + asMULTIPLE_FUNCTIONS = -14, + asNO_MODULE = -15, + asNO_GLOBAL_VAR = -16, + asINVALID_CONFIGURATION = -17, + asINVALID_INTERFACE = -18, + asCANT_BIND_ALL_FUNCTIONS = -19, + asLOWER_ARRAY_DIMENSION_NOT_REGISTERED = -20, + asWRONG_CONFIG_GROUP = -21, + asCONFIG_GROUP_IS_IN_USE = -22, + asILLEGAL_BEHAVIOUR_FOR_TYPE = -23, + asWRONG_CALLING_CONV = -24, + asBUILD_IN_PROGRESS = -25, + asINIT_GLOBAL_VARS_FAILED = -26, + asOUT_OF_MEMORY = -27 }; // Engine properties enum asEEngineProp { - asEP_ALLOW_UNSAFE_REFERENCES = 1, - asEP_OPTIMIZE_BYTECODE = 2, - asEP_COPY_SCRIPT_SECTIONS = 3, - asEP_MAX_STACK_SIZE = 4, - asEP_USE_CHARACTER_LITERALS = 5, - asEP_ALLOW_MULTILINE_STRINGS = 6, - asEP_ALLOW_IMPLICIT_HANDLE_TYPES = 7, - asEP_BUILD_WITHOUT_LINE_CUES = 8, - asEP_INIT_GLOBAL_VARS_AFTER_BUILD = 9, - asEP_REQUIRE_ENUM_SCOPE = 10, - asEP_SCRIPT_SCANNER = 11, - asEP_INCLUDE_JIT_INSTRUCTIONS = 12, - asEP_STRING_ENCODING = 13, - asEP_PROPERTY_ACCESSOR_MODE = 14, - asEP_EXPAND_DEF_ARRAY_TO_TMPL = 15, - asEP_AUTO_GARBAGE_COLLECT = 16, - asEP_DISALLOW_GLOBAL_VARS = 17, - asEP_ALWAYS_IMPL_DEFAULT_CONSTRUCT = 18, - asEP_COMPILER_WARNINGS = 19, - asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE = 20, + asEP_ALLOW_UNSAFE_REFERENCES = 1, + asEP_OPTIMIZE_BYTECODE = 2, + asEP_COPY_SCRIPT_SECTIONS = 3, + asEP_MAX_STACK_SIZE = 4, + asEP_USE_CHARACTER_LITERALS = 5, + asEP_ALLOW_MULTILINE_STRINGS = 6, + asEP_ALLOW_IMPLICIT_HANDLE_TYPES = 7, + asEP_BUILD_WITHOUT_LINE_CUES = 8, + asEP_INIT_GLOBAL_VARS_AFTER_BUILD = 9, + asEP_REQUIRE_ENUM_SCOPE = 10, + asEP_SCRIPT_SCANNER = 11, + asEP_INCLUDE_JIT_INSTRUCTIONS = 12, + asEP_STRING_ENCODING = 13, + asEP_PROPERTY_ACCESSOR_MODE = 14, + asEP_EXPAND_DEF_ARRAY_TO_TMPL = 15, + asEP_AUTO_GARBAGE_COLLECT = 16, + asEP_DISALLOW_GLOBAL_VARS = 17, + asEP_ALWAYS_IMPL_DEFAULT_CONSTRUCT = 18, + asEP_COMPILER_WARNINGS = 19, + asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE = 20, - asEP_LAST_PROPERTY + asEP_LAST_PROPERTY }; // Calling conventions enum asECallConvTypes { - asCALL_CDECL = 0, - asCALL_STDCALL = 1, - asCALL_THISCALL_ASGLOBAL = 2, - asCALL_THISCALL = 3, - asCALL_CDECL_OBJLAST = 4, - asCALL_CDECL_OBJFIRST = 5, - asCALL_GENERIC = 6 + asCALL_CDECL = 0, + asCALL_STDCALL = 1, + asCALL_THISCALL_ASGLOBAL = 2, + asCALL_THISCALL = 3, + asCALL_CDECL_OBJLAST = 4, + asCALL_CDECL_OBJFIRST = 5, + asCALL_GENERIC = 6 }; // Object type flags enum asEObjTypeFlags { - asOBJ_REF = 0x01, - asOBJ_VALUE = 0x02, - asOBJ_GC = 0x04, - asOBJ_POD = 0x08, - asOBJ_NOHANDLE = 0x10, - asOBJ_SCOPED = 0x20, - asOBJ_TEMPLATE = 0x40, - asOBJ_ASHANDLE = 0x80, - asOBJ_APP_CLASS = 0x100, - asOBJ_APP_CLASS_CONSTRUCTOR = 0x200, - asOBJ_APP_CLASS_DESTRUCTOR = 0x400, - asOBJ_APP_CLASS_ASSIGNMENT = 0x800, - asOBJ_APP_CLASS_COPY_CONSTRUCTOR = 0x1000, - asOBJ_APP_CLASS_C = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR), - asOBJ_APP_CLASS_CD = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR), - asOBJ_APP_CLASS_CA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), - asOBJ_APP_CLASS_CK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_CDA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), - asOBJ_APP_CLASS_CDK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_CAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_CDAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_D = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR), - asOBJ_APP_CLASS_DA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), - asOBJ_APP_CLASS_DK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_DAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_A = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_ASSIGNMENT), - asOBJ_APP_CLASS_AK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_K = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_PRIMITIVE = 0x2000, - asOBJ_APP_FLOAT = 0x4000, - asOBJ_APP_CLASS_ALLINTS = 0x8000, - asOBJ_APP_CLASS_ALLFLOATS = 0x10000, - asOBJ_NOCOUNT = 0x20000, - asOBJ_APP_CLASS_ALIGN8 = 0x40000, - asOBJ_MASK_VALID_FLAGS = 0x7FFFF, - asOBJ_SCRIPT_OBJECT = 0x80000, - asOBJ_SHARED = 0x100000, - asOBJ_NOINHERIT = 0x200000, - asOBJ_SCRIPT_FUNCTION = 0x400000 + asOBJ_REF = 0x01, + asOBJ_VALUE = 0x02, + asOBJ_GC = 0x04, + asOBJ_POD = 0x08, + asOBJ_NOHANDLE = 0x10, + asOBJ_SCOPED = 0x20, + asOBJ_TEMPLATE = 0x40, + asOBJ_ASHANDLE = 0x80, + asOBJ_APP_CLASS = 0x100, + asOBJ_APP_CLASS_CONSTRUCTOR = 0x200, + asOBJ_APP_CLASS_DESTRUCTOR = 0x400, + asOBJ_APP_CLASS_ASSIGNMENT = 0x800, + asOBJ_APP_CLASS_COPY_CONSTRUCTOR = 0x1000, + asOBJ_APP_CLASS_C = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR), + asOBJ_APP_CLASS_CD = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR), + asOBJ_APP_CLASS_CA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), + asOBJ_APP_CLASS_CK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), + asOBJ_APP_CLASS_CDA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), + asOBJ_APP_CLASS_CDK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), + asOBJ_APP_CLASS_CAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), + asOBJ_APP_CLASS_CDAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), + asOBJ_APP_CLASS_D = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR), + asOBJ_APP_CLASS_DA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), + asOBJ_APP_CLASS_DK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), + asOBJ_APP_CLASS_DAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), + asOBJ_APP_CLASS_A = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_ASSIGNMENT), + asOBJ_APP_CLASS_AK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), + asOBJ_APP_CLASS_K = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), + asOBJ_APP_PRIMITIVE = 0x2000, + asOBJ_APP_FLOAT = 0x4000, + asOBJ_APP_CLASS_ALLINTS = 0x8000, + asOBJ_APP_CLASS_ALLFLOATS = 0x10000, + asOBJ_NOCOUNT = 0x20000, + asOBJ_APP_CLASS_ALIGN8 = 0x40000, + asOBJ_MASK_VALID_FLAGS = 0x7FFFF, + asOBJ_SCRIPT_OBJECT = 0x80000, + asOBJ_SHARED = 0x100000, + asOBJ_NOINHERIT = 0x200000, + asOBJ_SCRIPT_FUNCTION = 0x400000 }; // Behaviours enum asEBehaviours { - // Value object memory management - asBEHAVE_CONSTRUCT, - asBEHAVE_LIST_CONSTRUCT, - asBEHAVE_DESTRUCT, + // Value object memory management + asBEHAVE_CONSTRUCT, + asBEHAVE_LIST_CONSTRUCT, + asBEHAVE_DESTRUCT, - // Reference object memory management - asBEHAVE_FACTORY, - asBEHAVE_LIST_FACTORY, - asBEHAVE_ADDREF, - asBEHAVE_RELEASE, - asBEHAVE_GET_WEAKREF_FLAG, + // Reference object memory management + asBEHAVE_FACTORY, + asBEHAVE_LIST_FACTORY, + asBEHAVE_ADDREF, + asBEHAVE_RELEASE, + asBEHAVE_GET_WEAKREF_FLAG, - // Object operators - asBEHAVE_VALUE_CAST, - asBEHAVE_IMPLICIT_VALUE_CAST, - asBEHAVE_REF_CAST, - asBEHAVE_IMPLICIT_REF_CAST, - asBEHAVE_TEMPLATE_CALLBACK, + // Object operators + asBEHAVE_VALUE_CAST, + asBEHAVE_IMPLICIT_VALUE_CAST, + asBEHAVE_REF_CAST, + asBEHAVE_IMPLICIT_REF_CAST, + asBEHAVE_TEMPLATE_CALLBACK, - // Garbage collection behaviours - asBEHAVE_FIRST_GC, - asBEHAVE_GETREFCOUNT = asBEHAVE_FIRST_GC, - asBEHAVE_SETGCFLAG, - asBEHAVE_GETGCFLAG, - asBEHAVE_ENUMREFS, - asBEHAVE_RELEASEREFS, - asBEHAVE_LAST_GC = asBEHAVE_RELEASEREFS, + // Garbage collection behaviours + asBEHAVE_FIRST_GC, + asBEHAVE_GETREFCOUNT = asBEHAVE_FIRST_GC, + asBEHAVE_SETGCFLAG, + asBEHAVE_GETGCFLAG, + asBEHAVE_ENUMREFS, + asBEHAVE_RELEASEREFS, + asBEHAVE_LAST_GC = asBEHAVE_RELEASEREFS, - asBEHAVE_MAX + asBEHAVE_MAX }; // Context states enum asEContextState { - asEXECUTION_FINISHED = 0, - asEXECUTION_SUSPENDED = 1, - asEXECUTION_ABORTED = 2, - asEXECUTION_EXCEPTION = 3, - asEXECUTION_PREPARED = 4, - asEXECUTION_UNINITIALIZED = 5, - asEXECUTION_ACTIVE = 6, - asEXECUTION_ERROR = 7 + asEXECUTION_FINISHED = 0, + asEXECUTION_SUSPENDED = 1, + asEXECUTION_ABORTED = 2, + asEXECUTION_EXCEPTION = 3, + asEXECUTION_PREPARED = 4, + asEXECUTION_UNINITIALIZED = 5, + asEXECUTION_ACTIVE = 6, + asEXECUTION_ERROR = 7 }; // Message types enum asEMsgType { - asMSGTYPE_ERROR = 0, - asMSGTYPE_WARNING = 1, - asMSGTYPE_INFORMATION = 2 + asMSGTYPE_ERROR = 0, + asMSGTYPE_WARNING = 1, + asMSGTYPE_INFORMATION = 2 }; // Garbage collector flags enum asEGCFlags { - asGC_FULL_CYCLE = 1, - asGC_ONE_STEP = 2, - asGC_DESTROY_GARBAGE = 4, - asGC_DETECT_GARBAGE = 8 + asGC_FULL_CYCLE = 1, + asGC_ONE_STEP = 2, + asGC_DESTROY_GARBAGE = 4, + asGC_DETECT_GARBAGE = 8 }; // Token classes enum asETokenClass { - asTC_UNKNOWN = 0, - asTC_KEYWORD = 1, - asTC_VALUE = 2, - asTC_IDENTIFIER = 3, - asTC_COMMENT = 4, - asTC_WHITESPACE = 5 + asTC_UNKNOWN = 0, + asTC_KEYWORD = 1, + asTC_VALUE = 2, + asTC_IDENTIFIER = 3, + asTC_COMMENT = 4, + asTC_WHITESPACE = 5 }; // Type id flags enum asETypeIdFlags { - asTYPEID_VOID = 0, - asTYPEID_BOOL = 1, - asTYPEID_INT8 = 2, - asTYPEID_INT16 = 3, - asTYPEID_INT32 = 4, - asTYPEID_INT64 = 5, - asTYPEID_UINT8 = 6, - asTYPEID_UINT16 = 7, - asTYPEID_UINT32 = 8, - asTYPEID_UINT64 = 9, - asTYPEID_FLOAT = 10, - asTYPEID_DOUBLE = 11, - asTYPEID_OBJHANDLE = 0x40000000, - asTYPEID_HANDLETOCONST = 0x20000000, - asTYPEID_MASK_OBJECT = 0x1C000000, - asTYPEID_APPOBJECT = 0x04000000, - asTYPEID_SCRIPTOBJECT = 0x08000000, - asTYPEID_TEMPLATE = 0x10000000, - asTYPEID_MASK_SEQNBR = 0x03FFFFFF + asTYPEID_VOID = 0, + asTYPEID_BOOL = 1, + asTYPEID_INT8 = 2, + asTYPEID_INT16 = 3, + asTYPEID_INT32 = 4, + asTYPEID_INT64 = 5, + asTYPEID_UINT8 = 6, + asTYPEID_UINT16 = 7, + asTYPEID_UINT32 = 8, + asTYPEID_UINT64 = 9, + asTYPEID_FLOAT = 10, + asTYPEID_DOUBLE = 11, + asTYPEID_OBJHANDLE = 0x40000000, + asTYPEID_HANDLETOCONST = 0x20000000, + asTYPEID_MASK_OBJECT = 0x1C000000, + asTYPEID_APPOBJECT = 0x04000000, + asTYPEID_SCRIPTOBJECT = 0x08000000, + asTYPEID_TEMPLATE = 0x10000000, + asTYPEID_MASK_SEQNBR = 0x03FFFFFF }; // Type modifiers enum asETypeModifiers { - asTM_NONE = 0, - asTM_INREF = 1, - asTM_OUTREF = 2, - asTM_INOUTREF = 3, - asTM_CONST = 4 + asTM_NONE = 0, + asTM_INREF = 1, + asTM_OUTREF = 2, + asTM_INOUTREF = 3, + asTM_CONST = 4 }; // GetModule flags enum asEGMFlags { - asGM_ONLY_IF_EXISTS = 0, - asGM_CREATE_IF_NOT_EXISTS = 1, - asGM_ALWAYS_CREATE = 2 + asGM_ONLY_IF_EXISTS = 0, + asGM_CREATE_IF_NOT_EXISTS = 1, + asGM_ALWAYS_CREATE = 2 }; // Compile flags enum asECompileFlags { - asCOMP_ADD_TO_MODULE = 1 + asCOMP_ADD_TO_MODULE = 1 }; // Function types enum asEFuncType { - asFUNC_DUMMY =-1, - asFUNC_SYSTEM = 0, - asFUNC_SCRIPT = 1, - asFUNC_INTERFACE = 2, - asFUNC_VIRTUAL = 3, - asFUNC_FUNCDEF = 4, - asFUNC_IMPORTED = 5, - asFUNC_DELEGATE = 6 + asFUNC_DUMMY =-1, + asFUNC_SYSTEM = 0, + asFUNC_SCRIPT = 1, + asFUNC_INTERFACE = 2, + asFUNC_VIRTUAL = 3, + asFUNC_FUNCDEF = 4, + asFUNC_IMPORTED = 5, + asFUNC_DELEGATE = 6 }; // @@ -340,12 +341,12 @@ typedef unsigned char asBYTE; typedef unsigned short asWORD; typedef unsigned int asUINT; #if (defined(_MSC_VER) && _MSC_VER <= 1200) || defined(__S3E__) - // size_t is not really correct, since it only guaranteed to be large enough to hold the segment size. - // For example, on 16bit systems the size_t may be 16bits only even if pointers are 32bit. But nobody - // is likely to use MSVC6 to compile for 16bit systems anymore, so this should be ok. - typedef size_t asPWORD; + // size_t is not really correct, since it only guaranteed to be large enough to hold the segment size. + // For example, on 16bit systems the size_t may be 16bits only even if pointers are 32bit. But nobody + // is likely to use MSVC6 to compile for 16bit systems anymore, so this should be ok. + typedef size_t asPWORD; #else - typedef uintptr_t asPWORD; + typedef uintptr_t asPWORD; #endif #ifdef __LP64__ typedef unsigned int asDWORD; @@ -364,9 +365,9 @@ typedef unsigned int asUINT; // Is the target a 64bit system? #if defined(__LP64__) || defined(__amd64__) || defined(__x86_64__) || defined(_M_X64) - #ifndef AS_64BIT_PTR - #define AS_64BIT_PTR - #endif + #ifndef AS_64BIT_PTR + #define AS_64BIT_PTR + #endif #endif typedef void (*asFUNCTION_t)(); @@ -401,29 +402,29 @@ typedef void (asCUnknownClass::*asMETHOD_t)(); struct asSFuncPtr { - asSFuncPtr(asBYTE f = 0) - { - for( size_t n = 0; n < sizeof(ptr.dummy); n++ ) - ptr.dummy[n] = 0; - flag = f; - } + asSFuncPtr(asBYTE f = 0) + { + for( size_t n = 0; n < sizeof(ptr.dummy); n++ ) + ptr.dummy[n] = 0; + flag = f; + } - void CopyMethodPtr(const void *mthdPtr, size_t size) - { - for( size_t n = 0; n < size; n++ ) - ptr.dummy[n] = reinterpret_cast(mthdPtr)[n]; - } + void CopyMethodPtr(const void *mthdPtr, size_t size) + { + for( size_t n = 0; n < size; n++ ) + ptr.dummy[n] = reinterpret_cast(mthdPtr)[n]; + } - union - { - // The largest known method point is 20 bytes (MSVC 64bit), - // but with 8byte alignment this becomes 24 bytes. So we need - // to be able to store at least that much. - char dummy[25]; - struct {asMETHOD_t mthd; char dummy[25-sizeof(asMETHOD_t)];} m; - struct {asFUNCTION_t func; char dummy[25-sizeof(asFUNCTION_t)];} f; - } ptr; - asBYTE flag; // 1 = generic, 2 = global func, 3 = method + union + { + // The largest known method point is 20 bytes (MSVC 64bit), + // but with 8byte alignment this becomes 24 bytes. So we need + // to be able to store at least that much. + char dummy[25]; + struct {asMETHOD_t mthd; char dummy[25-sizeof(asMETHOD_t)];} m; + struct {asFUNCTION_t func; char dummy[25-sizeof(asFUNCTION_t)];} f; + } ptr; + asBYTE flag; // 1 = generic, 2 = global func, 3 = method }; #if defined(__BORLANDC__) @@ -452,30 +453,30 @@ template struct asSFuncPtr { - asSFuncPtr(asBYTE f) - { - for( int n = 0; n < sizeof(ptr.dummy); n++ ) - ptr.dummy[n] = 0; - flag = f; - } + asSFuncPtr(asBYTE f) + { + for( int n = 0; n < sizeof(ptr.dummy); n++ ) + ptr.dummy[n] = 0; + flag = f; + } - union - { - char dummy[25]; // largest known class method pointer - struct {asFUNCTION_t func; char dummy[25-sizeof(asFUNCTION_t)];} f; - } ptr; - asBYTE flag; // 1 = generic, 2 = global func + union + { + char dummy[25]; // largest known class method pointer + struct {asFUNCTION_t func; char dummy[25-sizeof(asFUNCTION_t)];} f; + } ptr; + asBYTE flag; // 1 = generic, 2 = global func }; #endif struct asSMessageInfo { - const char *section; - int row; - int col; - asEMsgType type; - const char *message; + const char *section; + int row; + int col; + asEMsgType type; + const char *message; }; @@ -508,32 +509,32 @@ struct asSMessageInfo #ifndef ANGELSCRIPT_DLL_MANUAL_IMPORT extern "C" { - // Engine - AS_API asIScriptEngine *asCreateScriptEngine(asDWORD version); - AS_API const char *asGetLibraryVersion(); - AS_API const char *asGetLibraryOptions(); + // Engine + AS_API asIScriptEngine *asCreateScriptEngine(asDWORD version); + AS_API const char *asGetLibraryVersion(); + AS_API const char *asGetLibraryOptions(); - // Context - AS_API asIScriptContext *asGetActiveContext(); + // Context + AS_API asIScriptContext *asGetActiveContext(); - // Thread support - AS_API int asPrepareMultithread(asIThreadManager *externalMgr = 0); - AS_API void asUnprepareMultithread(); - AS_API asIThreadManager *asGetThreadManager(); - AS_API void asAcquireExclusiveLock(); - AS_API void asReleaseExclusiveLock(); - AS_API void asAcquireSharedLock(); - AS_API void asReleaseSharedLock(); - AS_API int asAtomicInc(int &value); - AS_API int asAtomicDec(int &value); - AS_API int asThreadCleanup(); + // Thread support + AS_API int asPrepareMultithread(asIThreadManager *externalMgr = 0); + AS_API void asUnprepareMultithread(); + AS_API asIThreadManager *asGetThreadManager(); + AS_API void asAcquireExclusiveLock(); + AS_API void asReleaseExclusiveLock(); + AS_API void asAcquireSharedLock(); + AS_API void asReleaseSharedLock(); + AS_API int asAtomicInc(int &value); + AS_API int asAtomicDec(int &value); + AS_API int asThreadCleanup(); - // Memory management - AS_API int asSetGlobalMemoryFunctions(asALLOCFUNC_t allocFunc, asFREEFUNC_t freeFunc); - AS_API int asResetGlobalMemoryFunctions(); + // Memory management + AS_API int asSetGlobalMemoryFunctions(asALLOCFUNC_t allocFunc, asFREEFUNC_t freeFunc); + AS_API int asResetGlobalMemoryFunctions(); - // Auxiliary - AS_API asILockableSharedBool *asCreateLockableSharedBool(); + // Auxiliary + AS_API asILockableSharedBool *asCreateLockableSharedBool(); } #endif // ANGELSCRIPT_DLL_MANUAL_IMPORT @@ -542,504 +543,504 @@ extern "C" class asIScriptEngine { public: - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; + // Memory management + virtual int AddRef() const = 0; + virtual int Release() const = 0; - // Engine properties - virtual int SetEngineProperty(asEEngineProp property, asPWORD value) = 0; - virtual asPWORD GetEngineProperty(asEEngineProp property) const = 0; + // Engine properties + virtual int SetEngineProperty(asEEngineProp property, asPWORD value) = 0; + virtual asPWORD GetEngineProperty(asEEngineProp property) const = 0; - // Compiler messages - virtual int SetMessageCallback(const asSFuncPtr &callback, void *obj, asDWORD callConv) = 0; - virtual int ClearMessageCallback() = 0; - virtual int WriteMessage(const char *section, int row, int col, asEMsgType type, const char *message) = 0; + // Compiler messages + virtual int SetMessageCallback(const asSFuncPtr &callback, void *obj, asDWORD callConv) = 0; + virtual int ClearMessageCallback() = 0; + virtual int WriteMessage(const char *section, int row, int col, asEMsgType type, const char *message) = 0; - // JIT Compiler - virtual int SetJITCompiler(asIJITCompiler *compiler) = 0; - virtual asIJITCompiler *GetJITCompiler() const = 0; + // JIT Compiler + virtual int SetJITCompiler(asIJITCompiler *compiler) = 0; + virtual asIJITCompiler *GetJITCompiler() const = 0; - // Global functions - virtual int RegisterGlobalFunction(const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv, void *objForThiscall = 0) = 0; - virtual asUINT GetGlobalFunctionCount() const = 0; - virtual asIScriptFunction *GetGlobalFunctionByIndex(asUINT index) const = 0; - virtual asIScriptFunction *GetGlobalFunctionByDecl(const char *declaration) const = 0; + // Global functions + virtual int RegisterGlobalFunction(const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv, void *objForThiscall = 0) = 0; + virtual asUINT GetGlobalFunctionCount() const = 0; + virtual asIScriptFunction *GetGlobalFunctionByIndex(asUINT index) const = 0; + virtual asIScriptFunction *GetGlobalFunctionByDecl(const char *declaration) const = 0; - // Global properties - virtual int RegisterGlobalProperty(const char *declaration, void *pointer) = 0; - virtual asUINT GetGlobalPropertyCount() const = 0; - virtual int GetGlobalPropertyByIndex(asUINT index, const char **name, const char **nameSpace = 0, int *typeId = 0, bool *isConst = 0, const char **configGroup = 0, void **pointer = 0, asDWORD *accessMask = 0) const = 0; - virtual int GetGlobalPropertyIndexByName(const char *name) const = 0; - virtual int GetGlobalPropertyIndexByDecl(const char *decl) const = 0; + // Global properties + virtual int RegisterGlobalProperty(const char *declaration, void *pointer) = 0; + virtual asUINT GetGlobalPropertyCount() const = 0; + virtual int GetGlobalPropertyByIndex(asUINT index, const char **name, const char **nameSpace = 0, int *typeId = 0, bool *isConst = 0, const char **configGroup = 0, void **pointer = 0, asDWORD *accessMask = 0) const = 0; + virtual int GetGlobalPropertyIndexByName(const char *name) const = 0; + virtual int GetGlobalPropertyIndexByDecl(const char *decl) const = 0; - // Object types - virtual int RegisterObjectType(const char *obj, int byteSize, asDWORD flags) = 0; - virtual int RegisterObjectProperty(const char *obj, const char *declaration, int byteOffset) = 0; - virtual int RegisterObjectMethod(const char *obj, const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv) = 0; - virtual int RegisterObjectBehaviour(const char *obj, asEBehaviours behaviour, const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv, void *objForThiscall = 0) = 0; - virtual int RegisterInterface(const char *name) = 0; - virtual int RegisterInterfaceMethod(const char *intf, const char *declaration) = 0; - virtual asUINT GetObjectTypeCount() const = 0; - virtual asIObjectType *GetObjectTypeByIndex(asUINT index) const = 0; - virtual asIObjectType *GetObjectTypeByName(const char *name) const = 0; + // Object types + virtual int RegisterObjectType(const char *obj, int byteSize, asDWORD flags) = 0; + virtual int RegisterObjectProperty(const char *obj, const char *declaration, int byteOffset) = 0; + virtual int RegisterObjectMethod(const char *obj, const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv) = 0; + virtual int RegisterObjectBehaviour(const char *obj, asEBehaviours behaviour, const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv, void *objForThiscall = 0) = 0; + virtual int RegisterInterface(const char *name) = 0; + virtual int RegisterInterfaceMethod(const char *intf, const char *declaration) = 0; + virtual asUINT GetObjectTypeCount() const = 0; + virtual asIObjectType *GetObjectTypeByIndex(asUINT index) const = 0; + virtual asIObjectType *GetObjectTypeByName(const char *name) const = 0; - // String factory - virtual int RegisterStringFactory(const char *datatype, const asSFuncPtr &factoryFunc, asDWORD callConv, void *objForThiscall = 0) = 0; - virtual int GetStringFactoryReturnTypeId() const = 0; + // String factory + virtual int RegisterStringFactory(const char *datatype, const asSFuncPtr &factoryFunc, asDWORD callConv, void *objForThiscall = 0) = 0; + virtual int GetStringFactoryReturnTypeId() const = 0; - // Default array type - virtual int RegisterDefaultArrayType(const char *type) = 0; - virtual int GetDefaultArrayTypeId() const = 0; + // Default array type + virtual int RegisterDefaultArrayType(const char *type) = 0; + virtual int GetDefaultArrayTypeId() const = 0; - // Enums - virtual int RegisterEnum(const char *type) = 0; - virtual int RegisterEnumValue(const char *type, const char *name, int value) = 0; - virtual asUINT GetEnumCount() const = 0; - virtual const char *GetEnumByIndex(asUINT index, int *enumTypeId, const char **nameSpace = 0, const char **configGroup = 0, asDWORD *accessMask = 0) const = 0; - virtual int GetEnumValueCount(int enumTypeId) const = 0; - virtual const char *GetEnumValueByIndex(int enumTypeId, asUINT index, int *outValue) const = 0; + // Enums + virtual int RegisterEnum(const char *type) = 0; + virtual int RegisterEnumValue(const char *type, const char *name, int value) = 0; + virtual asUINT GetEnumCount() const = 0; + virtual const char *GetEnumByIndex(asUINT index, int *enumTypeId, const char **nameSpace = 0, const char **configGroup = 0, asDWORD *accessMask = 0) const = 0; + virtual int GetEnumValueCount(int enumTypeId) const = 0; + virtual const char *GetEnumValueByIndex(int enumTypeId, asUINT index, int *outValue) const = 0; - // Funcdefs - virtual int RegisterFuncdef(const char *decl) = 0; - virtual asUINT GetFuncdefCount() const = 0; - virtual asIScriptFunction *GetFuncdefByIndex(asUINT index) const = 0; + // Funcdefs + virtual int RegisterFuncdef(const char *decl) = 0; + virtual asUINT GetFuncdefCount() const = 0; + virtual asIScriptFunction *GetFuncdefByIndex(asUINT index) const = 0; - // Typedefs - virtual int RegisterTypedef(const char *type, const char *decl) = 0; - virtual asUINT GetTypedefCount() const = 0; - virtual const char *GetTypedefByIndex(asUINT index, int *typeId, const char **nameSpace = 0, const char **configGroup = 0, asDWORD *accessMask = 0) const = 0; + // Typedefs + virtual int RegisterTypedef(const char *type, const char *decl) = 0; + virtual asUINT GetTypedefCount() const = 0; + virtual const char *GetTypedefByIndex(asUINT index, int *typeId, const char **nameSpace = 0, const char **configGroup = 0, asDWORD *accessMask = 0) const = 0; - // Configuration groups - virtual int BeginConfigGroup(const char *groupName) = 0; - virtual int EndConfigGroup() = 0; - virtual int RemoveConfigGroup(const char *groupName) = 0; - virtual asDWORD SetDefaultAccessMask(asDWORD defaultMask) = 0; - virtual int SetDefaultNamespace(const char *nameSpace) = 0; - virtual const char *GetDefaultNamespace() const = 0; + // Configuration groups + virtual int BeginConfigGroup(const char *groupName) = 0; + virtual int EndConfigGroup() = 0; + virtual int RemoveConfigGroup(const char *groupName) = 0; + virtual asDWORD SetDefaultAccessMask(asDWORD defaultMask) = 0; + virtual int SetDefaultNamespace(const char *nameSpace) = 0; + virtual const char *GetDefaultNamespace() const = 0; - // Script modules - virtual asIScriptModule *GetModule(const char *module, asEGMFlags flag = asGM_ONLY_IF_EXISTS) = 0; - virtual int DiscardModule(const char *module) = 0; - virtual asUINT GetModuleCount() const = 0; - virtual asIScriptModule *GetModuleByIndex(asUINT index) const = 0; + // Script modules + virtual asIScriptModule *GetModule(const char *module, asEGMFlags flag = asGM_ONLY_IF_EXISTS) = 0; + virtual int DiscardModule(const char *module) = 0; + virtual asUINT GetModuleCount() const = 0; + virtual asIScriptModule *GetModuleByIndex(asUINT index) const = 0; - // Script functions - virtual asIScriptFunction *GetFunctionById(int funcId) const = 0; - virtual asIScriptFunction *GetFuncDefFromTypeId(int typeId) const = 0; + // Script functions + virtual asIScriptFunction *GetFunctionById(int funcId) const = 0; + virtual asIScriptFunction *GetFuncDefFromTypeId(int typeId) const = 0; - // Type identification - virtual asIObjectType *GetObjectTypeById(int typeId) const = 0; - virtual int GetTypeIdByDecl(const char *decl) const = 0; - virtual const char *GetTypeDeclaration(int typeId, bool includeNamespace = false) const = 0; - virtual int GetSizeOfPrimitiveType(int typeId) const = 0; + // Type identification + virtual asIObjectType *GetObjectTypeById(int typeId) const = 0; + virtual int GetTypeIdByDecl(const char *decl) const = 0; + virtual const char *GetTypeDeclaration(int typeId, bool includeNamespace = false) const = 0; + virtual int GetSizeOfPrimitiveType(int typeId) const = 0; - // Script execution - virtual asIScriptContext *CreateContext() = 0; + // Script execution + virtual asIScriptContext *CreateContext() = 0; #ifdef AS_DEPRECATED - // Deprecated since 2.27.0, 2013-07-18 - virtual void *CreateScriptObject(int typeId) = 0; - virtual void *CreateScriptObjectCopy(void *obj, int typeId) = 0; - virtual void *CreateUninitializedScriptObject(int typeId) = 0; - virtual void AssignScriptObject(void *dstObj, void *srcObj, int typeId) = 0; - virtual void ReleaseScriptObject(void *obj, int typeId) = 0; - virtual void AddRefScriptObject(void *obj, int typeId) = 0; + // Deprecated since 2.27.0, 2013-07-18 + virtual void *CreateScriptObject(int typeId) = 0; + virtual void *CreateScriptObjectCopy(void *obj, int typeId) = 0; + virtual void *CreateUninitializedScriptObject(int typeId) = 0; + virtual void AssignScriptObject(void *dstObj, void *srcObj, int typeId) = 0; + virtual void ReleaseScriptObject(void *obj, int typeId) = 0; + virtual void AddRefScriptObject(void *obj, int typeId) = 0; #endif - virtual void *CreateScriptObject(const asIObjectType *type) = 0; - virtual void *CreateScriptObjectCopy(void *obj, const asIObjectType *type) = 0; - virtual void *CreateUninitializedScriptObject(const asIObjectType *type) = 0; - virtual asIScriptFunction *CreateDelegate(asIScriptFunction *func, void *obj) = 0; - virtual void AssignScriptObject(void *dstObj, void *srcObj, const asIObjectType *type) = 0; - virtual void ReleaseScriptObject(void *obj, const asIObjectType *type) = 0; - virtual void AddRefScriptObject(void *obj, const asIObjectType *type) = 0; - virtual bool IsHandleCompatibleWithObject(void *obj, int objTypeId, int handleTypeId) const = 0; - virtual asILockableSharedBool *GetWeakRefFlagOfScriptObject(void *obj, const asIObjectType *type) const = 0; + virtual void *CreateScriptObject(const asIObjectType *type) = 0; + virtual void *CreateScriptObjectCopy(void *obj, const asIObjectType *type) = 0; + virtual void *CreateUninitializedScriptObject(const asIObjectType *type) = 0; + virtual asIScriptFunction *CreateDelegate(asIScriptFunction *func, void *obj) = 0; + virtual void AssignScriptObject(void *dstObj, void *srcObj, const asIObjectType *type) = 0; + virtual void ReleaseScriptObject(void *obj, const asIObjectType *type) = 0; + virtual void AddRefScriptObject(void *obj, const asIObjectType *type) = 0; + virtual bool IsHandleCompatibleWithObject(void *obj, int objTypeId, int handleTypeId) const = 0; + virtual asILockableSharedBool *GetWeakRefFlagOfScriptObject(void *obj, const asIObjectType *type) const = 0; - // String interpretation - virtual asETokenClass ParseToken(const char *string, size_t stringLength = 0, int *tokenLength = 0) const = 0; + // String interpretation + virtual asETokenClass ParseToken(const char *string, size_t stringLength = 0, int *tokenLength = 0) const = 0; - // Garbage collection - virtual int GarbageCollect(asDWORD flags = asGC_FULL_CYCLE) = 0; - virtual void GetGCStatistics(asUINT *currentSize, asUINT *totalDestroyed = 0, asUINT *totalDetected = 0, asUINT *newObjects = 0, asUINT *totalNewDestroyed = 0) const = 0; - virtual int NotifyGarbageCollectorOfNewObject(void *obj, asIObjectType *type) = 0; - virtual int GetObjectInGC(asUINT idx, asUINT *seqNbr = 0, void **obj = 0, asIObjectType **type = 0) = 0; - virtual void GCEnumCallback(void *reference) = 0; + // Garbage collection + virtual int GarbageCollect(asDWORD flags = asGC_FULL_CYCLE) = 0; + virtual void GetGCStatistics(asUINT *currentSize, asUINT *totalDestroyed = 0, asUINT *totalDetected = 0, asUINT *newObjects = 0, asUINT *totalNewDestroyed = 0) const = 0; + virtual int NotifyGarbageCollectorOfNewObject(void *obj, asIObjectType *type) = 0; + virtual int GetObjectInGC(asUINT idx, asUINT *seqNbr = 0, void **obj = 0, asIObjectType **type = 0) = 0; + virtual void GCEnumCallback(void *reference) = 0; - // User data - virtual void *SetUserData(void *data, asPWORD type = 0) = 0; - virtual void *GetUserData(asPWORD type = 0) const = 0; - virtual void SetEngineUserDataCleanupCallback(asCLEANENGINEFUNC_t callback, asPWORD type = 0) = 0; - virtual void SetModuleUserDataCleanupCallback(asCLEANMODULEFUNC_t callback) = 0; - virtual void SetContextUserDataCleanupCallback(asCLEANCONTEXTFUNC_t callback) = 0; - virtual void SetFunctionUserDataCleanupCallback(asCLEANFUNCTIONFUNC_t callback) = 0; - virtual void SetObjectTypeUserDataCleanupCallback(asCLEANOBJECTTYPEFUNC_t callback, asPWORD type = 0) = 0; + // User data + virtual void *SetUserData(void *data, asPWORD type = 0) = 0; + virtual void *GetUserData(asPWORD type = 0) const = 0; + virtual void SetEngineUserDataCleanupCallback(asCLEANENGINEFUNC_t callback, asPWORD type = 0) = 0; + virtual void SetModuleUserDataCleanupCallback(asCLEANMODULEFUNC_t callback) = 0; + virtual void SetContextUserDataCleanupCallback(asCLEANCONTEXTFUNC_t callback) = 0; + virtual void SetFunctionUserDataCleanupCallback(asCLEANFUNCTIONFUNC_t callback) = 0; + virtual void SetObjectTypeUserDataCleanupCallback(asCLEANOBJECTTYPEFUNC_t callback, asPWORD type = 0) = 0; protected: - virtual ~asIScriptEngine() {} + virtual ~asIScriptEngine() {} }; class asIThreadManager { protected: - virtual ~asIThreadManager() {} + virtual ~asIThreadManager() {} }; class asIScriptModule { public: - virtual asIScriptEngine *GetEngine() const = 0; - virtual void SetName(const char *name) = 0; - virtual const char *GetName() const = 0; - virtual void Discard() = 0; + virtual asIScriptEngine *GetEngine() const = 0; + virtual void SetName(const char *name) = 0; + virtual const char *GetName() const = 0; + virtual void Discard() = 0; - // Compilation - virtual int AddScriptSection(const char *name, const char *code, size_t codeLength = 0, int lineOffset = 0) = 0; - virtual int Build() = 0; - virtual int CompileFunction(const char *sectionName, const char *code, int lineOffset, asDWORD compileFlags, asIScriptFunction **outFunc) = 0; - virtual int CompileGlobalVar(const char *sectionName, const char *code, int lineOffset) = 0; - virtual asDWORD SetAccessMask(asDWORD accessMask) = 0; - virtual int SetDefaultNamespace(const char *nameSpace) = 0; - virtual const char *GetDefaultNamespace() const = 0; + // Compilation + virtual int AddScriptSection(const char *name, const char *code, size_t codeLength = 0, int lineOffset = 0) = 0; + virtual int Build() = 0; + virtual int CompileFunction(const char *sectionName, const char *code, int lineOffset, asDWORD compileFlags, asIScriptFunction **outFunc) = 0; + virtual int CompileGlobalVar(const char *sectionName, const char *code, int lineOffset) = 0; + virtual asDWORD SetAccessMask(asDWORD accessMask) = 0; + virtual int SetDefaultNamespace(const char *nameSpace) = 0; + virtual const char *GetDefaultNamespace() const = 0; - // Functions - virtual asUINT GetFunctionCount() const = 0; - virtual asIScriptFunction *GetFunctionByIndex(asUINT index) const = 0; - virtual asIScriptFunction *GetFunctionByDecl(const char *decl) const = 0; - virtual asIScriptFunction *GetFunctionByName(const char *name) const = 0; - virtual int RemoveFunction(asIScriptFunction *func) = 0; + // Functions + virtual asUINT GetFunctionCount() const = 0; + virtual asIScriptFunction *GetFunctionByIndex(asUINT index) const = 0; + virtual asIScriptFunction *GetFunctionByDecl(const char *decl) const = 0; + virtual asIScriptFunction *GetFunctionByName(const char *name) const = 0; + virtual int RemoveFunction(asIScriptFunction *func) = 0; - // Global variables - virtual int ResetGlobalVars(asIScriptContext *ctx = 0) = 0; - virtual asUINT GetGlobalVarCount() const = 0; - virtual int GetGlobalVarIndexByName(const char *name) const = 0; - virtual int GetGlobalVarIndexByDecl(const char *decl) const = 0; - virtual const char *GetGlobalVarDeclaration(asUINT index, bool includeNamespace = false) const = 0; - virtual int GetGlobalVar(asUINT index, const char **name, const char **nameSpace = 0, int *typeId = 0, bool *isConst = 0) const = 0; - virtual void *GetAddressOfGlobalVar(asUINT index) = 0; - virtual int RemoveGlobalVar(asUINT index) = 0; + // Global variables + virtual int ResetGlobalVars(asIScriptContext *ctx = 0) = 0; + virtual asUINT GetGlobalVarCount() const = 0; + virtual int GetGlobalVarIndexByName(const char *name) const = 0; + virtual int GetGlobalVarIndexByDecl(const char *decl) const = 0; + virtual const char *GetGlobalVarDeclaration(asUINT index, bool includeNamespace = false) const = 0; + virtual int GetGlobalVar(asUINT index, const char **name, const char **nameSpace = 0, int *typeId = 0, bool *isConst = 0) const = 0; + virtual void *GetAddressOfGlobalVar(asUINT index) = 0; + virtual int RemoveGlobalVar(asUINT index) = 0; - // Type identification - virtual asUINT GetObjectTypeCount() const = 0; - virtual asIObjectType *GetObjectTypeByIndex(asUINT index) const = 0; - virtual asIObjectType *GetObjectTypeByName(const char *name) const = 0; - virtual int GetTypeIdByDecl(const char *decl) const = 0; + // Type identification + virtual asUINT GetObjectTypeCount() const = 0; + virtual asIObjectType *GetObjectTypeByIndex(asUINT index) const = 0; + virtual asIObjectType *GetObjectTypeByName(const char *name) const = 0; + virtual int GetTypeIdByDecl(const char *decl) const = 0; - // Enums - virtual asUINT GetEnumCount() const = 0; - virtual const char *GetEnumByIndex(asUINT index, int *enumTypeId, const char **nameSpace = 0) const = 0; - virtual int GetEnumValueCount(int enumTypeId) const = 0; - virtual const char *GetEnumValueByIndex(int enumTypeId, asUINT index, int *outValue) const = 0; + // Enums + virtual asUINT GetEnumCount() const = 0; + virtual const char *GetEnumByIndex(asUINT index, int *enumTypeId, const char **nameSpace = 0) const = 0; + virtual int GetEnumValueCount(int enumTypeId) const = 0; + virtual const char *GetEnumValueByIndex(int enumTypeId, asUINT index, int *outValue) const = 0; - // Typedefs - virtual asUINT GetTypedefCount() const = 0; - virtual const char *GetTypedefByIndex(asUINT index, int *typeId, const char **nameSpace = 0) const = 0; + // Typedefs + virtual asUINT GetTypedefCount() const = 0; + virtual const char *GetTypedefByIndex(asUINT index, int *typeId, const char **nameSpace = 0) const = 0; - // Dynamic binding between modules - virtual asUINT GetImportedFunctionCount() const = 0; - virtual int GetImportedFunctionIndexByDecl(const char *decl) const = 0; - virtual const char *GetImportedFunctionDeclaration(asUINT importIndex) const = 0; - virtual const char *GetImportedFunctionSourceModule(asUINT importIndex) const = 0; - virtual int BindImportedFunction(asUINT importIndex, asIScriptFunction *func) = 0; - virtual int UnbindImportedFunction(asUINT importIndex) = 0; - virtual int BindAllImportedFunctions() = 0; - virtual int UnbindAllImportedFunctions() = 0; + // Dynamic binding between modules + virtual asUINT GetImportedFunctionCount() const = 0; + virtual int GetImportedFunctionIndexByDecl(const char *decl) const = 0; + virtual const char *GetImportedFunctionDeclaration(asUINT importIndex) const = 0; + virtual const char *GetImportedFunctionSourceModule(asUINT importIndex) const = 0; + virtual int BindImportedFunction(asUINT importIndex, asIScriptFunction *func) = 0; + virtual int UnbindImportedFunction(asUINT importIndex) = 0; + virtual int BindAllImportedFunctions() = 0; + virtual int UnbindAllImportedFunctions() = 0; - // Bytecode saving and loading - virtual int SaveByteCode(asIBinaryStream *out, bool stripDebugInfo = false) const = 0; - virtual int LoadByteCode(asIBinaryStream *in, bool *wasDebugInfoStripped = 0) = 0; + // Bytecode saving and loading + virtual int SaveByteCode(asIBinaryStream *out, bool stripDebugInfo = false) const = 0; + virtual int LoadByteCode(asIBinaryStream *in, bool *wasDebugInfoStripped = 0) = 0; - // User data - virtual void *SetUserData(void *data) = 0; - virtual void *GetUserData() const = 0; + // User data + virtual void *SetUserData(void *data) = 0; + virtual void *GetUserData() const = 0; protected: - virtual ~asIScriptModule() {} + virtual ~asIScriptModule() {} }; class asIScriptContext { public: - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; + // Memory management + virtual int AddRef() const = 0; + virtual int Release() const = 0; - // Miscellaneous - virtual asIScriptEngine *GetEngine() const = 0; + // Miscellaneous + virtual asIScriptEngine *GetEngine() const = 0; - // Execution - virtual int Prepare(asIScriptFunction *func) = 0; - virtual int Unprepare() = 0; - virtual int Execute() = 0; - virtual int Abort() = 0; - virtual int Suspend() = 0; - virtual asEContextState GetState() const = 0; - virtual int PushState() = 0; - virtual int PopState() = 0; - virtual bool IsNested(asUINT *nestCount = 0) const = 0; + // Execution + virtual int Prepare(asIScriptFunction *func) = 0; + virtual int Unprepare() = 0; + virtual int Execute() = 0; + virtual int Abort() = 0; + virtual int Suspend() = 0; + virtual asEContextState GetState() const = 0; + virtual int PushState() = 0; + virtual int PopState() = 0; + virtual bool IsNested(asUINT *nestCount = 0) const = 0; - // Object pointer for calling class methods - virtual int SetObject(void *obj) = 0; + // Object pointer for calling class methods + virtual int SetObject(void *obj) = 0; - // Arguments - virtual int SetArgByte(asUINT arg, asBYTE value) = 0; - virtual int SetArgWord(asUINT arg, asWORD value) = 0; - virtual int SetArgDWord(asUINT arg, asDWORD value) = 0; - virtual int SetArgQWord(asUINT arg, asQWORD value) = 0; - virtual int SetArgFloat(asUINT arg, float value) = 0; - virtual int SetArgDouble(asUINT arg, double value) = 0; - virtual int SetArgAddress(asUINT arg, void *addr) = 0; - virtual int SetArgObject(asUINT arg, void *obj) = 0; - virtual void *GetAddressOfArg(asUINT arg) = 0; + // Arguments + virtual int SetArgByte(asUINT arg, asBYTE value) = 0; + virtual int SetArgWord(asUINT arg, asWORD value) = 0; + virtual int SetArgDWord(asUINT arg, asDWORD value) = 0; + virtual int SetArgQWord(asUINT arg, asQWORD value) = 0; + virtual int SetArgFloat(asUINT arg, float value) = 0; + virtual int SetArgDouble(asUINT arg, double value) = 0; + virtual int SetArgAddress(asUINT arg, void *addr) = 0; + virtual int SetArgObject(asUINT arg, void *obj) = 0; + virtual void *GetAddressOfArg(asUINT arg) = 0; - // Return value - virtual asBYTE GetReturnByte() = 0; - virtual asWORD GetReturnWord() = 0; - virtual asDWORD GetReturnDWord() = 0; - virtual asQWORD GetReturnQWord() = 0; - virtual float GetReturnFloat() = 0; - virtual double GetReturnDouble() = 0; - virtual void *GetReturnAddress() = 0; - virtual void *GetReturnObject() = 0; - virtual void *GetAddressOfReturnValue() = 0; + // Return value + virtual asBYTE GetReturnByte() = 0; + virtual asWORD GetReturnWord() = 0; + virtual asDWORD GetReturnDWord() = 0; + virtual asQWORD GetReturnQWord() = 0; + virtual float GetReturnFloat() = 0; + virtual double GetReturnDouble() = 0; + virtual void *GetReturnAddress() = 0; + virtual void *GetReturnObject() = 0; + virtual void *GetAddressOfReturnValue() = 0; - // Exception handling - virtual int SetException(const char *string) = 0; - virtual int GetExceptionLineNumber(int *column = 0, const char **sectionName = 0) = 0; - virtual asIScriptFunction *GetExceptionFunction() = 0; - virtual const char * GetExceptionString() = 0; - virtual int SetExceptionCallback(asSFuncPtr callback, void *obj, int callConv) = 0; - virtual void ClearExceptionCallback() = 0; + // Exception handling + virtual int SetException(const char *string) = 0; + virtual int GetExceptionLineNumber(int *column = 0, const char **sectionName = 0) = 0; + virtual asIScriptFunction *GetExceptionFunction() = 0; + virtual const char * GetExceptionString() = 0; + virtual int SetExceptionCallback(asSFuncPtr callback, void *obj, int callConv) = 0; + virtual void ClearExceptionCallback() = 0; - // Debugging - virtual int SetLineCallback(asSFuncPtr callback, void *obj, int callConv) = 0; - virtual void ClearLineCallback() = 0; - virtual asUINT GetCallstackSize() const = 0; - virtual asIScriptFunction *GetFunction(asUINT stackLevel = 0) = 0; - virtual int GetLineNumber(asUINT stackLevel = 0, int *column = 0, const char **sectionName = 0) = 0; - virtual int GetVarCount(asUINT stackLevel = 0) = 0; - virtual const char *GetVarName(asUINT varIndex, asUINT stackLevel = 0) = 0; - virtual const char *GetVarDeclaration(asUINT varIndex, asUINT stackLevel = 0, bool includeNamespace = false) = 0; - virtual int GetVarTypeId(asUINT varIndex, asUINT stackLevel = 0) = 0; - virtual void *GetAddressOfVar(asUINT varIndex, asUINT stackLevel = 0) = 0; - virtual bool IsVarInScope(asUINT varIndex, asUINT stackLevel = 0) = 0; - virtual int GetThisTypeId(asUINT stackLevel = 0) = 0; - virtual void *GetThisPointer(asUINT stackLevel = 0) = 0; - virtual asIScriptFunction *GetSystemFunction() = 0; + // Debugging + virtual int SetLineCallback(asSFuncPtr callback, void *obj, int callConv) = 0; + virtual void ClearLineCallback() = 0; + virtual asUINT GetCallstackSize() const = 0; + virtual asIScriptFunction *GetFunction(asUINT stackLevel = 0) = 0; + virtual int GetLineNumber(asUINT stackLevel = 0, int *column = 0, const char **sectionName = 0) = 0; + virtual int GetVarCount(asUINT stackLevel = 0) = 0; + virtual const char *GetVarName(asUINT varIndex, asUINT stackLevel = 0) = 0; + virtual const char *GetVarDeclaration(asUINT varIndex, asUINT stackLevel = 0, bool includeNamespace = false) = 0; + virtual int GetVarTypeId(asUINT varIndex, asUINT stackLevel = 0) = 0; + virtual void *GetAddressOfVar(asUINT varIndex, asUINT stackLevel = 0) = 0; + virtual bool IsVarInScope(asUINT varIndex, asUINT stackLevel = 0) = 0; + virtual int GetThisTypeId(asUINT stackLevel = 0) = 0; + virtual void *GetThisPointer(asUINT stackLevel = 0) = 0; + virtual asIScriptFunction *GetSystemFunction() = 0; - // User data - virtual void *SetUserData(void *data) = 0; - virtual void *GetUserData() const = 0; + // User data + virtual void *SetUserData(void *data) = 0; + virtual void *GetUserData() const = 0; protected: - virtual ~asIScriptContext() {} + virtual ~asIScriptContext() {} }; class asIScriptGeneric { public: - // Miscellaneous - virtual asIScriptEngine *GetEngine() const = 0; - virtual asIScriptFunction *GetFunction() const = 0; + // Miscellaneous + virtual asIScriptEngine *GetEngine() const = 0; + virtual asIScriptFunction *GetFunction() const = 0; - // Object - virtual void *GetObject() = 0; - virtual int GetObjectTypeId() const = 0; + // Object + virtual void *GetObject() = 0; + virtual int GetObjectTypeId() const = 0; - // Arguments - virtual int GetArgCount() const = 0; - virtual int GetArgTypeId(asUINT arg, asDWORD *flags = 0) const = 0; - virtual asBYTE GetArgByte(asUINT arg) = 0; - virtual asWORD GetArgWord(asUINT arg) = 0; - virtual asDWORD GetArgDWord(asUINT arg) = 0; - virtual asQWORD GetArgQWord(asUINT arg) = 0; - virtual float GetArgFloat(asUINT arg) = 0; - virtual double GetArgDouble(asUINT arg) = 0; - virtual void *GetArgAddress(asUINT arg) = 0; - virtual void *GetArgObject(asUINT arg) = 0; - virtual void *GetAddressOfArg(asUINT arg) = 0; + // Arguments + virtual int GetArgCount() const = 0; + virtual int GetArgTypeId(asUINT arg, asDWORD *flags = 0) const = 0; + virtual asBYTE GetArgByte(asUINT arg) = 0; + virtual asWORD GetArgWord(asUINT arg) = 0; + virtual asDWORD GetArgDWord(asUINT arg) = 0; + virtual asQWORD GetArgQWord(asUINT arg) = 0; + virtual float GetArgFloat(asUINT arg) = 0; + virtual double GetArgDouble(asUINT arg) = 0; + virtual void *GetArgAddress(asUINT arg) = 0; + virtual void *GetArgObject(asUINT arg) = 0; + virtual void *GetAddressOfArg(asUINT arg) = 0; - // Return value - virtual int GetReturnTypeId(asDWORD *flags = 0) const = 0; - virtual int SetReturnByte(asBYTE val) = 0; - virtual int SetReturnWord(asWORD val) = 0; - virtual int SetReturnDWord(asDWORD val) = 0; - virtual int SetReturnQWord(asQWORD val) = 0; - virtual int SetReturnFloat(float val) = 0; - virtual int SetReturnDouble(double val) = 0; - virtual int SetReturnAddress(void *addr) = 0; - virtual int SetReturnObject(void *obj) = 0; - virtual void *GetAddressOfReturnLocation() = 0; + // Return value + virtual int GetReturnTypeId(asDWORD *flags = 0) const = 0; + virtual int SetReturnByte(asBYTE val) = 0; + virtual int SetReturnWord(asWORD val) = 0; + virtual int SetReturnDWord(asDWORD val) = 0; + virtual int SetReturnQWord(asQWORD val) = 0; + virtual int SetReturnFloat(float val) = 0; + virtual int SetReturnDouble(double val) = 0; + virtual int SetReturnAddress(void *addr) = 0; + virtual int SetReturnObject(void *obj) = 0; + virtual void *GetAddressOfReturnLocation() = 0; protected: - virtual ~asIScriptGeneric() {} + virtual ~asIScriptGeneric() {} }; class asIScriptObject { public: - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; + // Memory management + virtual int AddRef() const = 0; + virtual int Release() const = 0; - // Type info - virtual int GetTypeId() const = 0; - virtual asIObjectType *GetObjectType() const = 0; + // Type info + virtual int GetTypeId() const = 0; + virtual asIObjectType *GetObjectType() const = 0; - // Class properties - virtual asUINT GetPropertyCount() const = 0; - virtual int GetPropertyTypeId(asUINT prop) const = 0; - virtual const char *GetPropertyName(asUINT prop) const = 0; - virtual void *GetAddressOfProperty(asUINT prop) = 0; + // Class properties + virtual asUINT GetPropertyCount() const = 0; + virtual int GetPropertyTypeId(asUINT prop) const = 0; + virtual const char *GetPropertyName(asUINT prop) const = 0; + virtual void *GetAddressOfProperty(asUINT prop) = 0; - virtual asIScriptEngine *GetEngine() const = 0; - virtual int CopyFrom(asIScriptObject *other) = 0; + virtual asIScriptEngine *GetEngine() const = 0; + virtual int CopyFrom(asIScriptObject *other) = 0; protected: - virtual ~asIScriptObject() {} + virtual ~asIScriptObject() {} }; class asIObjectType { public: - virtual asIScriptEngine *GetEngine() const = 0; - virtual const char *GetConfigGroup() const = 0; - virtual asDWORD GetAccessMask() const = 0; - virtual asIScriptModule *GetModule() const = 0; + virtual asIScriptEngine *GetEngine() const = 0; + virtual const char *GetConfigGroup() const = 0; + virtual asDWORD GetAccessMask() const = 0; + virtual asIScriptModule *GetModule() const = 0; - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; + // Memory management + virtual int AddRef() const = 0; + virtual int Release() const = 0; - // Type info - virtual const char *GetName() const = 0; - virtual const char *GetNamespace() const = 0; - virtual asIObjectType *GetBaseType() const = 0; - virtual bool DerivesFrom(const asIObjectType *objType) const = 0; - virtual asDWORD GetFlags() const = 0; - virtual asUINT GetSize() const = 0; - virtual int GetTypeId() const = 0; - virtual int GetSubTypeId(asUINT subTypeIndex = 0) const = 0; - virtual asIObjectType *GetSubType(asUINT subTypeIndex = 0) const = 0; - virtual asUINT GetSubTypeCount() const = 0; + // Type info + virtual const char *GetName() const = 0; + virtual const char *GetNamespace() const = 0; + virtual asIObjectType *GetBaseType() const = 0; + virtual bool DerivesFrom(const asIObjectType *objType) const = 0; + virtual asDWORD GetFlags() const = 0; + virtual asUINT GetSize() const = 0; + virtual int GetTypeId() const = 0; + virtual int GetSubTypeId(asUINT subTypeIndex = 0) const = 0; + virtual asIObjectType *GetSubType(asUINT subTypeIndex = 0) const = 0; + virtual asUINT GetSubTypeCount() const = 0; - // Interfaces - virtual asUINT GetInterfaceCount() const = 0; - virtual asIObjectType *GetInterface(asUINT index) const = 0; - virtual bool Implements(const asIObjectType *objType) const = 0; + // Interfaces + virtual asUINT GetInterfaceCount() const = 0; + virtual asIObjectType *GetInterface(asUINT index) const = 0; + virtual bool Implements(const asIObjectType *objType) const = 0; - // Factories - virtual asUINT GetFactoryCount() const = 0; - virtual asIScriptFunction *GetFactoryByIndex(asUINT index) const = 0; - virtual asIScriptFunction *GetFactoryByDecl(const char *decl) const = 0; + // Factories + virtual asUINT GetFactoryCount() const = 0; + virtual asIScriptFunction *GetFactoryByIndex(asUINT index) const = 0; + virtual asIScriptFunction *GetFactoryByDecl(const char *decl) const = 0; - // Methods - virtual asUINT GetMethodCount() const = 0; - virtual asIScriptFunction *GetMethodByIndex(asUINT index, bool getVirtual = true) const = 0; - virtual asIScriptFunction *GetMethodByName(const char *name, bool getVirtual = true) const = 0; - virtual asIScriptFunction *GetMethodByDecl(const char *decl, bool getVirtual = true) const = 0; + // Methods + virtual asUINT GetMethodCount() const = 0; + virtual asIScriptFunction *GetMethodByIndex(asUINT index, bool getVirtual = true) const = 0; + virtual asIScriptFunction *GetMethodByName(const char *name, bool getVirtual = true) const = 0; + virtual asIScriptFunction *GetMethodByDecl(const char *decl, bool getVirtual = true) const = 0; - // Properties - virtual asUINT GetPropertyCount() const = 0; - virtual int GetProperty(asUINT index, const char **name, int *typeId = 0, bool *isPrivate = 0, int *offset = 0, bool *isReference = 0, asDWORD *accessMask = 0) const = 0; - virtual const char *GetPropertyDeclaration(asUINT index, bool includeNamespace = false) const = 0; + // Properties + virtual asUINT GetPropertyCount() const = 0; + virtual int GetProperty(asUINT index, const char **name, int *typeId = 0, bool *isPrivate = 0, int *offset = 0, bool *isReference = 0, asDWORD *accessMask = 0) const = 0; + virtual const char *GetPropertyDeclaration(asUINT index, bool includeNamespace = false) const = 0; - // Behaviours - virtual asUINT GetBehaviourCount() const = 0; - virtual asIScriptFunction *GetBehaviourByIndex(asUINT index, asEBehaviours *outBehaviour) const = 0; + // Behaviours + virtual asUINT GetBehaviourCount() const = 0; + virtual asIScriptFunction *GetBehaviourByIndex(asUINT index, asEBehaviours *outBehaviour) const = 0; - // User data - virtual void *SetUserData(void *data, asPWORD type = 0) = 0; - virtual void *GetUserData(asPWORD type = 0) const = 0; + // User data + virtual void *SetUserData(void *data, asPWORD type = 0) = 0; + virtual void *GetUserData(asPWORD type = 0) const = 0; protected: - virtual ~asIObjectType() {} + virtual ~asIObjectType() {} }; class asIScriptFunction { public: - virtual asIScriptEngine *GetEngine() const = 0; + virtual asIScriptEngine *GetEngine() const = 0; - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; + // Memory management + virtual int AddRef() const = 0; + virtual int Release() const = 0; - // Miscellaneous - virtual int GetId() const = 0; - virtual asEFuncType GetFuncType() const = 0; - virtual const char *GetModuleName() const = 0; - virtual asIScriptModule *GetModule() const = 0; - virtual const char *GetScriptSectionName() const = 0; - virtual const char *GetConfigGroup() const = 0; - virtual asDWORD GetAccessMask() const = 0; + // Miscellaneous + virtual int GetId() const = 0; + virtual asEFuncType GetFuncType() const = 0; + virtual const char *GetModuleName() const = 0; + virtual asIScriptModule *GetModule() const = 0; + virtual const char *GetScriptSectionName() const = 0; + virtual const char *GetConfigGroup() const = 0; + virtual asDWORD GetAccessMask() const = 0; - // Function signature - virtual asIObjectType *GetObjectType() const = 0; - virtual const char *GetObjectName() const = 0; - virtual const char *GetName() const = 0; - virtual const char *GetNamespace() const = 0; - virtual const char *GetDeclaration(bool includeObjectName = true, bool includeNamespace = false) const = 0; - virtual bool IsReadOnly() const = 0; - virtual bool IsPrivate() const = 0; - virtual bool IsFinal() const = 0; - virtual bool IsOverride() const = 0; - virtual bool IsShared() const = 0; - virtual asUINT GetParamCount() const = 0; - virtual int GetParamTypeId(asUINT index, asDWORD *flags = 0) const = 0; - virtual int GetReturnTypeId(asDWORD *flags = 0) const = 0; + // Function signature + virtual asIObjectType *GetObjectType() const = 0; + virtual const char *GetObjectName() const = 0; + virtual const char *GetName() const = 0; + virtual const char *GetNamespace() const = 0; + virtual const char *GetDeclaration(bool includeObjectName = true, bool includeNamespace = false) const = 0; + virtual bool IsReadOnly() const = 0; + virtual bool IsPrivate() const = 0; + virtual bool IsFinal() const = 0; + virtual bool IsOverride() const = 0; + virtual bool IsShared() const = 0; + virtual asUINT GetParamCount() const = 0; + virtual int GetParamTypeId(asUINT index, asDWORD *flags = 0) const = 0; + virtual int GetReturnTypeId(asDWORD *flags = 0) const = 0; - // Type id for function pointers - virtual int GetTypeId() const = 0; - virtual bool IsCompatibleWithTypeId(int typeId) const = 0; + // Type id for function pointers + virtual int GetTypeId() const = 0; + virtual bool IsCompatibleWithTypeId(int typeId) const = 0; - // Delegates - virtual void *GetDelegateObject() const = 0; - virtual asIObjectType *GetDelegateObjectType() const = 0; - virtual asIScriptFunction *GetDelegateFunction() const = 0; + // Delegates + virtual void *GetDelegateObject() const = 0; + virtual asIObjectType *GetDelegateObjectType() const = 0; + virtual asIScriptFunction *GetDelegateFunction() const = 0; - // Debug information - virtual asUINT GetVarCount() const = 0; - virtual int GetVar(asUINT index, const char **name, int *typeId = 0) const = 0; - virtual const char *GetVarDecl(asUINT index, bool includeNamespace = false) const = 0; - virtual int FindNextLineWithCode(int line) const = 0; + // Debug information + virtual asUINT GetVarCount() const = 0; + virtual int GetVar(asUINT index, const char **name, int *typeId = 0) const = 0; + virtual const char *GetVarDecl(asUINT index, bool includeNamespace = false) const = 0; + virtual int FindNextLineWithCode(int line) const = 0; - // For JIT compilation - virtual asDWORD *GetByteCode(asUINT *length = 0) = 0; + // For JIT compilation + virtual asDWORD *GetByteCode(asUINT *length = 0) = 0; - // User data - virtual void *SetUserData(void *userData) = 0; - virtual void *GetUserData() const = 0; + // User data + virtual void *SetUserData(void *userData) = 0; + virtual void *GetUserData() const = 0; protected: - virtual ~asIScriptFunction() {}; + virtual ~asIScriptFunction() {}; }; class asIBinaryStream { public: - virtual void Read(void *ptr, asUINT size) = 0; - virtual void Write(const void *ptr, asUINT size) = 0; + virtual void Read(void *ptr, asUINT size) = 0; + virtual void Write(const void *ptr, asUINT size) = 0; public: - virtual ~asIBinaryStream() {} + virtual ~asIBinaryStream() {} }; class asILockableSharedBool { public: - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; + // Memory management + virtual int AddRef() const = 0; + virtual int Release() const = 0; - // Value - virtual bool Get() const = 0; - virtual void Set(bool val) = 0; - - // Thread management - virtual void Lock() const = 0; - virtual void Unlock() const = 0; + // Value + virtual bool Get() const = 0; + virtual void Set(bool val) = 0; + + // Thread management + virtual void Lock() const = 0; + virtual void Unlock() const = 0; protected: - virtual ~asILockableSharedBool() {} + virtual ~asILockableSharedBool() {} }; //----------------------------------------------------------------- @@ -1050,30 +1051,30 @@ protected: template inline asSFuncPtr asFunctionPtr(T func) { - // Mark this as a global function - asSFuncPtr p(2); + // Mark this as a global function + asSFuncPtr p(2); #ifdef AS_64BIT_PTR - // The size_t cast is to avoid a compiler warning with asFUNCTION(0) - // on 64bit, as 0 is interpreted as a 32bit int value - p.ptr.f.func = reinterpret_cast(size_t(func)); + // The size_t cast is to avoid a compiler warning with asFUNCTION(0) + // on 64bit, as 0 is interpreted as a 32bit int value + p.ptr.f.func = reinterpret_cast(size_t(func)); #else - // MSVC6 doesn't like the size_t cast above so I - // solved this with a separate code for 32bit. - p.ptr.f.func = reinterpret_cast(func); + // MSVC6 doesn't like the size_t cast above so I + // solved this with a separate code for 32bit. + p.ptr.f.func = reinterpret_cast(func); #endif - return p; + return p; } // Specialization for functions using the generic calling convention template<> inline asSFuncPtr asFunctionPtr(asGENFUNC_t func) { - // Mark this as a generic function - asSFuncPtr p(1); - p.ptr.f.func = reinterpret_cast(func); - return p; + // Mark this as a generic function + asSFuncPtr p(1); + p.ptr.f.func = reinterpret_cast(func); + return p; } #ifndef AS_NO_CLASS_METHODS @@ -1089,31 +1090,31 @@ const int SINGLE_PTR_SIZE = sizeof(asSIMPLEMETHOD_t); template struct asSMethodPtr { - template - static asSFuncPtr Convert(M Mthd) - { - // This version of the function should never be executed, nor compiled, - // as it would mean that the size of the method pointer cannot be determined. + template + static asSFuncPtr Convert(M Mthd) + { + // This version of the function should never be executed, nor compiled, + // as it would mean that the size of the method pointer cannot be determined. - int ERROR_UnsupportedMethodPtr[N-100]; + int ERROR_UnsupportedMethodPtr[N-100]; - asSFuncPtr p(0); - return p; - } + asSFuncPtr p(0); + return p; + } }; // Template specialization template <> struct asSMethodPtr { - template - static asSFuncPtr Convert(M Mthd) - { - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE); - return p; - } + template + static asSFuncPtr Convert(M Mthd) + { + // Mark this as a class method + asSFuncPtr p(3); + p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE); + return p; + } }; #if defined(_MSC_VER) && !defined(__MWERKS__) @@ -1122,84 +1123,84 @@ struct asSMethodPtr template <> struct asSMethodPtr { - template - static asSFuncPtr Convert(M Mthd) - { - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+sizeof(int)); - return p; - } + template + static asSFuncPtr Convert(M Mthd) + { + // Mark this as a class method + asSFuncPtr p(3); + p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+sizeof(int)); + return p; + } }; template <> struct asSMethodPtr { - template - static asSFuncPtr Convert(M Mthd) - { - // On 32bit platforms with is where a class with virtual inheritance falls. - // On 64bit platforms we can also fall here if 8byte data alignments is used. + template + static asSFuncPtr Convert(M Mthd) + { + // On 32bit platforms with is where a class with virtual inheritance falls. + // On 64bit platforms we can also fall here if 8byte data alignments is used. - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+2*sizeof(int)); + // Mark this as a class method + asSFuncPtr p(3); + p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+2*sizeof(int)); - // Microsoft has a terrible optimization on class methods with virtual inheritance. - // They are hardcoding an important offset, which is not coming in the method pointer. + // Microsoft has a terrible optimization on class methods with virtual inheritance. + // They are hardcoding an important offset, which is not coming in the method pointer. #if defined(_MSC_VER) && !defined(AS_64BIT_PTR) - // Method pointers for virtual inheritance is not supported, - // as it requires the location of the vbase table, which is - // only available to the C++ compiler, but not in the method - // pointer. + // Method pointers for virtual inheritance is not supported, + // as it requires the location of the vbase table, which is + // only available to the C++ compiler, but not in the method + // pointer. - // You can get around this by forward declaring the class and - // storing the sizeof its method pointer in a constant. Example: + // You can get around this by forward declaring the class and + // storing the sizeof its method pointer in a constant. Example: - // class ClassWithVirtualInheritance; - // const int ClassWithVirtualInheritance_workaround = sizeof(void ClassWithVirtualInheritance::*()); + // class ClassWithVirtualInheritance; + // const int ClassWithVirtualInheritance_workaround = sizeof(void ClassWithVirtualInheritance::*()); - // This will force the compiler to use the unknown type - // for the class, which falls under the next case + // This will force the compiler to use the unknown type + // for the class, which falls under the next case - // Copy the virtual table index to the 4th dword so that AngelScript - // can properly detect and deny the use of methods with virtual inheritance. - *(reinterpret_cast(&p)+3) = *(reinterpret_cast(&p)+2); + // Copy the virtual table index to the 4th dword so that AngelScript + // can properly detect and deny the use of methods with virtual inheritance. + *(reinterpret_cast(&p)+3) = *(reinterpret_cast(&p)+2); #endif - return p; - } + return p; + } }; template <> struct asSMethodPtr { - template - static asSFuncPtr Convert(M Mthd) - { - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+3*sizeof(int)); - return p; - } + template + static asSFuncPtr Convert(M Mthd) + { + // Mark this as a class method + asSFuncPtr p(3); + p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+3*sizeof(int)); + return p; + } }; template <> struct asSMethodPtr { - template - static asSFuncPtr Convert(M Mthd) - { - // On 64bit platforms with 8byte data alignment - // the unknown class method pointers will come here. + template + static asSFuncPtr Convert(M Mthd) + { + // On 64bit platforms with 8byte data alignment + // the unknown class method pointers will come here. - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+4*sizeof(int)); - return p; - } + // Mark this as a class method + asSFuncPtr p(3); + p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+4*sizeof(int)); + return p; + } }; #endif @@ -1211,14 +1212,14 @@ struct asSMethodPtr struct asSVMRegisters { - asDWORD *programPointer; // points to current bytecode instruction - asDWORD *stackFramePointer; // function stack frame - asDWORD *stackPointer; // top of stack (grows downward) - asQWORD valueRegister; // temp register for primitives - void *objectRegister; // temp register for objects and handles - asIObjectType *objectType; // type of object held in object register - bool doProcessSuspend; // whether or not the JIT should break out when it encounters a suspend instruction - asIScriptContext *ctx; // the active context + asDWORD *programPointer; // points to current bytecode instruction + asDWORD *stackFramePointer; // function stack frame + asDWORD *stackPointer; // top of stack (grows downward) + asQWORD valueRegister; // temp register for primitives + void *objectRegister; // temp register for objects and handles + asIObjectType *objectType; // type of object held in object register + bool doProcessSuspend; // whether or not the JIT should break out when it encounters a suspend instruction + asIScriptContext *ctx; // the active context }; typedef void (*asJITFunction)(asSVMRegisters *registers, asPWORD jitArg); @@ -1226,303 +1227,303 @@ typedef void (*asJITFunction)(asSVMRegisters *registers, asPWORD jitArg); class asIJITCompiler { public: - virtual int CompileFunction(asIScriptFunction *function, asJITFunction *output) = 0; - virtual void ReleaseJITFunction(asJITFunction func) = 0; + virtual int CompileFunction(asIScriptFunction *function, asJITFunction *output) = 0; + virtual void ReleaseJITFunction(asJITFunction func) = 0; public: - virtual ~asIJITCompiler() {} + virtual ~asIJITCompiler() {} }; // Byte code instructions enum asEBCInstr { - asBC_PopPtr = 0, - asBC_PshGPtr = 1, - asBC_PshC4 = 2, - asBC_PshV4 = 3, - asBC_PSF = 4, - asBC_SwapPtr = 5, - asBC_NOT = 6, - asBC_PshG4 = 7, - asBC_LdGRdR4 = 8, - asBC_CALL = 9, - asBC_RET = 10, - asBC_JMP = 11, - asBC_JZ = 12, - asBC_JNZ = 13, - asBC_JS = 14, - asBC_JNS = 15, - asBC_JP = 16, - asBC_JNP = 17, - asBC_TZ = 18, - asBC_TNZ = 19, - asBC_TS = 20, - asBC_TNS = 21, - asBC_TP = 22, - asBC_TNP = 23, - asBC_NEGi = 24, - asBC_NEGf = 25, - asBC_NEGd = 26, - asBC_INCi16 = 27, - asBC_INCi8 = 28, - asBC_DECi16 = 29, - asBC_DECi8 = 30, - asBC_INCi = 31, - asBC_DECi = 32, - asBC_INCf = 33, - asBC_DECf = 34, - asBC_INCd = 35, - asBC_DECd = 36, - asBC_IncVi = 37, - asBC_DecVi = 38, - asBC_BNOT = 39, - asBC_BAND = 40, - asBC_BOR = 41, - asBC_BXOR = 42, - asBC_BSLL = 43, - asBC_BSRL = 44, - asBC_BSRA = 45, - asBC_COPY = 46, - asBC_PshC8 = 47, - asBC_PshVPtr = 48, - asBC_RDSPtr = 49, - asBC_CMPd = 50, - asBC_CMPu = 51, - asBC_CMPf = 52, - asBC_CMPi = 53, - asBC_CMPIi = 54, - asBC_CMPIf = 55, - asBC_CMPIu = 56, - asBC_JMPP = 57, - asBC_PopRPtr = 58, - asBC_PshRPtr = 59, - asBC_STR = 60, - asBC_CALLSYS = 61, - asBC_CALLBND = 62, - asBC_SUSPEND = 63, - asBC_ALLOC = 64, - asBC_FREE = 65, - asBC_LOADOBJ = 66, - asBC_STOREOBJ = 67, - asBC_GETOBJ = 68, - asBC_REFCPY = 69, - asBC_CHKREF = 70, - asBC_GETOBJREF = 71, - asBC_GETREF = 72, - asBC_PshNull = 73, - asBC_ClrVPtr = 74, - asBC_OBJTYPE = 75, - asBC_TYPEID = 76, - asBC_SetV4 = 77, - asBC_SetV8 = 78, - asBC_ADDSi = 79, - asBC_CpyVtoV4 = 80, - asBC_CpyVtoV8 = 81, - asBC_CpyVtoR4 = 82, - asBC_CpyVtoR8 = 83, - asBC_CpyVtoG4 = 84, - asBC_CpyRtoV4 = 85, - asBC_CpyRtoV8 = 86, - asBC_CpyGtoV4 = 87, - asBC_WRTV1 = 88, - asBC_WRTV2 = 89, - asBC_WRTV4 = 90, - asBC_WRTV8 = 91, - asBC_RDR1 = 92, - asBC_RDR2 = 93, - asBC_RDR4 = 94, - asBC_RDR8 = 95, - asBC_LDG = 96, - asBC_LDV = 97, - asBC_PGA = 98, - asBC_CmpPtr = 99, - asBC_VAR = 100, - asBC_iTOf = 101, - asBC_fTOi = 102, - asBC_uTOf = 103, - asBC_fTOu = 104, - asBC_sbTOi = 105, - asBC_swTOi = 106, - asBC_ubTOi = 107, - asBC_uwTOi = 108, - asBC_dTOi = 109, - asBC_dTOu = 110, - asBC_dTOf = 111, - asBC_iTOd = 112, - asBC_uTOd = 113, - asBC_fTOd = 114, - asBC_ADDi = 115, - asBC_SUBi = 116, - asBC_MULi = 117, - asBC_DIVi = 118, - asBC_MODi = 119, - asBC_ADDf = 120, - asBC_SUBf = 121, - asBC_MULf = 122, - asBC_DIVf = 123, - asBC_MODf = 124, - asBC_ADDd = 125, - asBC_SUBd = 126, - asBC_MULd = 127, - asBC_DIVd = 128, - asBC_MODd = 129, - asBC_ADDIi = 130, - asBC_SUBIi = 131, - asBC_MULIi = 132, - asBC_ADDIf = 133, - asBC_SUBIf = 134, - asBC_MULIf = 135, - asBC_SetG4 = 136, - asBC_ChkRefS = 137, - asBC_ChkNullV = 138, - asBC_CALLINTF = 139, - asBC_iTOb = 140, - asBC_iTOw = 141, - asBC_SetV1 = 142, - asBC_SetV2 = 143, - asBC_Cast = 144, - asBC_i64TOi = 145, - asBC_uTOi64 = 146, - asBC_iTOi64 = 147, - asBC_fTOi64 = 148, - asBC_dTOi64 = 149, - asBC_fTOu64 = 150, - asBC_dTOu64 = 151, - asBC_i64TOf = 152, - asBC_u64TOf = 153, - asBC_i64TOd = 154, - asBC_u64TOd = 155, - asBC_NEGi64 = 156, - asBC_INCi64 = 157, - asBC_DECi64 = 158, - asBC_BNOT64 = 159, - asBC_ADDi64 = 160, - asBC_SUBi64 = 161, - asBC_MULi64 = 162, - asBC_DIVi64 = 163, - asBC_MODi64 = 164, - asBC_BAND64 = 165, - asBC_BOR64 = 166, - asBC_BXOR64 = 167, - asBC_BSLL64 = 168, - asBC_BSRL64 = 169, - asBC_BSRA64 = 170, - asBC_CMPi64 = 171, - asBC_CMPu64 = 172, - asBC_ChkNullS = 173, - asBC_ClrHi = 174, - asBC_JitEntry = 175, - asBC_CallPtr = 176, - asBC_FuncPtr = 177, - asBC_LoadThisR = 178, - asBC_PshV8 = 179, - asBC_DIVu = 180, - asBC_MODu = 181, - asBC_DIVu64 = 182, - asBC_MODu64 = 183, - asBC_LoadRObjR = 184, - asBC_LoadVObjR = 185, - asBC_RefCpyV = 186, - asBC_JLowZ = 187, - asBC_JLowNZ = 188, - asBC_AllocMem = 189, - asBC_SetListSize = 190, - asBC_PshListElmnt = 191, - asBC_SetListType = 192, - asBC_POWi = 193, - asBC_POWu = 194, - asBC_POWf = 195, - asBC_POWd = 196, - asBC_POWdi = 197, - asBC_POWi64 = 198, - asBC_POWu64 = 199, + asBC_PopPtr = 0, + asBC_PshGPtr = 1, + asBC_PshC4 = 2, + asBC_PshV4 = 3, + asBC_PSF = 4, + asBC_SwapPtr = 5, + asBC_NOT = 6, + asBC_PshG4 = 7, + asBC_LdGRdR4 = 8, + asBC_CALL = 9, + asBC_RET = 10, + asBC_JMP = 11, + asBC_JZ = 12, + asBC_JNZ = 13, + asBC_JS = 14, + asBC_JNS = 15, + asBC_JP = 16, + asBC_JNP = 17, + asBC_TZ = 18, + asBC_TNZ = 19, + asBC_TS = 20, + asBC_TNS = 21, + asBC_TP = 22, + asBC_TNP = 23, + asBC_NEGi = 24, + asBC_NEGf = 25, + asBC_NEGd = 26, + asBC_INCi16 = 27, + asBC_INCi8 = 28, + asBC_DECi16 = 29, + asBC_DECi8 = 30, + asBC_INCi = 31, + asBC_DECi = 32, + asBC_INCf = 33, + asBC_DECf = 34, + asBC_INCd = 35, + asBC_DECd = 36, + asBC_IncVi = 37, + asBC_DecVi = 38, + asBC_BNOT = 39, + asBC_BAND = 40, + asBC_BOR = 41, + asBC_BXOR = 42, + asBC_BSLL = 43, + asBC_BSRL = 44, + asBC_BSRA = 45, + asBC_COPY = 46, + asBC_PshC8 = 47, + asBC_PshVPtr = 48, + asBC_RDSPtr = 49, + asBC_CMPd = 50, + asBC_CMPu = 51, + asBC_CMPf = 52, + asBC_CMPi = 53, + asBC_CMPIi = 54, + asBC_CMPIf = 55, + asBC_CMPIu = 56, + asBC_JMPP = 57, + asBC_PopRPtr = 58, + asBC_PshRPtr = 59, + asBC_STR = 60, + asBC_CALLSYS = 61, + asBC_CALLBND = 62, + asBC_SUSPEND = 63, + asBC_ALLOC = 64, + asBC_FREE = 65, + asBC_LOADOBJ = 66, + asBC_STOREOBJ = 67, + asBC_GETOBJ = 68, + asBC_REFCPY = 69, + asBC_CHKREF = 70, + asBC_GETOBJREF = 71, + asBC_GETREF = 72, + asBC_PshNull = 73, + asBC_ClrVPtr = 74, + asBC_OBJTYPE = 75, + asBC_TYPEID = 76, + asBC_SetV4 = 77, + asBC_SetV8 = 78, + asBC_ADDSi = 79, + asBC_CpyVtoV4 = 80, + asBC_CpyVtoV8 = 81, + asBC_CpyVtoR4 = 82, + asBC_CpyVtoR8 = 83, + asBC_CpyVtoG4 = 84, + asBC_CpyRtoV4 = 85, + asBC_CpyRtoV8 = 86, + asBC_CpyGtoV4 = 87, + asBC_WRTV1 = 88, + asBC_WRTV2 = 89, + asBC_WRTV4 = 90, + asBC_WRTV8 = 91, + asBC_RDR1 = 92, + asBC_RDR2 = 93, + asBC_RDR4 = 94, + asBC_RDR8 = 95, + asBC_LDG = 96, + asBC_LDV = 97, + asBC_PGA = 98, + asBC_CmpPtr = 99, + asBC_VAR = 100, + asBC_iTOf = 101, + asBC_fTOi = 102, + asBC_uTOf = 103, + asBC_fTOu = 104, + asBC_sbTOi = 105, + asBC_swTOi = 106, + asBC_ubTOi = 107, + asBC_uwTOi = 108, + asBC_dTOi = 109, + asBC_dTOu = 110, + asBC_dTOf = 111, + asBC_iTOd = 112, + asBC_uTOd = 113, + asBC_fTOd = 114, + asBC_ADDi = 115, + asBC_SUBi = 116, + asBC_MULi = 117, + asBC_DIVi = 118, + asBC_MODi = 119, + asBC_ADDf = 120, + asBC_SUBf = 121, + asBC_MULf = 122, + asBC_DIVf = 123, + asBC_MODf = 124, + asBC_ADDd = 125, + asBC_SUBd = 126, + asBC_MULd = 127, + asBC_DIVd = 128, + asBC_MODd = 129, + asBC_ADDIi = 130, + asBC_SUBIi = 131, + asBC_MULIi = 132, + asBC_ADDIf = 133, + asBC_SUBIf = 134, + asBC_MULIf = 135, + asBC_SetG4 = 136, + asBC_ChkRefS = 137, + asBC_ChkNullV = 138, + asBC_CALLINTF = 139, + asBC_iTOb = 140, + asBC_iTOw = 141, + asBC_SetV1 = 142, + asBC_SetV2 = 143, + asBC_Cast = 144, + asBC_i64TOi = 145, + asBC_uTOi64 = 146, + asBC_iTOi64 = 147, + asBC_fTOi64 = 148, + asBC_dTOi64 = 149, + asBC_fTOu64 = 150, + asBC_dTOu64 = 151, + asBC_i64TOf = 152, + asBC_u64TOf = 153, + asBC_i64TOd = 154, + asBC_u64TOd = 155, + asBC_NEGi64 = 156, + asBC_INCi64 = 157, + asBC_DECi64 = 158, + asBC_BNOT64 = 159, + asBC_ADDi64 = 160, + asBC_SUBi64 = 161, + asBC_MULi64 = 162, + asBC_DIVi64 = 163, + asBC_MODi64 = 164, + asBC_BAND64 = 165, + asBC_BOR64 = 166, + asBC_BXOR64 = 167, + asBC_BSLL64 = 168, + asBC_BSRL64 = 169, + asBC_BSRA64 = 170, + asBC_CMPi64 = 171, + asBC_CMPu64 = 172, + asBC_ChkNullS = 173, + asBC_ClrHi = 174, + asBC_JitEntry = 175, + asBC_CallPtr = 176, + asBC_FuncPtr = 177, + asBC_LoadThisR = 178, + asBC_PshV8 = 179, + asBC_DIVu = 180, + asBC_MODu = 181, + asBC_DIVu64 = 182, + asBC_MODu64 = 183, + asBC_LoadRObjR = 184, + asBC_LoadVObjR = 185, + asBC_RefCpyV = 186, + asBC_JLowZ = 187, + asBC_JLowNZ = 188, + asBC_AllocMem = 189, + asBC_SetListSize = 190, + asBC_PshListElmnt = 191, + asBC_SetListType = 192, + asBC_POWi = 193, + asBC_POWu = 194, + asBC_POWf = 195, + asBC_POWd = 196, + asBC_POWdi = 197, + asBC_POWi64 = 198, + asBC_POWu64 = 199, - asBC_MAXBYTECODE = 200, + asBC_MAXBYTECODE = 200, - // Temporary tokens. Can't be output to the final program - asBC_VarDecl = 251, - asBC_Block = 252, - asBC_ObjInfo = 253, - asBC_LINE = 254, - asBC_LABEL = 255 + // Temporary tokens. Can't be output to the final program + asBC_VarDecl = 251, + asBC_Block = 252, + asBC_ObjInfo = 253, + asBC_LINE = 254, + asBC_LABEL = 255 }; // Instruction types enum asEBCType { - asBCTYPE_INFO = 0, - asBCTYPE_NO_ARG = 1, - asBCTYPE_W_ARG = 2, - asBCTYPE_wW_ARG = 3, - asBCTYPE_DW_ARG = 4, - asBCTYPE_rW_DW_ARG = 5, - asBCTYPE_QW_ARG = 6, - asBCTYPE_DW_DW_ARG = 7, - asBCTYPE_wW_rW_rW_ARG = 8, - asBCTYPE_wW_QW_ARG = 9, - asBCTYPE_wW_rW_ARG = 10, - asBCTYPE_rW_ARG = 11, - asBCTYPE_wW_DW_ARG = 12, - asBCTYPE_wW_rW_DW_ARG = 13, - asBCTYPE_rW_rW_ARG = 14, - asBCTYPE_wW_W_ARG = 15, - asBCTYPE_QW_DW_ARG = 16, - asBCTYPE_rW_QW_ARG = 17, - asBCTYPE_W_DW_ARG = 18, - asBCTYPE_rW_W_DW_ARG = 19, - asBCTYPE_rW_DW_DW_ARG = 20 + asBCTYPE_INFO = 0, + asBCTYPE_NO_ARG = 1, + asBCTYPE_W_ARG = 2, + asBCTYPE_wW_ARG = 3, + asBCTYPE_DW_ARG = 4, + asBCTYPE_rW_DW_ARG = 5, + asBCTYPE_QW_ARG = 6, + asBCTYPE_DW_DW_ARG = 7, + asBCTYPE_wW_rW_rW_ARG = 8, + asBCTYPE_wW_QW_ARG = 9, + asBCTYPE_wW_rW_ARG = 10, + asBCTYPE_rW_ARG = 11, + asBCTYPE_wW_DW_ARG = 12, + asBCTYPE_wW_rW_DW_ARG = 13, + asBCTYPE_rW_rW_ARG = 14, + asBCTYPE_wW_W_ARG = 15, + asBCTYPE_QW_DW_ARG = 16, + asBCTYPE_rW_QW_ARG = 17, + asBCTYPE_W_DW_ARG = 18, + asBCTYPE_rW_W_DW_ARG = 19, + asBCTYPE_rW_DW_DW_ARG = 20 }; // Instruction type sizes const int asBCTypeSize[21] = { - 0, // asBCTYPE_INFO - 1, // asBCTYPE_NO_ARG - 1, // asBCTYPE_W_ARG - 1, // asBCTYPE_wW_ARG - 2, // asBCTYPE_DW_ARG - 2, // asBCTYPE_rW_DW_ARG - 3, // asBCTYPE_QW_ARG - 3, // asBCTYPE_DW_DW_ARG - 2, // asBCTYPE_wW_rW_rW_ARG - 3, // asBCTYPE_wW_QW_ARG - 2, // asBCTYPE_wW_rW_ARG - 1, // asBCTYPE_rW_ARG - 2, // asBCTYPE_wW_DW_ARG - 3, // asBCTYPE_wW_rW_DW_ARG - 2, // asBCTYPE_rW_rW_ARG - 2, // asBCTYPE_wW_W_ARG - 4, // asBCTYPE_QW_DW_ARG - 3, // asBCTYPE_rW_QW_ARG - 2, // asBCTYPE_W_DW_ARG - 3, // asBCTYPE_rW_W_DW_ARG - 3 // asBCTYPE_rW_DW_DW_ARG + 0, // asBCTYPE_INFO + 1, // asBCTYPE_NO_ARG + 1, // asBCTYPE_W_ARG + 1, // asBCTYPE_wW_ARG + 2, // asBCTYPE_DW_ARG + 2, // asBCTYPE_rW_DW_ARG + 3, // asBCTYPE_QW_ARG + 3, // asBCTYPE_DW_DW_ARG + 2, // asBCTYPE_wW_rW_rW_ARG + 3, // asBCTYPE_wW_QW_ARG + 2, // asBCTYPE_wW_rW_ARG + 1, // asBCTYPE_rW_ARG + 2, // asBCTYPE_wW_DW_ARG + 3, // asBCTYPE_wW_rW_DW_ARG + 2, // asBCTYPE_rW_rW_ARG + 2, // asBCTYPE_wW_W_ARG + 4, // asBCTYPE_QW_DW_ARG + 3, // asBCTYPE_rW_QW_ARG + 2, // asBCTYPE_W_DW_ARG + 3, // asBCTYPE_rW_W_DW_ARG + 3 // asBCTYPE_rW_DW_DW_ARG }; // Instruction info struct asSBCInfo { - asEBCInstr bc; - asEBCType type; - int stackInc; - const char *name; + asEBCInstr bc; + asEBCType type; + int stackInc; + const char *name; }; #ifndef AS_64BIT_PTR - #define asBCTYPE_PTR_ARG asBCTYPE_DW_ARG - #define asBCTYPE_PTR_DW_ARG asBCTYPE_DW_DW_ARG - #define asBCTYPE_wW_PTR_ARG asBCTYPE_wW_DW_ARG - #define asBCTYPE_rW_PTR_ARG asBCTYPE_rW_DW_ARG - #ifndef AS_PTR_SIZE - #define AS_PTR_SIZE 1 - #endif + #define asBCTYPE_PTR_ARG asBCTYPE_DW_ARG + #define asBCTYPE_PTR_DW_ARG asBCTYPE_DW_DW_ARG + #define asBCTYPE_wW_PTR_ARG asBCTYPE_wW_DW_ARG + #define asBCTYPE_rW_PTR_ARG asBCTYPE_rW_DW_ARG + #ifndef AS_PTR_SIZE + #define AS_PTR_SIZE 1 + #endif #else - #define asBCTYPE_PTR_ARG asBCTYPE_QW_ARG - #define asBCTYPE_PTR_DW_ARG asBCTYPE_QW_DW_ARG - #define asBCTYPE_wW_PTR_ARG asBCTYPE_wW_QW_ARG - #define asBCTYPE_rW_PTR_ARG asBCTYPE_rW_QW_ARG - #ifndef AS_PTR_SIZE - #define AS_PTR_SIZE 2 - #endif + #define asBCTYPE_PTR_ARG asBCTYPE_QW_ARG + #define asBCTYPE_PTR_DW_ARG asBCTYPE_QW_DW_ARG + #define asBCTYPE_wW_PTR_ARG asBCTYPE_wW_QW_ARG + #define asBCTYPE_rW_PTR_ARG asBCTYPE_rW_QW_ARG + #ifndef AS_PTR_SIZE + #define AS_PTR_SIZE 2 + #endif #endif #define asBCINFO(b,t,s) {asBC_##b, asBCTYPE_##t, s, #b} @@ -1530,264 +1531,264 @@ struct asSBCInfo const asSBCInfo asBCInfo[256] = { - asBCINFO(PopPtr, NO_ARG, -AS_PTR_SIZE), - asBCINFO(PshGPtr, PTR_ARG, AS_PTR_SIZE), - asBCINFO(PshC4, DW_ARG, 1), - asBCINFO(PshV4, rW_ARG, 1), - asBCINFO(PSF, rW_ARG, AS_PTR_SIZE), - asBCINFO(SwapPtr, NO_ARG, 0), - asBCINFO(NOT, rW_ARG, 0), - asBCINFO(PshG4, PTR_ARG, 1), - asBCINFO(LdGRdR4, wW_PTR_ARG, 0), - asBCINFO(CALL, DW_ARG, 0xFFFF), - asBCINFO(RET, W_ARG, 0xFFFF), - asBCINFO(JMP, DW_ARG, 0), - asBCINFO(JZ, DW_ARG, 0), - asBCINFO(JNZ, DW_ARG, 0), - asBCINFO(JS, DW_ARG, 0), - asBCINFO(JNS, DW_ARG, 0), - asBCINFO(JP, DW_ARG, 0), - asBCINFO(JNP, DW_ARG, 0), - asBCINFO(TZ, NO_ARG, 0), - asBCINFO(TNZ, NO_ARG, 0), - asBCINFO(TS, NO_ARG, 0), - asBCINFO(TNS, NO_ARG, 0), - asBCINFO(TP, NO_ARG, 0), - asBCINFO(TNP, NO_ARG, 0), - asBCINFO(NEGi, rW_ARG, 0), - asBCINFO(NEGf, rW_ARG, 0), - asBCINFO(NEGd, rW_ARG, 0), - asBCINFO(INCi16, NO_ARG, 0), - asBCINFO(INCi8, NO_ARG, 0), - asBCINFO(DECi16, NO_ARG, 0), - asBCINFO(DECi8, NO_ARG, 0), - asBCINFO(INCi, NO_ARG, 0), - asBCINFO(DECi, NO_ARG, 0), - asBCINFO(INCf, NO_ARG, 0), - asBCINFO(DECf, NO_ARG, 0), - asBCINFO(INCd, NO_ARG, 0), - asBCINFO(DECd, NO_ARG, 0), - asBCINFO(IncVi, rW_ARG, 0), - asBCINFO(DecVi, rW_ARG, 0), - asBCINFO(BNOT, rW_ARG, 0), - asBCINFO(BAND, wW_rW_rW_ARG, 0), - asBCINFO(BOR, wW_rW_rW_ARG, 0), - asBCINFO(BXOR, wW_rW_rW_ARG, 0), - asBCINFO(BSLL, wW_rW_rW_ARG, 0), - asBCINFO(BSRL, wW_rW_rW_ARG, 0), - asBCINFO(BSRA, wW_rW_rW_ARG, 0), - asBCINFO(COPY, W_DW_ARG, -AS_PTR_SIZE), - asBCINFO(PshC8, QW_ARG, 2), - asBCINFO(PshVPtr, rW_ARG, AS_PTR_SIZE), - asBCINFO(RDSPtr, NO_ARG, 0), - asBCINFO(CMPd, rW_rW_ARG, 0), - asBCINFO(CMPu, rW_rW_ARG, 0), - asBCINFO(CMPf, rW_rW_ARG, 0), - asBCINFO(CMPi, rW_rW_ARG, 0), - asBCINFO(CMPIi, rW_DW_ARG, 0), - asBCINFO(CMPIf, rW_DW_ARG, 0), - asBCINFO(CMPIu, rW_DW_ARG, 0), - asBCINFO(JMPP, rW_ARG, 0), - asBCINFO(PopRPtr, NO_ARG, -AS_PTR_SIZE), - asBCINFO(PshRPtr, NO_ARG, AS_PTR_SIZE), - asBCINFO(STR, W_ARG, 1+AS_PTR_SIZE), - asBCINFO(CALLSYS, DW_ARG, 0xFFFF), - asBCINFO(CALLBND, DW_ARG, 0xFFFF), - asBCINFO(SUSPEND, NO_ARG, 0), - asBCINFO(ALLOC, PTR_DW_ARG, 0xFFFF), - asBCINFO(FREE, wW_PTR_ARG, 0), - asBCINFO(LOADOBJ, rW_ARG, 0), - asBCINFO(STOREOBJ, wW_ARG, 0), - asBCINFO(GETOBJ, W_ARG, 0), - asBCINFO(REFCPY, PTR_ARG, -AS_PTR_SIZE), - asBCINFO(CHKREF, NO_ARG, 0), - asBCINFO(GETOBJREF, W_ARG, 0), - asBCINFO(GETREF, W_ARG, 0), - asBCINFO(PshNull, NO_ARG, AS_PTR_SIZE), - asBCINFO(ClrVPtr, wW_ARG, 0), - asBCINFO(OBJTYPE, PTR_ARG, AS_PTR_SIZE), - asBCINFO(TYPEID, DW_ARG, 1), - asBCINFO(SetV4, wW_DW_ARG, 0), - asBCINFO(SetV8, wW_QW_ARG, 0), - asBCINFO(ADDSi, W_DW_ARG, 0), - asBCINFO(CpyVtoV4, wW_rW_ARG, 0), - asBCINFO(CpyVtoV8, wW_rW_ARG, 0), - asBCINFO(CpyVtoR4, rW_ARG, 0), - asBCINFO(CpyVtoR8, rW_ARG, 0), - asBCINFO(CpyVtoG4, rW_PTR_ARG, 0), - asBCINFO(CpyRtoV4, wW_ARG, 0), - asBCINFO(CpyRtoV8, wW_ARG, 0), - asBCINFO(CpyGtoV4, wW_PTR_ARG, 0), - asBCINFO(WRTV1, rW_ARG, 0), - asBCINFO(WRTV2, rW_ARG, 0), - asBCINFO(WRTV4, rW_ARG, 0), - asBCINFO(WRTV8, rW_ARG, 0), - asBCINFO(RDR1, wW_ARG, 0), - asBCINFO(RDR2, wW_ARG, 0), - asBCINFO(RDR4, wW_ARG, 0), - asBCINFO(RDR8, wW_ARG, 0), - asBCINFO(LDG, PTR_ARG, 0), - asBCINFO(LDV, rW_ARG, 0), - asBCINFO(PGA, PTR_ARG, AS_PTR_SIZE), - asBCINFO(CmpPtr, rW_rW_ARG, 0), - asBCINFO(VAR, rW_ARG, AS_PTR_SIZE), - asBCINFO(iTOf, rW_ARG, 0), - asBCINFO(fTOi, rW_ARG, 0), - asBCINFO(uTOf, rW_ARG, 0), - asBCINFO(fTOu, rW_ARG, 0), - asBCINFO(sbTOi, rW_ARG, 0), - asBCINFO(swTOi, rW_ARG, 0), - asBCINFO(ubTOi, rW_ARG, 0), - asBCINFO(uwTOi, rW_ARG, 0), - asBCINFO(dTOi, wW_rW_ARG, 0), - asBCINFO(dTOu, wW_rW_ARG, 0), - asBCINFO(dTOf, wW_rW_ARG, 0), - asBCINFO(iTOd, wW_rW_ARG, 0), - asBCINFO(uTOd, wW_rW_ARG, 0), - asBCINFO(fTOd, wW_rW_ARG, 0), - asBCINFO(ADDi, wW_rW_rW_ARG, 0), - asBCINFO(SUBi, wW_rW_rW_ARG, 0), - asBCINFO(MULi, wW_rW_rW_ARG, 0), - asBCINFO(DIVi, wW_rW_rW_ARG, 0), - asBCINFO(MODi, wW_rW_rW_ARG, 0), - asBCINFO(ADDf, wW_rW_rW_ARG, 0), - asBCINFO(SUBf, wW_rW_rW_ARG, 0), - asBCINFO(MULf, wW_rW_rW_ARG, 0), - asBCINFO(DIVf, wW_rW_rW_ARG, 0), - asBCINFO(MODf, wW_rW_rW_ARG, 0), - asBCINFO(ADDd, wW_rW_rW_ARG, 0), - asBCINFO(SUBd, wW_rW_rW_ARG, 0), - asBCINFO(MULd, wW_rW_rW_ARG, 0), - asBCINFO(DIVd, wW_rW_rW_ARG, 0), - asBCINFO(MODd, wW_rW_rW_ARG, 0), - asBCINFO(ADDIi, wW_rW_DW_ARG, 0), - asBCINFO(SUBIi, wW_rW_DW_ARG, 0), - asBCINFO(MULIi, wW_rW_DW_ARG, 0), - asBCINFO(ADDIf, wW_rW_DW_ARG, 0), - asBCINFO(SUBIf, wW_rW_DW_ARG, 0), - asBCINFO(MULIf, wW_rW_DW_ARG, 0), - asBCINFO(SetG4, PTR_DW_ARG, 0), - asBCINFO(ChkRefS, NO_ARG, 0), - asBCINFO(ChkNullV, rW_ARG, 0), - asBCINFO(CALLINTF, DW_ARG, 0xFFFF), - asBCINFO(iTOb, rW_ARG, 0), - asBCINFO(iTOw, rW_ARG, 0), - asBCINFO(SetV1, wW_DW_ARG, 0), - asBCINFO(SetV2, wW_DW_ARG, 0), - asBCINFO(Cast, DW_ARG, -AS_PTR_SIZE), - asBCINFO(i64TOi, wW_rW_ARG, 0), - asBCINFO(uTOi64, wW_rW_ARG, 0), - asBCINFO(iTOi64, wW_rW_ARG, 0), - asBCINFO(fTOi64, wW_rW_ARG, 0), - asBCINFO(dTOi64, rW_ARG, 0), - asBCINFO(fTOu64, wW_rW_ARG, 0), - asBCINFO(dTOu64, rW_ARG, 0), - asBCINFO(i64TOf, wW_rW_ARG, 0), - asBCINFO(u64TOf, wW_rW_ARG, 0), - asBCINFO(i64TOd, rW_ARG, 0), - asBCINFO(u64TOd, rW_ARG, 0), - asBCINFO(NEGi64, rW_ARG, 0), - asBCINFO(INCi64, NO_ARG, 0), - asBCINFO(DECi64, NO_ARG, 0), - asBCINFO(BNOT64, rW_ARG, 0), - asBCINFO(ADDi64, wW_rW_rW_ARG, 0), - asBCINFO(SUBi64, wW_rW_rW_ARG, 0), - asBCINFO(MULi64, wW_rW_rW_ARG, 0), - asBCINFO(DIVi64, wW_rW_rW_ARG, 0), - asBCINFO(MODi64, wW_rW_rW_ARG, 0), - asBCINFO(BAND64, wW_rW_rW_ARG, 0), - asBCINFO(BOR64, wW_rW_rW_ARG, 0), - asBCINFO(BXOR64, wW_rW_rW_ARG, 0), - asBCINFO(BSLL64, wW_rW_rW_ARG, 0), - asBCINFO(BSRL64, wW_rW_rW_ARG, 0), - asBCINFO(BSRA64, wW_rW_rW_ARG, 0), - asBCINFO(CMPi64, rW_rW_ARG, 0), - asBCINFO(CMPu64, rW_rW_ARG, 0), - asBCINFO(ChkNullS, W_ARG, 0), - asBCINFO(ClrHi, NO_ARG, 0), - asBCINFO(JitEntry, PTR_ARG, 0), - asBCINFO(CallPtr, rW_ARG, 0xFFFF), - asBCINFO(FuncPtr, PTR_ARG, AS_PTR_SIZE), - asBCINFO(LoadThisR, W_DW_ARG, 0), - asBCINFO(PshV8, rW_ARG, 2), - asBCINFO(DIVu, wW_rW_rW_ARG, 0), - asBCINFO(MODu, wW_rW_rW_ARG, 0), - asBCINFO(DIVu64, wW_rW_rW_ARG, 0), - asBCINFO(MODu64, wW_rW_rW_ARG, 0), - asBCINFO(LoadRObjR, rW_W_DW_ARG, 0), - asBCINFO(LoadVObjR, rW_W_DW_ARG, 0), - asBCINFO(RefCpyV, wW_PTR_ARG, 0), - asBCINFO(JLowZ, DW_ARG, 0), - asBCINFO(JLowNZ, DW_ARG, 0), - asBCINFO(AllocMem, wW_DW_ARG, 0), - asBCINFO(SetListSize, rW_DW_DW_ARG, 0), - asBCINFO(PshListElmnt, rW_DW_ARG, AS_PTR_SIZE), - asBCINFO(SetListType, rW_DW_DW_ARG, 0), - asBCINFO(POWi, wW_rW_rW_ARG, 0), - asBCINFO(POWu, wW_rW_rW_ARG, 0), - asBCINFO(POWf, wW_rW_rW_ARG, 0), - asBCINFO(POWd, wW_rW_rW_ARG, 0), - asBCINFO(POWdi, wW_rW_rW_ARG, 0), - asBCINFO(POWi64, wW_rW_rW_ARG, 0), - asBCINFO(POWu64, wW_rW_rW_ARG, 0), + asBCINFO(PopPtr, NO_ARG, -AS_PTR_SIZE), + asBCINFO(PshGPtr, PTR_ARG, AS_PTR_SIZE), + asBCINFO(PshC4, DW_ARG, 1), + asBCINFO(PshV4, rW_ARG, 1), + asBCINFO(PSF, rW_ARG, AS_PTR_SIZE), + asBCINFO(SwapPtr, NO_ARG, 0), + asBCINFO(NOT, rW_ARG, 0), + asBCINFO(PshG4, PTR_ARG, 1), + asBCINFO(LdGRdR4, wW_PTR_ARG, 0), + asBCINFO(CALL, DW_ARG, 0xFFFF), + asBCINFO(RET, W_ARG, 0xFFFF), + asBCINFO(JMP, DW_ARG, 0), + asBCINFO(JZ, DW_ARG, 0), + asBCINFO(JNZ, DW_ARG, 0), + asBCINFO(JS, DW_ARG, 0), + asBCINFO(JNS, DW_ARG, 0), + asBCINFO(JP, DW_ARG, 0), + asBCINFO(JNP, DW_ARG, 0), + asBCINFO(TZ, NO_ARG, 0), + asBCINFO(TNZ, NO_ARG, 0), + asBCINFO(TS, NO_ARG, 0), + asBCINFO(TNS, NO_ARG, 0), + asBCINFO(TP, NO_ARG, 0), + asBCINFO(TNP, NO_ARG, 0), + asBCINFO(NEGi, rW_ARG, 0), + asBCINFO(NEGf, rW_ARG, 0), + asBCINFO(NEGd, rW_ARG, 0), + asBCINFO(INCi16, NO_ARG, 0), + asBCINFO(INCi8, NO_ARG, 0), + asBCINFO(DECi16, NO_ARG, 0), + asBCINFO(DECi8, NO_ARG, 0), + asBCINFO(INCi, NO_ARG, 0), + asBCINFO(DECi, NO_ARG, 0), + asBCINFO(INCf, NO_ARG, 0), + asBCINFO(DECf, NO_ARG, 0), + asBCINFO(INCd, NO_ARG, 0), + asBCINFO(DECd, NO_ARG, 0), + asBCINFO(IncVi, rW_ARG, 0), + asBCINFO(DecVi, rW_ARG, 0), + asBCINFO(BNOT, rW_ARG, 0), + asBCINFO(BAND, wW_rW_rW_ARG, 0), + asBCINFO(BOR, wW_rW_rW_ARG, 0), + asBCINFO(BXOR, wW_rW_rW_ARG, 0), + asBCINFO(BSLL, wW_rW_rW_ARG, 0), + asBCINFO(BSRL, wW_rW_rW_ARG, 0), + asBCINFO(BSRA, wW_rW_rW_ARG, 0), + asBCINFO(COPY, W_DW_ARG, -AS_PTR_SIZE), + asBCINFO(PshC8, QW_ARG, 2), + asBCINFO(PshVPtr, rW_ARG, AS_PTR_SIZE), + asBCINFO(RDSPtr, NO_ARG, 0), + asBCINFO(CMPd, rW_rW_ARG, 0), + asBCINFO(CMPu, rW_rW_ARG, 0), + asBCINFO(CMPf, rW_rW_ARG, 0), + asBCINFO(CMPi, rW_rW_ARG, 0), + asBCINFO(CMPIi, rW_DW_ARG, 0), + asBCINFO(CMPIf, rW_DW_ARG, 0), + asBCINFO(CMPIu, rW_DW_ARG, 0), + asBCINFO(JMPP, rW_ARG, 0), + asBCINFO(PopRPtr, NO_ARG, -AS_PTR_SIZE), + asBCINFO(PshRPtr, NO_ARG, AS_PTR_SIZE), + asBCINFO(STR, W_ARG, 1+AS_PTR_SIZE), + asBCINFO(CALLSYS, DW_ARG, 0xFFFF), + asBCINFO(CALLBND, DW_ARG, 0xFFFF), + asBCINFO(SUSPEND, NO_ARG, 0), + asBCINFO(ALLOC, PTR_DW_ARG, 0xFFFF), + asBCINFO(FREE, wW_PTR_ARG, 0), + asBCINFO(LOADOBJ, rW_ARG, 0), + asBCINFO(STOREOBJ, wW_ARG, 0), + asBCINFO(GETOBJ, W_ARG, 0), + asBCINFO(REFCPY, PTR_ARG, -AS_PTR_SIZE), + asBCINFO(CHKREF, NO_ARG, 0), + asBCINFO(GETOBJREF, W_ARG, 0), + asBCINFO(GETREF, W_ARG, 0), + asBCINFO(PshNull, NO_ARG, AS_PTR_SIZE), + asBCINFO(ClrVPtr, wW_ARG, 0), + asBCINFO(OBJTYPE, PTR_ARG, AS_PTR_SIZE), + asBCINFO(TYPEID, DW_ARG, 1), + asBCINFO(SetV4, wW_DW_ARG, 0), + asBCINFO(SetV8, wW_QW_ARG, 0), + asBCINFO(ADDSi, W_DW_ARG, 0), + asBCINFO(CpyVtoV4, wW_rW_ARG, 0), + asBCINFO(CpyVtoV8, wW_rW_ARG, 0), + asBCINFO(CpyVtoR4, rW_ARG, 0), + asBCINFO(CpyVtoR8, rW_ARG, 0), + asBCINFO(CpyVtoG4, rW_PTR_ARG, 0), + asBCINFO(CpyRtoV4, wW_ARG, 0), + asBCINFO(CpyRtoV8, wW_ARG, 0), + asBCINFO(CpyGtoV4, wW_PTR_ARG, 0), + asBCINFO(WRTV1, rW_ARG, 0), + asBCINFO(WRTV2, rW_ARG, 0), + asBCINFO(WRTV4, rW_ARG, 0), + asBCINFO(WRTV8, rW_ARG, 0), + asBCINFO(RDR1, wW_ARG, 0), + asBCINFO(RDR2, wW_ARG, 0), + asBCINFO(RDR4, wW_ARG, 0), + asBCINFO(RDR8, wW_ARG, 0), + asBCINFO(LDG, PTR_ARG, 0), + asBCINFO(LDV, rW_ARG, 0), + asBCINFO(PGA, PTR_ARG, AS_PTR_SIZE), + asBCINFO(CmpPtr, rW_rW_ARG, 0), + asBCINFO(VAR, rW_ARG, AS_PTR_SIZE), + asBCINFO(iTOf, rW_ARG, 0), + asBCINFO(fTOi, rW_ARG, 0), + asBCINFO(uTOf, rW_ARG, 0), + asBCINFO(fTOu, rW_ARG, 0), + asBCINFO(sbTOi, rW_ARG, 0), + asBCINFO(swTOi, rW_ARG, 0), + asBCINFO(ubTOi, rW_ARG, 0), + asBCINFO(uwTOi, rW_ARG, 0), + asBCINFO(dTOi, wW_rW_ARG, 0), + asBCINFO(dTOu, wW_rW_ARG, 0), + asBCINFO(dTOf, wW_rW_ARG, 0), + asBCINFO(iTOd, wW_rW_ARG, 0), + asBCINFO(uTOd, wW_rW_ARG, 0), + asBCINFO(fTOd, wW_rW_ARG, 0), + asBCINFO(ADDi, wW_rW_rW_ARG, 0), + asBCINFO(SUBi, wW_rW_rW_ARG, 0), + asBCINFO(MULi, wW_rW_rW_ARG, 0), + asBCINFO(DIVi, wW_rW_rW_ARG, 0), + asBCINFO(MODi, wW_rW_rW_ARG, 0), + asBCINFO(ADDf, wW_rW_rW_ARG, 0), + asBCINFO(SUBf, wW_rW_rW_ARG, 0), + asBCINFO(MULf, wW_rW_rW_ARG, 0), + asBCINFO(DIVf, wW_rW_rW_ARG, 0), + asBCINFO(MODf, wW_rW_rW_ARG, 0), + asBCINFO(ADDd, wW_rW_rW_ARG, 0), + asBCINFO(SUBd, wW_rW_rW_ARG, 0), + asBCINFO(MULd, wW_rW_rW_ARG, 0), + asBCINFO(DIVd, wW_rW_rW_ARG, 0), + asBCINFO(MODd, wW_rW_rW_ARG, 0), + asBCINFO(ADDIi, wW_rW_DW_ARG, 0), + asBCINFO(SUBIi, wW_rW_DW_ARG, 0), + asBCINFO(MULIi, wW_rW_DW_ARG, 0), + asBCINFO(ADDIf, wW_rW_DW_ARG, 0), + asBCINFO(SUBIf, wW_rW_DW_ARG, 0), + asBCINFO(MULIf, wW_rW_DW_ARG, 0), + asBCINFO(SetG4, PTR_DW_ARG, 0), + asBCINFO(ChkRefS, NO_ARG, 0), + asBCINFO(ChkNullV, rW_ARG, 0), + asBCINFO(CALLINTF, DW_ARG, 0xFFFF), + asBCINFO(iTOb, rW_ARG, 0), + asBCINFO(iTOw, rW_ARG, 0), + asBCINFO(SetV1, wW_DW_ARG, 0), + asBCINFO(SetV2, wW_DW_ARG, 0), + asBCINFO(Cast, DW_ARG, -AS_PTR_SIZE), + asBCINFO(i64TOi, wW_rW_ARG, 0), + asBCINFO(uTOi64, wW_rW_ARG, 0), + asBCINFO(iTOi64, wW_rW_ARG, 0), + asBCINFO(fTOi64, wW_rW_ARG, 0), + asBCINFO(dTOi64, rW_ARG, 0), + asBCINFO(fTOu64, wW_rW_ARG, 0), + asBCINFO(dTOu64, rW_ARG, 0), + asBCINFO(i64TOf, wW_rW_ARG, 0), + asBCINFO(u64TOf, wW_rW_ARG, 0), + asBCINFO(i64TOd, rW_ARG, 0), + asBCINFO(u64TOd, rW_ARG, 0), + asBCINFO(NEGi64, rW_ARG, 0), + asBCINFO(INCi64, NO_ARG, 0), + asBCINFO(DECi64, NO_ARG, 0), + asBCINFO(BNOT64, rW_ARG, 0), + asBCINFO(ADDi64, wW_rW_rW_ARG, 0), + asBCINFO(SUBi64, wW_rW_rW_ARG, 0), + asBCINFO(MULi64, wW_rW_rW_ARG, 0), + asBCINFO(DIVi64, wW_rW_rW_ARG, 0), + asBCINFO(MODi64, wW_rW_rW_ARG, 0), + asBCINFO(BAND64, wW_rW_rW_ARG, 0), + asBCINFO(BOR64, wW_rW_rW_ARG, 0), + asBCINFO(BXOR64, wW_rW_rW_ARG, 0), + asBCINFO(BSLL64, wW_rW_rW_ARG, 0), + asBCINFO(BSRL64, wW_rW_rW_ARG, 0), + asBCINFO(BSRA64, wW_rW_rW_ARG, 0), + asBCINFO(CMPi64, rW_rW_ARG, 0), + asBCINFO(CMPu64, rW_rW_ARG, 0), + asBCINFO(ChkNullS, W_ARG, 0), + asBCINFO(ClrHi, NO_ARG, 0), + asBCINFO(JitEntry, PTR_ARG, 0), + asBCINFO(CallPtr, rW_ARG, 0xFFFF), + asBCINFO(FuncPtr, PTR_ARG, AS_PTR_SIZE), + asBCINFO(LoadThisR, W_DW_ARG, 0), + asBCINFO(PshV8, rW_ARG, 2), + asBCINFO(DIVu, wW_rW_rW_ARG, 0), + asBCINFO(MODu, wW_rW_rW_ARG, 0), + asBCINFO(DIVu64, wW_rW_rW_ARG, 0), + asBCINFO(MODu64, wW_rW_rW_ARG, 0), + asBCINFO(LoadRObjR, rW_W_DW_ARG, 0), + asBCINFO(LoadVObjR, rW_W_DW_ARG, 0), + asBCINFO(RefCpyV, wW_PTR_ARG, 0), + asBCINFO(JLowZ, DW_ARG, 0), + asBCINFO(JLowNZ, DW_ARG, 0), + asBCINFO(AllocMem, wW_DW_ARG, 0), + asBCINFO(SetListSize, rW_DW_DW_ARG, 0), + asBCINFO(PshListElmnt, rW_DW_ARG, AS_PTR_SIZE), + asBCINFO(SetListType, rW_DW_DW_ARG, 0), + asBCINFO(POWi, wW_rW_rW_ARG, 0), + asBCINFO(POWu, wW_rW_rW_ARG, 0), + asBCINFO(POWf, wW_rW_rW_ARG, 0), + asBCINFO(POWd, wW_rW_rW_ARG, 0), + asBCINFO(POWdi, wW_rW_rW_ARG, 0), + asBCINFO(POWi64, wW_rW_rW_ARG, 0), + asBCINFO(POWu64, wW_rW_rW_ARG, 0), - asBCINFO_DUMMY(200), - asBCINFO_DUMMY(201), - asBCINFO_DUMMY(202), - asBCINFO_DUMMY(203), - asBCINFO_DUMMY(204), - asBCINFO_DUMMY(205), - asBCINFO_DUMMY(206), - asBCINFO_DUMMY(207), - asBCINFO_DUMMY(208), - asBCINFO_DUMMY(209), - asBCINFO_DUMMY(210), - asBCINFO_DUMMY(211), - asBCINFO_DUMMY(212), - asBCINFO_DUMMY(213), - asBCINFO_DUMMY(214), - asBCINFO_DUMMY(215), - asBCINFO_DUMMY(216), - asBCINFO_DUMMY(217), - asBCINFO_DUMMY(218), - asBCINFO_DUMMY(219), - asBCINFO_DUMMY(220), - asBCINFO_DUMMY(221), - asBCINFO_DUMMY(222), - asBCINFO_DUMMY(223), - asBCINFO_DUMMY(224), - asBCINFO_DUMMY(225), - asBCINFO_DUMMY(226), - asBCINFO_DUMMY(227), - asBCINFO_DUMMY(228), - asBCINFO_DUMMY(229), - asBCINFO_DUMMY(230), - asBCINFO_DUMMY(231), - asBCINFO_DUMMY(232), - asBCINFO_DUMMY(233), - asBCINFO_DUMMY(234), - asBCINFO_DUMMY(235), - asBCINFO_DUMMY(236), - asBCINFO_DUMMY(237), - asBCINFO_DUMMY(238), - asBCINFO_DUMMY(239), - asBCINFO_DUMMY(240), - asBCINFO_DUMMY(241), - asBCINFO_DUMMY(242), - asBCINFO_DUMMY(243), - asBCINFO_DUMMY(244), - asBCINFO_DUMMY(245), - asBCINFO_DUMMY(246), - asBCINFO_DUMMY(247), - asBCINFO_DUMMY(248), - asBCINFO_DUMMY(249), - asBCINFO_DUMMY(250), + asBCINFO_DUMMY(200), + asBCINFO_DUMMY(201), + asBCINFO_DUMMY(202), + asBCINFO_DUMMY(203), + asBCINFO_DUMMY(204), + asBCINFO_DUMMY(205), + asBCINFO_DUMMY(206), + asBCINFO_DUMMY(207), + asBCINFO_DUMMY(208), + asBCINFO_DUMMY(209), + asBCINFO_DUMMY(210), + asBCINFO_DUMMY(211), + asBCINFO_DUMMY(212), + asBCINFO_DUMMY(213), + asBCINFO_DUMMY(214), + asBCINFO_DUMMY(215), + asBCINFO_DUMMY(216), + asBCINFO_DUMMY(217), + asBCINFO_DUMMY(218), + asBCINFO_DUMMY(219), + asBCINFO_DUMMY(220), + asBCINFO_DUMMY(221), + asBCINFO_DUMMY(222), + asBCINFO_DUMMY(223), + asBCINFO_DUMMY(224), + asBCINFO_DUMMY(225), + asBCINFO_DUMMY(226), + asBCINFO_DUMMY(227), + asBCINFO_DUMMY(228), + asBCINFO_DUMMY(229), + asBCINFO_DUMMY(230), + asBCINFO_DUMMY(231), + asBCINFO_DUMMY(232), + asBCINFO_DUMMY(233), + asBCINFO_DUMMY(234), + asBCINFO_DUMMY(235), + asBCINFO_DUMMY(236), + asBCINFO_DUMMY(237), + asBCINFO_DUMMY(238), + asBCINFO_DUMMY(239), + asBCINFO_DUMMY(240), + asBCINFO_DUMMY(241), + asBCINFO_DUMMY(242), + asBCINFO_DUMMY(243), + asBCINFO_DUMMY(244), + asBCINFO_DUMMY(245), + asBCINFO_DUMMY(246), + asBCINFO_DUMMY(247), + asBCINFO_DUMMY(248), + asBCINFO_DUMMY(249), + asBCINFO_DUMMY(250), - asBCINFO(VarDecl, W_ARG, 0), - asBCINFO(Block, INFO, 0), - asBCINFO(ObjInfo, rW_DW_ARG, 0), - asBCINFO(LINE, INFO, 0), - asBCINFO(LABEL, INFO, 0) + asBCINFO(VarDecl, W_ARG, 0), + asBCINFO(Block, INFO, 0), + asBCINFO(ObjInfo, rW_DW_ARG, 0), + asBCINFO(LINE, INFO, 0), + asBCINFO(LABEL, INFO, 0) }; // Macros to access bytecode instruction arguments diff --git a/lib/angelscript/lib/delete.me b/lib/angelscript/lib/delete.me deleted file mode 100644 index 0848a3500..000000000 --- a/lib/angelscript/lib/delete.me +++ /dev/null @@ -1 +0,0 @@ -This file is only here to guarantee that unpackers don't skip creating the /lib directory. \ No newline at end of file diff --git a/lib/angelscript/projects/BCBuilder/AngelScript.bpg b/lib/angelscript/projects/BCBuilder/AngelScript.bpg deleted file mode 100644 index 8e4bbc834..000000000 --- a/lib/angelscript/projects/BCBuilder/AngelScript.bpg +++ /dev/null @@ -1,25 +0,0 @@ -#------------------------------------------------------------------------------ -VERSION = BWS.01 -#------------------------------------------------------------------------------ -!ifndef ROOT -ROOT = $(MAKEDIR)\.. -!endif -#------------------------------------------------------------------------------ -MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$** -DCC = $(ROOT)\bin\dcc32.exe $** -BRCC = $(ROOT)\bin\brcc32.exe $** -#------------------------------------------------------------------------------ -PROJECTS = AngelScriptBCC_Static_CB6.lib test_feature_CB6.exe -#------------------------------------------------------------------------------ -default: $(PROJECTS) -#------------------------------------------------------------------------------ - -AngelScriptBCC_Static_CB6.lib: AngelScriptBCC_Static_CB6.bpr - $(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $** - $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak - -test_feature_CB6.exe: ..\..\..\tests\test_feature\projects\BCBuilder\test_feature_CB6.bpr - $(ROOT)\bin\bpr2mak $** - $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak - - diff --git a/lib/angelscript/projects/BCBuilder/AngelScript.groupproj b/lib/angelscript/projects/BCBuilder/AngelScript.groupproj deleted file mode 100644 index 93f06fbe1..000000000 --- a/lib/angelscript/projects/BCBuilder/AngelScript.groupproj +++ /dev/null @@ -1,48 +0,0 @@ - - - {03055FC6-676A-44BB-8CFA-12023CE9BDF3} - - - - - - - AngelScriptBCC_Static.cbproj - - - - Default.Personality.12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/angelscript/projects/BCBuilder/AngelScriptBCC.cbproj b/lib/angelscript/projects/BCBuilder/AngelScriptBCC.cbproj deleted file mode 100644 index 7359c552b..000000000 --- a/lib/angelscript/projects/BCBuilder/AngelScriptBCC.cbproj +++ /dev/null @@ -1,195 +0,0 @@ - - - {788281D2-5102-47C7-BB04-954B3E7DBE1F} - CppDynamicLibrary - Release - 12.0 - - - true - - - true - Base - true - - - true - Base - true - - - rtl.lib - rtl.lib - UseDontGenerate - false - WIN32;AS_USE_NAMESPACE=1;NO_STRICT;ANGELSCRIPT_EXPORT;$(Defines) - Real - false - <_TCHARMapping>wchar_t - ..\..\intermediate\$(Config)\Export - ..\..\source;..\..\source\;$(IncludePath) - _RTLDLL;NO_STRICT;_NO_VCL;$(TASM_Defines) - _NO_VCL;$(BRCC_Defines) - vclx.bpi;vcl.bpi;rtl.bpi;dbrtl.bpi;vcldb.bpi;adortl.bpi;dbxcds.bpi;dbexpress.bpi;xmlrtl.bpi;vclie.bpi;inet.bpi;inetdbbde.bpi;inetdbxpress.bpi;soaprtl.bpi;dsnap.bpi;vclactnband.bpi;bdertl.bpi;vcldbx.bpi - ..\..\source;$(DCC_ResourcePath) - JPHNE - true - ..\..\source;$(BDS)\lib\obj;$(DCC_UnitSearchPath) - true - ..\..\source;$(BDS)\include;$(BDS)\include\dinkumware;$(BDS)\include\vcl;$(BRCC_IncludePath) - pch1.h;$(BCC_IncludeContentsOfHeaders) - pch1.h - ..\..\source;$(BDS)\include;$(BDS)\include\dinkumware;$(BDS)\include\vcl;$(BCC_IncludePath) - ..\..\source;$(BDS)\include;$(BDS)\include\dinkumware;$(BDS)\include\vcl;$(TASM_IncludePath) - ..\..\source;..\..\..\..\..\..\..\..\..\Borland Studio-Projekte;$(BDS)\lib;$(BDS)\lib\obj;$(DCC_IncludePath) - true - true - ..\..\bin - DLL - ..\..\bin - ..\..\source;$(ILINK_ObjectSearchPath) - ..\..\intermediate - ..\..\source;$(DCC_ObjPath) - -r - ..\..\lib;..\..\lib\;..\..\source\;..\..\source;$(BDS)\lib;$(BDS)\lib\obj;$(BDS)\lib\psdk;$(ILINK_LibraryPath) - dll - true - true - - - _DEBUG;$(BCC_Defines);$(BCC_Defines) - -k - $(BDS)\lib\debug;$(ILINK_LibraryPath);$(ILINK_LibraryPath) - DEBUG;$(DCC_Define);$(DCC_Define) - true - true - true - true - true - Full - -V - true - true - false - - - NDEBUG;$(BCC_Defines);$(BCC_Defines) - true - -r - None - -$O+ - $(BDS)\lib\release;$(ILINK_LibraryPath);$(ILINK_LibraryPath) - - - - 4 - - - 5 - - - 6 - - - 3 - - - -1 - 1 - - - 25 - 2 - - - true - 2 - - - Base - - - Cfg_1 - Base - - - Cfg_2 - Base - - - - - CPlusPlusBuilder.Personality.12 - CppDynamicLibrary - - - - True - False - 2 - 19 - 0 - 0 - False - False - False - False - True - 1033 - 1252 - - - - AngelCode Scripting Library - 2.19.0.0 - - (c) 2003-2010 Andreas Jönsson - - - - 2.19.0.0 - - - - - - - - - False - - - - - - - False - - False - - True - False - - - Borland InterBase Express Components - Intraweb 8.0 Design Package for Borland Development Studio 2006 - Indy 10 Core Design Time - Borland Sample Components - Indy 10 Protocols Design Time - TeeChart-Komponenten - Internet Direct Version 9 (Indy)- Eigenschaften- und Komponenteneditoren - Borland C++Builder Office 2000 Servers Package - Borland Sample Controls Design Time Package - Borland C++Builder Internet Explorer 5 Components Package - - - False - True - True - - - - 12 - - diff --git a/lib/angelscript/projects/BCBuilder/AngelScriptBCC_Static.cbproj b/lib/angelscript/projects/BCBuilder/AngelScriptBCC_Static.cbproj deleted file mode 100644 index b8ebdc417..000000000 --- a/lib/angelscript/projects/BCBuilder/AngelScriptBCC_Static.cbproj +++ /dev/null @@ -1,613 +0,0 @@ - - - {5EA4EE0E-521B-4A7D-BEE8-BA2D8BBF7807} - CppStaticLibrary - Release - 12.0 - - - true - - - true - Base - true - - - true - Base - true - - - pch1.h - WIN32;AS_USE_NAMESPACE=1;$(Defines) - false - false - rtl.lib - pch1.h - true - <_TCHARMapping>wchar_t - ..\..\intermediate\$(Config) - ..\..\include\;..\..\source\;..\..\include;..\..\source;..\..\..\add_on\scripthelper;..\..\..\add_on\scriptbuilder;..\..\..\add_on\scriptstdstring;..\..\..\add_on\scriptmath;..\..\..\add_on\scriptfile;..\..\..\add_on\scriptdictionary;..\..\..\add_on\contextmgr;..\..\..\add_on\scriptarray;..\..\..\add_on\scriptany;..\..\..\add_on\scriptstdstring\;..\..\..\add_on\scriptmath\;..\..\..\add_on\scripthelper\;..\..\..\add_on\scriptfile\;..\..\..\add_on\scriptdictionary\;..\..\..\add_on\scriptbuilder\;..\..\..\add_on\scriptarray\;..\..\..\add_on\scriptany\;..\..\..\add_on\contextmgr\;$(IncludePath) - _RTLDLL;NO_STRICT;$(TASM_Defines) - _RTLDLL;NO_STRICT;$(BRCC_Defines) - true - NO_STRICT;$(BCC_Defines) - JPHNE - .\;$(BDS)\lib;$(BDS)\lib\obj;$(DCC_UnitSearchPath) - ..\..\source\ - ..\..\source\ - ..\..\source;$(BDS)\include;$(BDS)\include\vcl;$(BDS)\include\dinkumware;$(BRCC_IncludePath) - true - .\;$(BDS)\lib;$(BDS)\lib\obj;$(DCC_IncludePath) - ..\..\source;$(BDS)\include;$(BDS)\include\vcl;$(BDS)\include\dinkumware;$(TASM_IncludePath) - ..\..\source;$(BDS)\include;$(BDS)\include\vcl;$(BDS)\include\dinkumware;$(BCC_IncludePath) - 256 - ..\..\lib\ - ..\..\intermediate\$(Config) - None - /w2 ..\..\source\ - true - true - true - $(BDS)\lib\obj;$(ILINK_LibraryPath) - -Vx -Ve - lib - -M - - - _DEBUG;$(Defines) - _DEBUG;$(BCC_Defines);$(BCC_Defines) - -Vx -Ve -k - $(BDS)\lib\debug;$(ILINK_LibraryPath);$(ILINK_LibraryPath) - DEBUG;$(DCC_Define);$(DCC_Define) - true - true - true - true - true - Full - -M -V - true - true - false - - - NDEBUG;$(Defines) - NDEBUG;$(BCC_Defines);$(BCC_Defines) - -Vx -Ve -r - -M -$O+ - $(BDS)\lib\release;$(ILINK_LibraryPath);$(ILINK_LibraryPath) - - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 65 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 41 - 37 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 58 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 64 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 57 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 11 - 107 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 67 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 70 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 60 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 62 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 63 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 61 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 49 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 50 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 48 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 46 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 83 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 51 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 55 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 68 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 54 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 52 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 53 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 69 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 88 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 72 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 87 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 84 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 85 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 90 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 89 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 97 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 94 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 91 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 93 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 71 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 59 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 74 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 80 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 66 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 73 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 95 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 81 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 82 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 86 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 78 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 79 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 47 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 95 - 15 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 9 - 89 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 17 - 101 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 12 - 116 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 86 - 2 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 92 - 16 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 27 - 11 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 59 - 31 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 23 - 17 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 14 - 104 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 110 - 10 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 26 - 14 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 77 - 1 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 71 - 7 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 98 - 18 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 74 - 4 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 8 - 68 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 80 - 0 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 83 - 3 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 65 - 5 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 13 - 113 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 50 - 30 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 20 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 62 - 6 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 8 - 24 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 47 - 33 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 41 - - - 38 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 42 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 38 - 34 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 39 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 44 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 43 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 45 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 26 - 22 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 56 - - - {B2262C45-6009-4277-AE08-EBE6C6317496} - 75 - - - {C4677389-340C-45A6-AC4C-F440F64B74A8} - 77 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 56 - 32 - - - {B30C65C6-20F8-4D1C-B7F6-1708CE02A1B9} - 76 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 23 - 19 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 44 - 36 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 29 - 21 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 53 - 29 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 35 - - - {1D68C792-68AA-47C5-9F9E-C72C393D9819} - 32 - 28 - - - Base - - - Cfg_1 - Base - - - Cfg_2 - Base - - - - - CPlusPlusBuilder.Personality.12 - CppStaticLibrary - - - - False - False - 1 - 0 - 0 - 0 - False - False - False - False - False - 1026 - 1251 - - - - - 1.0.0.0 - - - - - - 1.0.0.0 - - - - 3 - ..\..\source;$(BCB)\include;$(BCB)\include\vcl - ..\..\source;C:\angelscript_2.18.1\sdk\angelscript\source;$(BCB)\include;$(BCB)\include\vcl - C:\angelscript_2.18.1\sdk\angelscript\source;$(BCB)\include;$(BCB)\include\vcl - - - 3 - ..\..\source;$(BCB)\lib\obj;$(BCB)\lib - ..\..\source;C:\angelscript_2.18.1\sdk\angelscript\source;$(BCB)\lib\obj;$(BCB)\lib - C:\angelscript_2.18.1\sdk\angelscript\source;$(BCB)\lib\obj;$(BCB)\lib - - - 1 - $(BCB)\source\vcl - - - 2 - ..\..\lib\ - ..\..\lib - - - 2 - 0x0080 - 0x0010 - - - $(BCB)\source\vcl - - - - - False - - - - - - - False - - False - - True - False - - - 0 - 0 - 0 - - - 1 - 1 - 1 - - - False - True - True - - - - - - - - - - - - - - 12 - - diff --git a/lib/angelscript/projects/BCBuilder/AngelScriptBCC_Static_CB2006.bdsproj b/lib/angelscript/projects/BCBuilder/AngelScriptBCC_Static_CB2006.bdsproj deleted file mode 100644 index b6c64a61b..000000000 --- a/lib/angelscript/projects/BCBuilder/AngelScriptBCC_Static_CB2006.bdsproj +++ /dev/null @@ -1,454 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - False - 1 - 0 - 0 - 0 - False - False - False - False - False - 1026 - 1251 - - - - - 1.0.0.0 - - - - - - 1.0.0.0 - - - - 3 - ..\..\source;$(BCB)\include;$(BCB)\include\vcl - ..\..\source;C:\angelscript_2.18.1\sdk\angelscript\source;$(BCB)\include;$(BCB)\include\vcl - C:\angelscript_2.18.1\sdk\angelscript\source;$(BCB)\include;$(BCB)\include\vcl - - - 3 - ..\..\source;$(BCB)\lib\obj;$(BCB)\lib - ..\..\source;C:\angelscript_2.18.1\sdk\angelscript\source;$(BCB)\lib\obj;$(BCB)\lib - C:\angelscript_2.18.1\sdk\angelscript\source;$(BCB)\lib\obj;$(BCB)\lib - - - 1 - $(BCB)\source\vcl - - - 2 - ..\..\lib\ - ..\..\lib - - - 2 - 0x0080 - 0x0010 - - - $(BCB)\source\vcl - - - - - False - - - - - - - False - - False - - True - False - - - - $00000000 - - - - - - - - - - - AngelScriptBCC_Static_CB2006.bpf - - - - diff --git a/lib/angelscript/projects/BCBuilder/angelscript.bpf b/lib/angelscript/projects/BCBuilder/angelscript.bpf deleted file mode 100644 index 20aa69877..000000000 --- a/lib/angelscript/projects/BCBuilder/angelscript.bpf +++ /dev/null @@ -1,8 +0,0 @@ -//--------------------------------------------------------------------------- - -#pragma hdrstop -#define Library - -// To add a file to the library use the Project menu 'Add to Project'. - - \ No newline at end of file diff --git a/lib/angelscript/projects/BCBuilder/pch1.h b/lib/angelscript/projects/BCBuilder/pch1.h deleted file mode 100644 index 3fa79e9f5..000000000 --- a/lib/angelscript/projects/BCBuilder/pch1.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - Diese vorcompilierte Header-Include-Datei wurde am 12.06.2010 17:09:47 vom - RAD Studio-Experten für vorcompilierte Header mit den folgenden Einstellungen - erzeugt: - - Projekt: E:\Eigene Dateien\RAD Studio\Projekte\repository\3rdparty\AngelScript\svn\angelscript\projects\BCBuilder\AngelScriptBCC_Static.cbproj - AllowUnguarded = -1 - ExcludeProjectFiles = -1 - IncludePathsOn = -1 - IncludePaths = - ExcludePaths = - IncludeCount = 5 - ManageHeader = -1 -*/ - -#ifndef pch1_H -#define pch1_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#endif diff --git a/lib/angelscript/projects/android/Android.mk b/lib/angelscript/projects/android/Android.mk deleted file mode 100644 index bae71dc04..000000000 --- a/lib/angelscript/projects/android/Android.mk +++ /dev/null @@ -1,33 +0,0 @@ -commonSources:= as_callfunc_arm_gcc.S as_atomic.cpp as_builder.cpp as_bytecode.cpp as_callfunc.cpp as_callfunc_arm.cpp as_callfunc_mips.cpp as_callfunc_ppc.cpp as_callfunc_ppc_64.cpp as_callfunc_sh4.cpp as_callfunc_x86.cpp as_callfunc_x64_gcc.cpp as_compiler.cpp as_context.cpp as_configgroup.cpp as_datatype.cpp as_generic.cpp as_gc.cpp as_globalproperty.cpp as_memory.cpp as_module.cpp as_objecttype.cpp as_outputbuffer.cpp as_parser.cpp as_restore.cpp as_scriptcode.cpp as_scriptengine.cpp as_scriptfunction.cpp as_scriptnode.cpp as_scriptobject.cpp as_string.cpp as_string_util.cpp as_thread.cpp as_tokenizer.cpp as_typeinfo.cpp as_variablescope.cpp -LOCAL_PATH:= $(call my-dir)/../../source -include $(CLEAR_VARS) - -# Android API: Checks if can use pthreads. Version 9+ fully supports threads and atomic instructions -ifeq ($(TARGET_PLATFORM),android-3) - LOCAL_CFLAGS := -DAS_NO_THREADS -else -ifeq ($(TARGET_PLATFORM),android-4) - LOCAL_CFLAGS := -DAS_NO_THREADS -else -ifeq ($(TARGET_PLATFORM),android-5) - LOCAL_CFLAGS := -DAS_NO_THREADS -else -ifeq ($(TARGET_PLATFORM),android-6) - LOCAL_CFLAGS := -DAS_NO_THREADS -else -ifeq ($(TARGET_PLATFORM),android-7) - LOCAL_CFLAGS := -DAS_NO_THREADS -else -ifeq ($(TARGET_PLATFORM),android-8) - LOCAL_CFLAGS := -DAS_NO_THREADS -endif -endif -endif -endif -endif -endif - -LOCAL_SRC_FILES:= $(commonSources) -LOCAL_MODULE:= libangelscript -LOCAL_ARM_MODE:= arm -include $(BUILD_STATIC_LIBRARY) diff --git a/lib/angelscript/projects/cmake/CMakeLists.txt b/lib/angelscript/projects/cmake/CMakeLists.txt index 3e8626b4e..1f9146cb5 100644 --- a/lib/angelscript/projects/cmake/CMakeLists.txt +++ b/lib/angelscript/projects/cmake/CMakeLists.txt @@ -103,17 +103,17 @@ if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" AND NOT APPLE) add_definitions(-fPIC) endif() -add_library(Angelscript STATIC ${ANGELSCRIPT_SOURCE} ${ANGELSCRIPT_HEADERS}) -set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/../../lib) +add_library(angelscript STATIC ${ANGELSCRIPT_SOURCE} ${ANGELSCRIPT_HEADERS}) -find_package(Threads) -target_link_libraries(Angelscript ${CMAKE_THREAD_LIBS_INIT}) +#set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/../../lib) -if(MSVC) - set_target_properties(Angelscript PROPERTIES COMPILE_FLAGS "/MP") -endif(MSVC) +#find_package(Threads) +#target_link_libraries(Angelscript ${CMAKE_THREAD_LIBS_INIT}) -set(RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/../../bin) +#if(MSVC) +# set_target_properties(Angelscript PROPERTIES COMPILE_FLAGS "/MP") +#endif(MSVC) + +#set(RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/../../bin) -add_subdirectory(../../../samples/game/projects/cmake/ ./game) diff --git a/lib/angelscript/projects/codeblocks/angelscript.cbp b/lib/angelscript/projects/codeblocks/angelscript.cbp deleted file mode 100644 index 79737ae2b..000000000 --- a/lib/angelscript/projects/codeblocks/angelscript.cbp +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - diff --git a/lib/angelscript/projects/dev-cpp/AngelScript.dev b/lib/angelscript/projects/dev-cpp/AngelScript.dev deleted file mode 100644 index c9b29adeb..000000000 --- a/lib/angelscript/projects/dev-cpp/AngelScript.dev +++ /dev/null @@ -1,769 +0,0 @@ -[Project] -FileName=AngelScript.dev -Name=AngelScript -UnitCount=68 -Type=2 -Ver=1 -ObjFiles= -Includes= -Libs= -PrivateResource= -ResourceIncludes= -MakeIncludes= -Compiler= -CppCompiler= -Linker= -IsCpp=1 -Icon= -ExeOutput=..\..\lib -ObjectOutput=obj -OverrideOutput=0 -OverrideOutputName=AngelScript.a -HostApplication= -Folders= -CommandLine= -UseCustomMakefile=0 -CustomMakefile= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0000000000000001000000 - -[Unit1] -FileName=..\..\include\angelscript.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=..\..\source\as_variablescope.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit3] -FileName=..\..\source\as_arrayobject.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit4] -FileName=..\..\source\as_arrayobject.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit5] -FileName=..\..\source\as_builder.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit6] -FileName=..\..\source\as_builder.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit7] -FileName=..\..\source\as_bytecode.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit8] -FileName=..\..\source\as_bytecode.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit9] -FileName=..\..\source\as_bytecodedef.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit10] -FileName=..\..\source\as_callfunc.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit11] -FileName=..\..\source\as_callfunc_x86.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit12] -FileName=..\..\source\as_compiler.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit13] -FileName=..\..\source\as_compiler.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit14] -FileName=..\..\source\as_config.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit15] -FileName=..\..\source\as_context.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit16] -FileName=..\..\source\as_context.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit17] -FileName=..\..\source\as_datatype.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit18] -FileName=..\..\source\as_datatype.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit19] -FileName=..\..\source\as_debug.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit20] -FileName=..\..\source\as_map.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit21] -FileName=..\..\source\as_memory.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit22] -FileName=..\..\source\as_module.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit23] -FileName=..\..\source\as_module.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit24] -FileName=..\..\source\as_objecttype.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit25] -FileName=..\..\source\as_objecttype.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit26] -FileName=..\..\source\as_outputbuffer.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit27] -FileName=..\..\source\as_outputbuffer.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit28] -FileName=..\..\source\as_parser.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit29] -FileName=..\..\source\as_parser.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit30] -FileName=..\..\source\as_property.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit31] -FileName=..\..\source\as_restore.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit32] -FileName=..\..\source\as_restore.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit33] -FileName=..\..\source\as_scriptcode.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit34] -FileName=..\..\source\as_scriptcode.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit35] -FileName=..\..\source\as_scriptengine.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit36] -FileName=..\..\source\as_scriptengine.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit37] -FileName=..\..\source\as_scriptfunction.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit38] -FileName=..\..\source\as_scriptfunction.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit39] -FileName=..\..\source\as_scriptnode.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit40] -FileName=..\..\source\as_scriptnode.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit41] -FileName=..\..\source\as_string.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit42] -FileName=..\..\source\as_string.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit43] -FileName=..\..\source\as_string_util.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit44] -FileName=..\..\source\as_string_util.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit45] -FileName=..\..\source\as_structs.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit46] -FileName=..\..\source\as_texts.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit47] -FileName=..\..\source\as_thread.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit48] -FileName=..\..\source\as_thread.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit49] -FileName=..\..\source\as_tokendef.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit50] -FileName=..\..\source\as_tokenizer.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit51] -FileName=..\..\source\as_tokenizer.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit52] -FileName=..\..\source\as_typeinfo.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit53] -FileName=..\..\source\as_typeinfo.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit54] -FileName=..\..\source\as_types.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit55] -FileName=..\..\source\as_variablescope.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit56] -FileName=..\..\source\as_array.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit57] -FileName=..\..\source\as_callfunc_sh4.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit58] -FileName=..\..\source\as_generic.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit59] -FileName=..\..\source\as_generic.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit60] -FileName=..\..\source\as_callfunc.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 - -[Unit61] -FileName=..\..\source\as_scriptobject.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit62] -FileName=..\..\source\as_scriptobject.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit63] -FileName=..\..\source\as_gcobject.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit64] -FileName=..\..\source\as_gcobject.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit65] -FileName=..\..\source\as_anyobject.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit66] -FileName=..\..\source\as_anyobject.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit67] -FileName=..\..\source\as_configgroup.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit68] -FileName=..\..\source\as_configgroup.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit69] -FileName=..\..\source\as_configgroup.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit70] -FileName=..\..\source\as_configgroup.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit71] -FileName=..\..\source\as_configgroup.h -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit72] -FileName=..\..\source\as_configgroup.cpp -CompileCpp=1 -Folder=AngelScript -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - diff --git a/lib/angelscript/projects/dev-cpp/Makefile.win b/lib/angelscript/projects/dev-cpp/Makefile.win deleted file mode 100644 index 441ce8257..000000000 --- a/lib/angelscript/projects/dev-cpp/Makefile.win +++ /dev/null @@ -1,114 +0,0 @@ -# Project: AngelScript -# Makefile created by Dev-C++ 4.9.9.1 - -CPP = g++.exe -D__DEBUG__ -CC = gcc.exe -D__DEBUG__ -WINDRES = windres.exe -RES = -OBJ = obj/as_arrayobject.o obj/as_builder.o obj/as_bytecode.o obj/as_callfunc_x86.o obj/as_compiler.o obj/as_context.o obj/as_datatype.o obj/as_module.o obj/as_objecttype.o obj/as_outputbuffer.o obj/as_parser.o obj/as_restore.o obj/as_scriptcode.o obj/as_scriptengine.o obj/as_scriptfunction.o obj/as_scriptnode.o obj/as_string.o obj/as_string_util.o obj/as_thread.o obj/as_tokenizer.o obj/as_typeinfo.o obj/as_variablescope.o obj/as_callfunc_sh4.o obj/as_generic.o obj/as_callfunc.o obj/as_scriptstruct.o obj/as_gcobject.o obj/as_anyobject.o obj/as_configgroup.o $(RES) -LINKOBJ = obj/as_arrayobject.o obj/as_builder.o obj/as_bytecode.o obj/as_callfunc_x86.o obj/as_compiler.o obj/as_context.o obj/as_datatype.o obj/as_module.o obj/as_objecttype.o obj/as_outputbuffer.o obj/as_parser.o obj/as_restore.o obj/as_scriptcode.o obj/as_scriptengine.o obj/as_scriptfunction.o obj/as_scriptnode.o obj/as_string.o obj/as_string_util.o obj/as_thread.o obj/as_tokenizer.o obj/as_typeinfo.o obj/as_variablescope.o obj/as_callfunc_sh4.o obj/as_generic.o obj/as_callfunc.o obj/as_scriptstruct.o obj/as_gcobject.o obj/as_anyobject.o obj/as_configgroup.o $(RES) -LIBS = -L"C:/Dev-Cpp/lib" -g3 -INCS = -I"C:/Dev-Cpp/include" -CXXINCS = -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include" -BIN = ../../lib/AngelScript.a -CXXFLAGS = $(CXXINCS) -g3 -CFLAGS = $(INCS) -g3 - -.PHONY: all all-before all-after clean clean-custom - -all: all-before ../../lib/AngelScript.a all-after - - -clean: clean-custom - rm -f $(OBJ) $(BIN) - -$(BIN): $(LINKOBJ) - ar r $(BIN) $(LINKOBJ) - ranlib $(BIN) - -obj/as_arrayobject.o: ../../source/as_arrayobject.cpp - $(CPP) -c ../../source/as_arrayobject.cpp -o obj/as_arrayobject.o $(CXXFLAGS) - -obj/as_builder.o: ../../source/as_builder.cpp - $(CPP) -c ../../source/as_builder.cpp -o obj/as_builder.o $(CXXFLAGS) - -obj/as_bytecode.o: ../../source/as_bytecode.cpp - $(CPP) -c ../../source/as_bytecode.cpp -o obj/as_bytecode.o $(CXXFLAGS) - -obj/as_callfunc_x86.o: ../../source/as_callfunc_x86.cpp - $(CPP) -c ../../source/as_callfunc_x86.cpp -o obj/as_callfunc_x86.o $(CXXFLAGS) - -obj/as_compiler.o: ../../source/as_compiler.cpp - $(CPP) -c ../../source/as_compiler.cpp -o obj/as_compiler.o $(CXXFLAGS) - -obj/as_context.o: ../../source/as_context.cpp - $(CPP) -c ../../source/as_context.cpp -o obj/as_context.o $(CXXFLAGS) - -obj/as_datatype.o: ../../source/as_datatype.cpp - $(CPP) -c ../../source/as_datatype.cpp -o obj/as_datatype.o $(CXXFLAGS) - -obj/as_module.o: ../../source/as_module.cpp - $(CPP) -c ../../source/as_module.cpp -o obj/as_module.o $(CXXFLAGS) - -obj/as_objecttype.o: ../../source/as_objecttype.cpp - $(CPP) -c ../../source/as_objecttype.cpp -o obj/as_objecttype.o $(CXXFLAGS) - -obj/as_outputbuffer.o: ../../source/as_outputbuffer.cpp - $(CPP) -c ../../source/as_outputbuffer.cpp -o obj/as_outputbuffer.o $(CXXFLAGS) - -obj/as_parser.o: ../../source/as_parser.cpp - $(CPP) -c ../../source/as_parser.cpp -o obj/as_parser.o $(CXXFLAGS) - -obj/as_restore.o: ../../source/as_restore.cpp - $(CPP) -c ../../source/as_restore.cpp -o obj/as_restore.o $(CXXFLAGS) - -obj/as_scriptcode.o: ../../source/as_scriptcode.cpp - $(CPP) -c ../../source/as_scriptcode.cpp -o obj/as_scriptcode.o $(CXXFLAGS) - -obj/as_scriptengine.o: ../../source/as_scriptengine.cpp - $(CPP) -c ../../source/as_scriptengine.cpp -o obj/as_scriptengine.o $(CXXFLAGS) - -obj/as_scriptfunction.o: ../../source/as_scriptfunction.cpp - $(CPP) -c ../../source/as_scriptfunction.cpp -o obj/as_scriptfunction.o $(CXXFLAGS) - -obj/as_scriptnode.o: ../../source/as_scriptnode.cpp - $(CPP) -c ../../source/as_scriptnode.cpp -o obj/as_scriptnode.o $(CXXFLAGS) - -obj/as_string.o: ../../source/as_string.cpp - $(CPP) -c ../../source/as_string.cpp -o obj/as_string.o $(CXXFLAGS) - -obj/as_string_util.o: ../../source/as_string_util.cpp - $(CPP) -c ../../source/as_string_util.cpp -o obj/as_string_util.o $(CXXFLAGS) - -obj/as_thread.o: ../../source/as_thread.cpp - $(CPP) -c ../../source/as_thread.cpp -o obj/as_thread.o $(CXXFLAGS) - -obj/as_tokenizer.o: ../../source/as_tokenizer.cpp - $(CPP) -c ../../source/as_tokenizer.cpp -o obj/as_tokenizer.o $(CXXFLAGS) - -obj/as_typeinfo.o: ../../source/as_typeinfo.cpp - $(CPP) -c ../../source/as_typeinfo.cpp -o obj/as_typeinfo.o $(CXXFLAGS) - -obj/as_variablescope.o: ../../source/as_variablescope.cpp - $(CPP) -c ../../source/as_variablescope.cpp -o obj/as_variablescope.o $(CXXFLAGS) - -obj/as_callfunc_sh4.o: ../../source/as_callfunc_sh4.cpp - $(CPP) -c ../../source/as_callfunc_sh4.cpp -o obj/as_callfunc_sh4.o $(CXXFLAGS) - -obj/as_generic.o: ../../source/as_generic.cpp - $(CPP) -c ../../source/as_generic.cpp -o obj/as_generic.o $(CXXFLAGS) - -obj/as_callfunc.o: ../../source/as_callfunc.cpp - $(CPP) -c ../../source/as_callfunc.cpp -o obj/as_callfunc.o $(CXXFLAGS) - -obj/as_scriptstruct.o: ../../source/as_scriptstruct.cpp - $(CPP) -c ../../source/as_scriptstruct.cpp -o obj/as_scriptstruct.o $(CXXFLAGS) - -obj/as_gcobject.o: ../../source/as_gcobject.cpp - $(CPP) -c ../../source/as_gcobject.cpp -o obj/as_gcobject.o $(CXXFLAGS) - -obj/as_anyobject.o: ../../source/as_anyobject.cpp - $(CPP) -c ../../source/as_anyobject.cpp -o obj/as_anyobject.o $(CXXFLAGS) - -obj/as_configgroup.o: ../../source/as_configgroup.cpp - $(CPP) -c ../../source/as_configgroup.cpp -o obj/as_configgroup.o $(CXXFLAGS) diff --git a/lib/angelscript/projects/dev-cpp/obj/delete.me b/lib/angelscript/projects/dev-cpp/obj/delete.me deleted file mode 100644 index e69de29bb..000000000 diff --git a/lib/angelscript/projects/dreamcast/Makefile b/lib/angelscript/projects/dreamcast/Makefile deleted file mode 100644 index 8f6db50d7..000000000 --- a/lib/angelscript/projects/dreamcast/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# -# GNU make Makefile for Angelscript -# - -TARGET = libangelscript.a - -CC_FILES := $(shell ls -1 as_*.cpp) -OBJS = $(patsubst %.cpp, %.o, $(CC_FILES)) - -all: ../include/memory.h defaultall - -../include/memory.h: - echo "#include " >> ../include/memory.h - -include $(KOS_BASE)/addons/Makefile.prefab - -KOS_CFLAGS += -Dmemory=string -D__dreamcast__ -I../include -I. - -clean: - rm -f *~ *.o *.a - - diff --git a/lib/angelscript/projects/dreamcast/obj/delete.me b/lib/angelscript/projects/dreamcast/obj/delete.me deleted file mode 100644 index 0e1ca2b38..000000000 --- a/lib/angelscript/projects/dreamcast/obj/delete.me +++ /dev/null @@ -1,2 +0,0 @@ -This file is here just in case your unarchiver does not extract empty directories. -Feel free to remove it. \ No newline at end of file diff --git a/lib/angelscript/projects/dreamcast/readme.txt b/lib/angelscript/projects/dreamcast/readme.txt deleted file mode 100644 index 84e099b31..000000000 --- a/lib/angelscript/projects/dreamcast/readme.txt +++ /dev/null @@ -1,22 +0,0 @@ -Author of sh4 specifics ------------------------ -Fredrik Ehnbom - original version in May, 2004 -Fredrik Ehnbom - updated version for 2.0.0wip2 in Jan, 2005 - -Howto use ------------------------ -This assumes a working kallistios installation. It was developed with -kallistios 1.3.x subversion revision 183 and sh-elf-gcc 3.4.3. Though, -it does not really rely on anything kallistios specific, so it should -be possible to get it up and running on other sh4-based architectures. - -AngelScript uses memory.h which does not seem to be provided with kos. -Don't worry though, the makefile creates one for you ;) - -To build the library, just go to angelscript/source and type - -make -f ../projects/dreamcast/Makefile - -or wherever you put the makefile shipped with this textdocument. -The library will be in $KOS_BASE/addons/lib/dreamcast/ together with -all the other kos addon libraries. diff --git a/lib/angelscript/projects/gnuc macosx/makefile b/lib/angelscript/projects/gnuc macosx/makefile deleted file mode 100644 index 67bf60491..000000000 --- a/lib/angelscript/projects/gnuc macosx/makefile +++ /dev/null @@ -1,131 +0,0 @@ -# Angelscript makefile for linux (based on MingW makefile) -# Type 'make' then 'make install' to complete the installation of the library - -# For 'make install' to work, set LOCAL according to your system configuration -LOCAL = /usr/local - -# If you want to build a shared library, then run make with SHARED=1 and VERSION=version -LIB = libangelscript.a -DEVLIB = libangelscript.dylib -BUNDLE = libangelscript.so -INC = angelscript.h - -SRCDIR = ../../source -INCDIR = ../../include -OBJDIR = obj -LIBDIR = ../../lib -CXX = c++ -AFLAGS= -arch i386 -arch x86_64 -CXXFLAGS = -g -Wall -fPIC $(AFLAGS) -CXXBFLAGS = $(CXXFLAGS) -fno-common - -DELETER = rm -f -COPIER = cp -a - -SRCNAMES = \ - as_atomic.cpp \ - as_builder.cpp \ - as_bytecode.cpp \ - as_callfunc.cpp \ - as_callfunc_arm.cpp \ - as_callfunc_mips.cpp \ - as_callfunc_ppc.cpp \ - as_callfunc_ppc_64.cpp \ - as_callfunc_sh4.cpp \ - as_callfunc_x86.cpp \ - as_callfunc_x64_gcc.cpp \ - as_compiler.cpp \ - as_context.cpp \ - as_configgroup.cpp \ - as_datatype.cpp \ - as_generic.cpp \ - as_gc.cpp \ - as_globalproperty.cpp \ - as_memory.cpp \ - as_module.cpp \ - as_objecttype.cpp \ - as_outputbuffer.cpp \ - as_parser.cpp \ - as_restore.cpp \ - as_scriptcode.cpp \ - as_scriptengine.cpp \ - as_scriptfunction.cpp \ - as_scriptnode.cpp \ - as_scriptobject.cpp \ - as_string.cpp \ - as_string_util.cpp \ - as_thread.cpp \ - as_tokenizer.cpp \ - as_typeinfo.cpp \ - as_variablescope.cpp \ - -OBJ = $(addprefix $(OBJDIR)/, $(notdir $(SRCNAMES:.cpp=.o))) -BOBJ = $(addprefix $(OBJDIR)/, $(notdir $(SRCNAMES:.cpp=.lo))) -TARG = $(LIBDIR)/$(LIB) $(LIBDIR)/$(DEVLIB) $(LIBDIR)/$(BUNDLE) - - -all: $(TARG) -$(LIBDIR)/$(LIB): $(OBJDIR) $(LIBDIR) $(OBJ) - rm -f $(LIBDIR)/$(LIB) - ar r $(LIBDIR)/$(LIB) $(OBJ) - ranlib $(LIBDIR)/$(LIB) - file $(LIBDIR)/$(LIB) - -$(LIBDIR)/$(DEVLIB): $(OBJDIR) $(LIBDIR) $(OBJ) - rm -f $(LIBDIR)/$(DEVLIB) - $(CXX) $(AFLAGS) -dynamiclib -o $(DEVLIB) $(OBJ) - mv $(DEVLIB) $(LIBDIR)/$(DEVLIB) - file $(LIBDIR)/$(DEVLIB) - -$(LIBDIR)/$(BUNDLE): $(OBJDIR) $(LIBDIR) $(BOBJ) - rm -f $(LIBDIR)/$(BUNDLE) - $(CXX) $(AFLAGS) -bundle -flat_namespace -undefined suppress -o $(LIBDIR)/$(BUNDLE) $(BOBJ) - file $(LIBDIR)/$(BUNDLE) - - @echo ------------------------------------------------------------------- - @echo Done. As root, type 'make install' to install the library. - -$(OBJDIR): - mkdir $(OBJDIR) - -$(LIBDIR): - mkdir $(LIBDIR) - -$(OBJDIR)/%.o: $(SRCDIR)/%.cpp - $(CXX) $(CXXFLAGS) -o $@ -c $< - -$(OBJDIR)/%.o: $(SRCDIR)/%.S - $(CXX) $(CXXFLAGS) -o $@ -c $< - -$(OBJDIR)/%.o: $(SRCDIR)/%.s - $(CXX) $(CXXFLAGS) -o $@ -c $< - -$(OBJDIR)/%.lo: $(SRCDIR)/%.cpp - $(CXX) $(CXXBFLAGS) -o $@ -c $< - -$(OBJDIR)/%.lo: $(SRCDIR)/%.S - $(CXX) $(CXXBFLAGS) -o $@ -c $< - -$(OBJDIR)/%.lo: $(SRCDIR)/%.s - $(CXX) $(CXXBFLAGS) -o $@ -c $< - -clean: - $(DELETER) $(OBJ) $(BOBJ) $(TARG) - -install: $(TARG) - @echo Installing to: $(LOCAL)/lib and $(LOCAL)/include... - @echo ------------------------------------------------------------------- -ifdef SHARED - $(COPIER) $(LIBDIR)/$(DEVLIB) $(LOCAL)/lib -endif - $(COPIER) $(TARG) $(LOCAL)/lib - $(COPIER) $(INCDIR)/$(INC) $(LOCAL)/include - @echo ------------------------------------------------------------------- - @echo Angelscript library installed. Enjoy! - -uninstall: - $(DELETER) $(LOCAL)/include/$(INC) $(LOCAL)/lib/$(LIB) $(LOCAL)/lib/$(DEVLIB) - @echo ------------------------------------------------------------------- - @echo Angelscript library uninstalled. - -.PHONY: all clean install uninstall diff --git a/lib/angelscript/projects/gnuc/makefile b/lib/angelscript/projects/gnuc/makefile deleted file mode 100644 index c691de464..000000000 --- a/lib/angelscript/projects/gnuc/makefile +++ /dev/null @@ -1,155 +0,0 @@ -# Angelscript makefile for linux (based on MingW makefile) -# Type 'make' then 'make install' to complete the installation of the library - -# For 'make install' to work, set LOCAL according to your system configuration -LOCAL ?= /usr/local -INSTALL_LIBDIR ?= lib - -# If you want to build a shared library, then run make with SHARED=1 and VERSION=version -ifdef SHARED - LIB = libangelscript-$(VERSION).so - DEVLIB = libangelscript.so -else - LIB = libangelscript.a - DEVLIB = libangelscript.a -endif -INC = angelscript.h - -SRCDIR = ../../source -INCDIR = ../../include -ifeq ($(TARGETPLATFORM), iphone) - IPHONEBIN = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin - OBJDIR = obj-iphone - LIBDIR = ../../lib-iphone - CXX ?= $(IPHONEBIN)/clang++ - CXXFLAGS += -Wall -fPIC -fno-strict-aliasing -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -miphoneos-version-min=3.0 -else ifeq ($(TARGETPLATFORM), iphonesimulator) - IPHONEBIN = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin - OBJDIR = obj-iphone - LIBDIR = ../../lib-iphone - CXX ?= $(IPHONEBIN)/clang++ - CXXFLAGS += -Wall -fPIC -fno-strict-aliasing -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -miphoneos-version-min=3.0 -else ifeq ($(TARGETPLATFORM), android) - ANDROIDNDKROOT = /cygdrive/c/android/android-ndk-1.6_r1 - ANDROIDBIN = $(ANDROIDNDKROOT)/build/prebuilt/windows/arm-eabi-4.2.1/bin - SYSROOT = $(ANDROIDNDKROOT)/build/platforms/android-4/arch-arm - OBJDIR = obj-android - LIBDIR = ../../lib-android - CXX ?= $(ANDROIDBIN)/arm-eabi-gcc - CXXFLAGS += -I$(SYSROOT)/usr/include \ - -Wall \ - -DANDROID \ - -fno-exceptions \ - -march=armv6 -mthumb-interwork \ - -mfloat-abi=softfp -fno-rtti -else - OBJDIR = obj - LIBDIR = ../../lib - CXX ?= g++ - # On i686 architecture you may need to add -march=i686 if you get - # an undefined symbol for __sync_sub_and_fetch_4 in as_atomic.cpp. - CXXFLAGS += -Wall -fPIC -fno-strict-aliasing -endif - -AR ?= ar -RANLIB ?= ranlib -DELETER = rm -f -COPIER = cp -a - -SRCNAMES = \ - as_atomic.cpp \ - as_builder.cpp \ - as_bytecode.cpp \ - as_callfunc.cpp \ - as_callfunc_arm.cpp \ - as_callfunc_mips.cpp \ - as_callfunc_ppc.cpp \ - as_callfunc_ppc_64.cpp \ - as_callfunc_sh4.cpp \ - as_callfunc_x86.cpp \ - as_callfunc_x64_gcc.cpp \ - as_callfunc_x64_mingw.cpp \ - as_compiler.cpp \ - as_context.cpp \ - as_configgroup.cpp \ - as_datatype.cpp \ - as_generic.cpp \ - as_gc.cpp \ - as_globalproperty.cpp \ - as_memory.cpp \ - as_module.cpp \ - as_objecttype.cpp \ - as_outputbuffer.cpp \ - as_parser.cpp \ - as_restore.cpp \ - as_scriptcode.cpp \ - as_scriptengine.cpp \ - as_scriptfunction.cpp \ - as_scriptnode.cpp \ - as_scriptobject.cpp \ - as_string.cpp \ - as_string_util.cpp \ - as_thread.cpp \ - as_tokenizer.cpp \ - as_typeinfo.cpp \ - as_variablescope.cpp \ - -OBJ = $(addprefix $(OBJDIR)/, $(notdir $(SRCNAMES:.cpp=.o))) -BIN = $(LIBDIR)/$(LIB) - -ifeq ($(TARGETPLATFORM), iphone) - OBJ += $(OBJDIR)/as_callfunc_arm_xcode.o -else - OBJ += $(OBJDIR)/as_callfunc_arm_gcc.o -endif - -all: $(BIN) - -$(BIN): $(OBJDIR) $(LIBDIR) $(OBJ) -ifdef SHARED - $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB) -o $(BIN) $(OBJ) -else - $(AR) r $(BIN) $(OBJ) - $(RANLIB) $(BIN) -endif - @echo ------------------------------------------------------------------- - @echo Done. As root, type 'make install' to install the library. - -$(OBJDIR): - mkdir $(OBJDIR) - -$(LIBDIR): - mkdir $(LIBDIR) - -$(OBJDIR)/%.o: $(SRCDIR)/%.cpp - $(CXX) $(CXXFLAGS) -o $@ -c $< - -$(OBJDIR)/%.o: $(SRCDIR)/%.S - $(CXX) $(CXXFLAGS) -o $@ -c $< - -$(OBJDIR)/%.o: $(SRCDIR)/%.s - $(CXX) $(CXXFLAGS) -o $@ -c $< - - -clean: - $(DELETER) $(OBJ) $(BIN) $(LIBDIR)/$(DEVLIB) - -install: $(BIN) - @echo Installing to: $(LOCAL)/$(INSTALL_LIBDIR) and $(LOCAL)/include... - @echo ------------------------------------------------------------------- -ifdef SHARED - $(COPIER) $(LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR) - ln -s $(LOCAL)/$(INSTALL_LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR)/$(DEVLIB) - ln -s $(LOCAL)/$(INSTALL_LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR)/$(DEVLIB).$(VERSION) -endif - $(COPIER) $(BIN) $(LOCAL)/$(INSTALL_LIBDIR) - $(COPIER) $(INCDIR)/$(INC) $(LOCAL)/include - @echo ------------------------------------------------------------------- - @echo Angelscript library installed. Enjoy! - -uninstall: - $(DELETER) $(LOCAL)/include/$(INC) $(LOCAL)/$(INSTALL_LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR)/$(DEVLIB) - @echo ------------------------------------------------------------------- - @echo Angelscript library uninstalled. - -.PHONY: all clean install uninstall diff --git a/lib/angelscript/projects/gnuc/obj/delete.me b/lib/angelscript/projects/gnuc/obj/delete.me deleted file mode 100644 index 0e1ca2b38..000000000 --- a/lib/angelscript/projects/gnuc/obj/delete.me +++ /dev/null @@ -1,2 +0,0 @@ -This file is here just in case your unarchiver does not extract empty directories. -Feel free to remove it. \ No newline at end of file diff --git a/lib/angelscript/projects/gnuc/readme.txt b/lib/angelscript/projects/gnuc/readme.txt deleted file mode 100644 index fd03c0640..000000000 --- a/lib/angelscript/projects/gnuc/readme.txt +++ /dev/null @@ -1,20 +0,0 @@ -To compile the library, just type in the command line: - -make - -In order to install the library you might have to adopt the makefile to -match your system configuration. By default the library will be installed -to "/usr/local/..." (lib/ and include/). To change that, edit the makefile -variable $LOCAL. - -In order to install the library, switch to root: - -su -make install -exit - -You can uninstall the library, too: - -su -make uninstall -exit diff --git a/lib/angelscript/projects/marmalade/angelscript_lib.mkb b/lib/angelscript/projects/marmalade/angelscript_lib.mkb deleted file mode 100644 index bc1b72347..000000000 --- a/lib/angelscript/projects/marmalade/angelscript_lib.mkb +++ /dev/null @@ -1,111 +0,0 @@ -#!/usr/bin/env mkb - -options -{ - enable-exceptions=1 - lib - module_path="../../source" -} - -subproject angelscript_lib - -defines -{ -} - -if {{ defined I3D_ARCH_ARM }} -{ - files - { - (../../source) - as_callfunc_arm_gcc.S - } - option buildenv=scons -} -else -{ - files - { - (../../source) - #as_callfunc_x64_msvc_asm.asm - as_callfunc_arm_msvc.asm - } -} - -files -{ - (../../source) - as_array.h - as_atomic.cpp - as_atomic.h - as_builder.cpp - as_builder.h - as_bytecode.cpp - as_bytecode.h - as_callfunc.cpp - as_callfunc.h - as_callfunc_arm.cpp - as_callfunc_mips.cpp - as_callfunc_ppc.cpp - as_callfunc_ppc_64.cpp - as_callfunc_sh4.cpp - as_callfunc_x64_gcc.cpp - as_callfunc_x64_mingw.cpp - as_callfunc_x64_msvc.cpp - as_callfunc_x86.cpp - as_callfunc_xenon.cpp - as_compiler.cpp - as_compiler.h - as_config.h - as_configgroup.cpp - as_configgroup.h - as_context.cpp - as_context.h - as_criticalsection.h - as_datatype.cpp - as_datatype.h - as_debug.h - as_gc.cpp - as_gc.h - as_generic.cpp - as_generic.h - as_globalproperty.cpp - as_map.h - as_memory.cpp - as_memory.h - as_module.cpp - as_module.h - as_objecttype.cpp - as_objecttype.h - as_outputbuffer.cpp - as_outputbuffer.h - as_parser.cpp - as_parser.h - as_property.h - as_restore.cpp - as_restore.h - as_scriptcode.cpp - as_scriptcode.h - as_scriptengine.cpp - as_scriptengine.h - as_scriptfunction.cpp - as_scriptfunction.h - as_scriptnode.cpp - as_scriptnode.h - as_scriptobject.cpp - as_scriptobject.h - as_string.cpp - as_string.h - as_string_util.cpp - as_string_util.h - as_texts.h - as_thread.cpp - as_thread.h - as_tokendef.h - as_tokenizer.cpp - as_tokenizer.h - as_typeinfo.cpp - as_typeinfo.h - as_variablescope.cpp - as_variablescope.h -} diff --git a/lib/angelscript/projects/marmalade/angelscript_lib.mkf b/lib/angelscript/projects/marmalade/angelscript_lib.mkf deleted file mode 100644 index b1ef1ecaf..000000000 --- a/lib/angelscript/projects/marmalade/angelscript_lib.mkf +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env mkb - -display_name "AngelScript_Lib" - -includepath -{ - ../../include - ../../sdk/add_on -} - -defines -{ -} - -library -{ - ".,angelscript_lib" -} - -files -{ - (../../include) - angelscript.h -} \ No newline at end of file diff --git a/lib/angelscript/projects/mingw/makefile b/lib/angelscript/projects/mingw/makefile deleted file mode 100644 index aad4cf990..000000000 --- a/lib/angelscript/projects/mingw/makefile +++ /dev/null @@ -1,79 +0,0 @@ -# Angelscript MingW makefile -# Type 'make' then 'make install' to complete the installation of the library - -CXX ?= g++ -AR ?= ar -CXXFLAGS = -ggdb -SRCDIR = ../../source -OBJDIR = obj -SRCNAMES = \ - as_atomic.cpp \ - as_builder.cpp \ - as_bytecode.cpp \ - as_callfunc.cpp \ - as_callfunc_mips.cpp \ - as_callfunc_ppc_64.cpp \ - as_callfunc_ppc.cpp \ - as_callfunc_sh4.cpp \ - as_callfunc_x86.cpp \ - as_callfunc_x64_mingw.cpp \ - as_compiler.cpp \ - as_configgroup.cpp \ - as_context.cpp \ - as_datatype.cpp \ - as_generic.cpp \ - as_gc.cpp \ - as_globalproperty.cpp \ - as_memory.cpp \ - as_module.cpp \ - as_objecttype.cpp \ - as_outputbuffer.cpp \ - as_parser.cpp \ - as_restore.cpp \ - as_scriptcode.cpp \ - as_scriptengine.cpp \ - as_scriptfunction.cpp \ - as_scriptnode.cpp \ - as_scriptobject.cpp \ - as_string.cpp \ - as_string_util.cpp \ - as_thread.cpp \ - as_tokenizer.cpp \ - as_typeinfo.cpp \ - as_variablescope.cpp \ - -OBJ = $(addprefix $(OBJDIR)/, $(notdir $(SRCNAMES:.cpp=.o))) -BIN = ../../lib/libangelscript.a -OBJ_D = $(subst /,\,$(OBJ)) -BIN_D = $(subst /,\,$(BIN)) -DELETER = del /f -COPIER = copy /y -INCLUDEFILES_D = ..\..\include\angelscript.h -UNINSTALLFILES_D = $(MINGDIR)\lib\libangelscript.a $(MINGDIR)\include\angelscript.h - -all: $(BIN) - -$(BIN): $(OBJ) - $(AR) rcs $(BIN) $(OBJ) - @echo ------------------------------------------------------------------- - @echo Done. Now type 'make install' to install the library on your MinGW. - -$(OBJDIR)/%.o: $(SRCDIR)/%.cpp - $(CXX) $(CXXFLAGS) -o $@ -c $< - - -clean: - $(DELETER) $(OBJ_D) $(BIN_D) - -install: $(BIN) - $(COPIER) $(BIN_D) $(MINGDIR)\lib - $(COPIER) $(INCLUDEFILES_D) $(MINGDIR)\include - @echo ------------------------------------------------------------------- - @echo Angelscript library installed. Enjoy! - -uninstall: - $(DELETER) $(UNINSTALLFILES_D) - @echo ------------------------------------------------------------------- - @echo Angelscript library uninstalled. - -.PHONY: all clean install uninstall diff --git a/lib/angelscript/projects/mingw/obj/delete.me b/lib/angelscript/projects/mingw/obj/delete.me deleted file mode 100644 index 0e1ca2b38..000000000 --- a/lib/angelscript/projects/mingw/obj/delete.me +++ /dev/null @@ -1,2 +0,0 @@ -This file is here just in case your unarchiver does not extract empty directories. -Feel free to remove it. \ No newline at end of file diff --git a/lib/angelscript/projects/mingw/readme.txt b/lib/angelscript/projects/mingw/readme.txt deleted file mode 100644 index 9d9e964c3..000000000 --- a/lib/angelscript/projects/mingw/readme.txt +++ /dev/null @@ -1,9 +0,0 @@ -If you haven't done that already set up an environment variable named MINGDIR -pointing the the directory where your MinGW is, e.g. "C:\MINGW" - -To compile the library, just type in the command line: - -make -make install - -Sent in by Jakub "krajzega" Wasilewski \ No newline at end of file diff --git a/lib/angelscript/projects/msvc10/angelscript.sdf b/lib/angelscript/projects/msvc10/angelscript.sdf deleted file mode 100644 index 3aa4be298..000000000 Binary files a/lib/angelscript/projects/msvc10/angelscript.sdf and /dev/null differ diff --git a/lib/angelscript/projects/msvc10/angelscript.sln b/lib/angelscript/projects/msvc10/angelscript.sln deleted file mode 100644 index 16f66447a..000000000 --- a/lib/angelscript/projects/msvc10/angelscript.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "angelscript", "angelscript.vcxproj", "{39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|Win32.ActiveCfg = Debug|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|Win32.Build.0 = Debug|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|x64.ActiveCfg = Debug|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|x64.Build.0 = Debug|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|Win32.ActiveCfg = Release|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|Win32.Build.0 = Release|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|x64.ActiveCfg = Release|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/lib/angelscript/projects/msvc10/angelscript.v11.suo b/lib/angelscript/projects/msvc10/angelscript.v11.suo deleted file mode 100644 index cc9475e55..000000000 Binary files a/lib/angelscript/projects/msvc10/angelscript.v11.suo and /dev/null differ diff --git a/lib/angelscript/projects/msvc2012/Debug/angelscript.lastbuildstate b/lib/angelscript/projects/msvc2012/Debug/angelscript.lastbuildstate deleted file mode 100644 index 9d5ffcbab..000000000 --- a/lib/angelscript/projects/msvc2012/Debug/angelscript.lastbuildstate +++ /dev/null @@ -1,2 +0,0 @@ -#v4.0:v110:false -Debug|Win32|D:\Uni Torrents\angelscript_2.28.1\sdk\angelscript\projects\msvc2012\| diff --git a/lib/angelscript/projects/msvc2012/angelscript.sdf b/lib/angelscript/projects/msvc2012/angelscript.sdf deleted file mode 100644 index 09981ba88..000000000 Binary files a/lib/angelscript/projects/msvc2012/angelscript.sdf and /dev/null differ diff --git a/lib/angelscript/projects/msvc2012/angelscript.sln b/lib/angelscript/projects/msvc2012/angelscript.sln deleted file mode 100644 index 09bede45b..000000000 --- a/lib/angelscript/projects/msvc2012/angelscript.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Express 2012 for Windows Desktop -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "angelscript", "angelscript.vcxproj", "{39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|Win32.ActiveCfg = Debug|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|Win32.Build.0 = Debug|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|x64.ActiveCfg = Debug|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|x64.Build.0 = Debug|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|Win32.ActiveCfg = Release|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|Win32.Build.0 = Release|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|x64.ActiveCfg = Release|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/lib/angelscript/projects/msvc2012/angelscript.v11.suo b/lib/angelscript/projects/msvc2012/angelscript.v11.suo deleted file mode 100644 index 769a43e74..000000000 Binary files a/lib/angelscript/projects/msvc2012/angelscript.v11.suo and /dev/null differ diff --git a/lib/angelscript/projects/msvc6/angelscript.dsw b/lib/angelscript/projects/msvc6/angelscript.dsw deleted file mode 100644 index 00224df87..000000000 --- a/lib/angelscript/projects/msvc6/angelscript.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "angelscript lib"=.\lib\angelscript.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/lib/angelscript/projects/msvc6/lib/angelscript.dsp b/lib/angelscript/projects/msvc6/lib/angelscript.dsp deleted file mode 100644 index 9457c818a..000000000 --- a/lib/angelscript/projects/msvc6/lib/angelscript.dsp +++ /dev/null @@ -1,417 +0,0 @@ -# Microsoft Developer Studio Project File - Name="angelscript lib" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=angelscript lib - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "angelscript.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "angelscript.mak" CFG="angelscript lib - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "angelscript lib - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "angelscript lib - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "angelscript lib - Win32 Debug with stats" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "angelscript lib - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MT /W3 /O2 /Oy- /Ob2 /D "AS_NO_EXCEPTIONS" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "ANGELSCRIPT_EXPORT" /YX /FD /opt:nowin98 /c -# ADD BASE RSC /l 0x416 /d "NDEBUG" -# ADD RSC /l 0x416 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\..\..\lib\angelscript.lib" - -!ELSEIF "$(CFG)" == "angelscript lib - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /D "AS_NO_EXCEPTIONS" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "ANGELSCRIPT_EXPORT" /YX /FD /opt:nowin98 /GZ /c -# ADD BASE RSC /l 0x416 /d "_DEBUG" -# ADD RSC /l 0x416 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\..\..\lib\angelscriptd.lib" - -!ELSEIF "$(CFG)" == "angelscript lib - Win32 Debug with stats" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "angelscript_lib___Win32_Debug_with_stats" -# PROP BASE Intermediate_Dir "angelscript_lib___Win32_Debug_with_stats" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug_with_stats" -# PROP Intermediate_Dir "Debug_with_stats" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Gm /ZI /Od /D "AS_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "ANGELSCRIPT_EXPORT" /YX /FD /opt:nowin98 /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /D "AS_NO_EXCEPTIONS" /D "AS_DEBUG_STATS" /D "AS_USE_NAMESPACE" /D "AS_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "ANGELSCRIPT_EXPORT" /FR /YX /FD /opt:nowin98 /GZ /c -# ADD BASE RSC /l 0x416 /d "_DEBUG" -# ADD RSC /l 0x416 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\..\lib\angelscript.lib" -# ADD LIB32 /nologo /out:"..\..\..\lib\angelscriptd.lib" - -!ENDIF - -# Begin Target - -# Name "angelscript lib - Win32 Release" -# Name "angelscript lib - Win32 Debug" -# Name "angelscript lib - Win32 Debug with stats" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\..\source\as_atomic.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_builder.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_bytecode.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_arm.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_mips.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_ppc.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_ppc_64.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_sh4.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_x64_gcc.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_x64_msvc.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_x86.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc_xenon.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_compiler.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_configgroup.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_context.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_datatype.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_gc.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_generic.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_globalproperty.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_memory.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_module.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_objecttype.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_outputbuffer.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_parser.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_restore.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptcode.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptengine.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptfunction.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptnode.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptobject.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_string.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_string_util.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_thread.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_tokenizer.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_typeinfo.cpp -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_variablescope.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\..\source\as_array.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_atomic.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_builder.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_bytecode.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_callfunc.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_compiler.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_config.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_configgroup.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_context.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_criticalsection.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_datatype.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_debug.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_gc.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_generic.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_map.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_memory.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_module.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_objecttype.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_outputbuffer.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_parser.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_property.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_restore.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptcode.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptengine.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptfunction.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptnode.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_scriptobject.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_string.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_string_util.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_symboltable.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_texts.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_thread.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_tokendef.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_tokenizer.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_typeinfo.h -# End Source File -# Begin Source File - -SOURCE=..\..\..\source\as_variablescope.h -# End Source File -# End Group -# Begin Group "Interface" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\..\include\angelscript.h -# End Source File -# End Group -# End Target -# End Project diff --git a/lib/angelscript/projects/msvc7/msvc7.sln b/lib/angelscript/projects/msvc7/msvc7.sln deleted file mode 100644 index 45a3db198..000000000 --- a/lib/angelscript/projects/msvc7/msvc7.sln +++ /dev/null @@ -1,21 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "msvc7", "msvc7.vcproj", "{42D445F6-0462-4870-87CD-01E964EA8B97}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {42D445F6-0462-4870-87CD-01E964EA8B97}.Debug.ActiveCfg = Debug|Win32 - {42D445F6-0462-4870-87CD-01E964EA8B97}.Debug.Build.0 = Debug|Win32 - {42D445F6-0462-4870-87CD-01E964EA8B97}.Release.ActiveCfg = Release|Win32 - {42D445F6-0462-4870-87CD-01E964EA8B97}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/lib/angelscript/projects/msvc7/msvc7.vcproj b/lib/angelscript/projects/msvc7/msvc7.vcproj deleted file mode 100644 index 43d243d23..000000000 --- a/lib/angelscript/projects/msvc7/msvc7.vcproj +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/angelscript/projects/msvc8/angelscript.sln b/lib/angelscript/projects/msvc8/angelscript.sln deleted file mode 100644 index 755e9ff60..000000000 --- a/lib/angelscript/projects/msvc8/angelscript.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual C++ Express 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "angelscript", "angelscript.vcproj", "{39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|Win32.ActiveCfg = Debug|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|Win32.Build.0 = Debug|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|Win32.ActiveCfg = Release|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/lib/angelscript/projects/msvc8/angelscript.vcproj b/lib/angelscript/projects/msvc8/angelscript.vcproj deleted file mode 100644 index 37715e2a2..000000000 --- a/lib/angelscript/projects/msvc8/angelscript.vcproj +++ /dev/null @@ -1,425 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/angelscript/projects/msvc9/angelscript.sln b/lib/angelscript/projects/msvc9/angelscript.sln deleted file mode 100644 index c64b04ecb..000000000 --- a/lib/angelscript/projects/msvc9/angelscript.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual C++ Express 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "angelscript", "angelscript.vcproj", "{39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|Win32.ActiveCfg = Debug|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|Win32.Build.0 = Debug|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|x64.ActiveCfg = Debug|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Debug|x64.Build.0 = Debug|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|Win32.ActiveCfg = Release|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|Win32.Build.0 = Release|Win32 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|x64.ActiveCfg = Release|x64 - {39E6AF97-6BA3-4A72-8C61-BCEBF214EBFD}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/lib/angelscript/projects/msvc9/angelscript.vcproj b/lib/angelscript/projects/msvc9/angelscript.vcproj deleted file mode 100644 index 95aa9c7e8..000000000 --- a/lib/angelscript/projects/msvc9/angelscript.vcproj +++ /dev/null @@ -1,663 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/angelscript/projects/trolltechqt/angelscript.pro b/lib/angelscript/projects/trolltechqt/angelscript.pro deleted file mode 100644 index 7a68eb276..000000000 --- a/lib/angelscript/projects/trolltechqt/angelscript.pro +++ /dev/null @@ -1,136 +0,0 @@ -TEMPLATE = lib - -DEPENDPATH += ../../source ../../include -INCLUDEPATH += ../../include - -QMAKE_CXXFLAGS += -Wno-strict-aliasing - -CONFIG -= debug debug_and_release release app_bundle qt dll - -CONFIG += staticlib release - -DEFINES += _CRT_SECURE_NO_WARNINGS - -DESTDIR = ../../lib - -win32: LIBS += -lwinmm - -HEADERS += ../../include/angelscript.h \ - ../../source/as_array.h \ - ../../source/as_atomic.h \ - ../../source/as_builder.h \ - ../../source/as_bytecode.h \ - ../../source/as_callfunc.h \ - ../../source/as_compiler.h \ - ../../source/as_config.h \ - ../../source/as_configgroup.h \ - ../../source/as_context.h \ - ../../source/as_criticalsection.h \ - ../../source/as_datatype.h \ - ../../source/as_debug.h \ - ../../source/as_gc.h \ - ../../source/as_generic.h \ - ../../source/as_map.h \ - ../../source/as_memory.h \ - ../../source/as_module.h \ - ../../source/as_objecttype.h \ - ../../source/as_outputbuffer.h \ - ../../source/as_parser.h \ - ../../source/as_property.h \ - ../../source/as_restore.h \ - ../../source/as_scriptcode.h \ - ../../source/as_scriptengine.h \ - ../../source/as_scriptfunction.h \ - ../../source/as_scriptnode.h \ - ../../source/as_scriptobject.h \ - ../../source/as_string.h \ - ../../source/as_string_util.h \ - ../../source/as_symboltable.h \ - ../../source/as_texts.h \ - ../../source/as_thread.h \ - ../../source/as_tokendef.h \ - ../../source/as_tokenizer.h \ - ../../source/as_typeinfo.h \ - ../../source/as_variablescope.h - -SOURCES += ../../source/as_atomic.cpp \ - ../../source/as_builder.cpp \ - ../../source/as_bytecode.cpp \ - ../../source/as_callfunc.cpp \ - ../../source/as_callfunc_mips.cpp \ - ../../source/as_callfunc_ppc.cpp \ - ../../source/as_callfunc_ppc_64.cpp \ - ../../source/as_callfunc_sh4.cpp \ - ../../source/as_callfunc_x64_gcc.cpp \ - ../../source/as_callfunc_x64_mingw.cpp \ - ../../source/as_callfunc_x64_msvc.cpp \ - ../../source/as_callfunc_x86.cpp \ - ../../source/as_callfunc_xenon.cpp \ - ../../source/as_compiler.cpp \ - ../../source/as_configgroup.cpp \ - ../../source/as_context.cpp \ - ../../source/as_datatype.cpp \ - ../../source/as_gc.cpp \ - ../../source/as_generic.cpp \ - ../../source/as_globalproperty.cpp \ - ../../source/as_memory.cpp \ - ../../source/as_module.cpp \ - ../../source/as_objecttype.cpp \ - ../../source/as_outputbuffer.cpp \ - ../../source/as_parser.cpp \ - ../../source/as_restore.cpp \ - ../../source/as_scriptcode.cpp \ - ../../source/as_scriptengine.cpp \ - ../../source/as_scriptfunction.cpp \ - ../../source/as_scriptnode.cpp \ - ../../source/as_scriptobject.cpp \ - ../../source/as_string.cpp \ - ../../source/as_string_util.cpp \ - ../../source/as_thread.cpp \ - ../../source/as_tokenizer.cpp \ - ../../source/as_typeinfo.cpp \ - ../../source/as_variablescope.cpp - -HEADERS += ../../../add_on/scriptany/scriptany.h \ - ../../../add_on/scriptarray/scriptarray.h \ - ../../../add_on/scriptdictionary/scriptdictionary.h \ - ../../../add_on/scriptmath/scriptmath.h \ - ../../../add_on/scripthandle/scripthandle.h \ - ../../../add_on/scriptstdstring/scriptstdstring.h \ - ../../../add_on/scriptbuilder/scriptbuilder.h - -SOURCES += ../../../add_on/scriptany/scriptany.cpp \ - ../../../add_on/scriptarray/scriptarray.cpp \ - ../../../add_on/scriptdictionary/scriptdictionary.cpp \ - ../../../add_on/scriptmath/scriptmath.cpp \ - ../../../add_on/scripthandle/scripthandle.cpp \ - ../../../add_on/scriptstdstring/scriptstdstring.cpp \ - ../../../add_on/scriptstdstring/scriptstdstring_utils.cpp \ - ../../../add_on/scriptbuilder/scriptbuilder.cpp - -OBJECTS_DIR = tmp -MOC_DIR = tmp -UI_DIR = tmp -RCC_DIR = tmp - -!win32-g++:win32:contains(QMAKE_HOST.arch, x86_64):{ - asm_compiler.commands = ml64 /c - asm_compiler.commands += /Fo ${QMAKE_FILE_OUT} ${QMAKE_FILE_IN} - asm_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} - asm_compiler.input = ASM_SOURCES - asm_compiler.variable_out = OBJECTS - asm_compiler.name = compiling[asm] ${QMAKE_FILE_IN} - silent:asm_compiler.commands = @echo compiling[asm] ${QMAKE_FILE_IN} && $$asm_compiler.commands - QMAKE_EXTRA_COMPILERS += asm_compiler - - ASM_SOURCES += \ - $$PWD/angelscript/source/as_callfunc_x64_msvc_asm.asm - - if(win32-msvc2008|win32-msvc2010):equals(TEMPLATE_PREFIX, "vc") { - SOURCES += \ - $$PWD/angelscript/source/as_callfunc_x64_msvc_asm.asm - } -} - -# QMAKE_CXXFLAGS_RELEASE += /MP - diff --git a/lib/angelscript/projects/xcode/angelscript.xcodeproj/project.pbxproj b/lib/angelscript/projects/xcode/angelscript.xcodeproj/project.pbxproj deleted file mode 100644 index ce5ebe6a6..000000000 --- a/lib/angelscript/projects/xcode/angelscript.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1076 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 6E91001C1823FBA300D59009 /* aswrappedcall.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFED1823FBA300D59009 /* aswrappedcall.h */; }; - 6E91001D1823FBA300D59009 /* aswrappedcall.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFED1823FBA300D59009 /* aswrappedcall.h */; }; - 6E91001E1823FBA300D59009 /* generateheader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFEF1823FBA300D59009 /* generateheader.cpp */; }; - 6E91001F1823FBA300D59009 /* generateheader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFEF1823FBA300D59009 /* generateheader.cpp */; }; - 6E9100201823FBA300D59009 /* contextmgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFF31823FBA300D59009 /* contextmgr.cpp */; }; - 6E9100211823FBA300D59009 /* contextmgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFF31823FBA300D59009 /* contextmgr.cpp */; }; - 6E9100221823FBA300D59009 /* contextmgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFF41823FBA300D59009 /* contextmgr.h */; }; - 6E9100231823FBA300D59009 /* contextmgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFF41823FBA300D59009 /* contextmgr.h */; }; - 6E9100241823FBA300D59009 /* debugger.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFF61823FBA300D59009 /* debugger.cpp */; }; - 6E9100251823FBA300D59009 /* debugger.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFF61823FBA300D59009 /* debugger.cpp */; }; - 6E9100261823FBA300D59009 /* debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFF71823FBA300D59009 /* debugger.h */; }; - 6E9100271823FBA300D59009 /* debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFF71823FBA300D59009 /* debugger.h */; }; - 6E9100281823FBA300D59009 /* scriptany.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFF91823FBA300D59009 /* scriptany.cpp */; }; - 6E9100291823FBA300D59009 /* scriptany.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFF91823FBA300D59009 /* scriptany.cpp */; }; - 6E91002A1823FBA300D59009 /* scriptany.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFFA1823FBA300D59009 /* scriptany.h */; }; - 6E91002B1823FBA300D59009 /* scriptany.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFFA1823FBA300D59009 /* scriptany.h */; }; - 6E91002C1823FBA300D59009 /* scriptarray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFFC1823FBA300D59009 /* scriptarray.cpp */; }; - 6E91002D1823FBA300D59009 /* scriptarray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFFC1823FBA300D59009 /* scriptarray.cpp */; }; - 6E91002E1823FBA300D59009 /* scriptarray.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFFD1823FBA300D59009 /* scriptarray.h */; }; - 6E91002F1823FBA300D59009 /* scriptarray.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91FFFD1823FBA300D59009 /* scriptarray.h */; }; - 6E9100301823FBA300D59009 /* scriptbuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFFF1823FBA300D59009 /* scriptbuilder.cpp */; }; - 6E9100311823FBA300D59009 /* scriptbuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91FFFF1823FBA300D59009 /* scriptbuilder.cpp */; }; - 6E9100321823FBA300D59009 /* scriptbuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100001823FBA300D59009 /* scriptbuilder.h */; }; - 6E9100331823FBA300D59009 /* scriptbuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100001823FBA300D59009 /* scriptbuilder.h */; }; - 6E9100341823FBA300D59009 /* scriptdictionary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100021823FBA300D59009 /* scriptdictionary.cpp */; }; - 6E9100351823FBA300D59009 /* scriptdictionary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100021823FBA300D59009 /* scriptdictionary.cpp */; }; - 6E9100361823FBA300D59009 /* scriptdictionary.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100031823FBA300D59009 /* scriptdictionary.h */; }; - 6E9100371823FBA300D59009 /* scriptdictionary.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100031823FBA300D59009 /* scriptdictionary.h */; }; - 6E9100381823FBA300D59009 /* scriptfile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100051823FBA300D59009 /* scriptfile.cpp */; }; - 6E9100391823FBA300D59009 /* scriptfile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100051823FBA300D59009 /* scriptfile.cpp */; }; - 6E91003A1823FBA300D59009 /* scriptfile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100061823FBA300D59009 /* scriptfile.h */; }; - 6E91003B1823FBA300D59009 /* scriptfile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100061823FBA300D59009 /* scriptfile.h */; }; - 6E91003C1823FBA300D59009 /* scripthandle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100081823FBA300D59009 /* scripthandle.cpp */; }; - 6E91003D1823FBA300D59009 /* scripthandle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100081823FBA300D59009 /* scripthandle.cpp */; }; - 6E91003E1823FBA300D59009 /* scripthandle.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100091823FBA300D59009 /* scripthandle.h */; }; - 6E91003F1823FBA300D59009 /* scripthandle.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100091823FBA300D59009 /* scripthandle.h */; }; - 6E9100401823FBA300D59009 /* scripthelper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91000B1823FBA300D59009 /* scripthelper.cpp */; }; - 6E9100411823FBA300D59009 /* scripthelper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91000B1823FBA300D59009 /* scripthelper.cpp */; }; - 6E9100421823FBA300D59009 /* scripthelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91000C1823FBA300D59009 /* scripthelper.h */; }; - 6E9100431823FBA300D59009 /* scripthelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91000C1823FBA300D59009 /* scripthelper.h */; }; - 6E9100441823FBA300D59009 /* scriptmath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91000E1823FBA300D59009 /* scriptmath.cpp */; }; - 6E9100451823FBA300D59009 /* scriptmath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91000E1823FBA300D59009 /* scriptmath.cpp */; }; - 6E9100461823FBA300D59009 /* scriptmath.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91000F1823FBA300D59009 /* scriptmath.h */; }; - 6E9100471823FBA300D59009 /* scriptmath.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91000F1823FBA300D59009 /* scriptmath.h */; }; - 6E9100481823FBA300D59009 /* scriptmathcomplex.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100101823FBA300D59009 /* scriptmathcomplex.cpp */; }; - 6E9100491823FBA300D59009 /* scriptmathcomplex.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100101823FBA300D59009 /* scriptmathcomplex.cpp */; }; - 6E91004A1823FBA300D59009 /* scriptmathcomplex.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100111823FBA300D59009 /* scriptmathcomplex.h */; }; - 6E91004B1823FBA300D59009 /* scriptmathcomplex.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100111823FBA300D59009 /* scriptmathcomplex.h */; }; - 6E91004C1823FBA300D59009 /* scriptstdstring.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100131823FBA300D59009 /* scriptstdstring.cpp */; }; - 6E91004D1823FBA300D59009 /* scriptstdstring.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100131823FBA300D59009 /* scriptstdstring.cpp */; }; - 6E91004E1823FBA300D59009 /* scriptstdstring.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100141823FBA300D59009 /* scriptstdstring.h */; }; - 6E91004F1823FBA300D59009 /* scriptstdstring.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100141823FBA300D59009 /* scriptstdstring.h */; }; - 6E9100501823FBA300D59009 /* scriptstdstring_utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100151823FBA300D59009 /* scriptstdstring_utils.cpp */; }; - 6E9100511823FBA300D59009 /* scriptstdstring_utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100151823FBA300D59009 /* scriptstdstring_utils.cpp */; }; - 6E9100521823FBA300D59009 /* serializer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100171823FBA300D59009 /* serializer.cpp */; }; - 6E9100531823FBA300D59009 /* serializer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E9100171823FBA300D59009 /* serializer.cpp */; }; - 6E9100541823FBA300D59009 /* serializer.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100181823FBA300D59009 /* serializer.h */; }; - 6E9100551823FBA300D59009 /* serializer.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E9100181823FBA300D59009 /* serializer.h */; }; - 6E9100561823FBA300D59009 /* weakref.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91001A1823FBA300D59009 /* weakref.cpp */; }; - 6E9100571823FBA300D59009 /* weakref.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E91001A1823FBA300D59009 /* weakref.cpp */; }; - 6E9100581823FBA300D59009 /* weakref.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91001B1823FBA300D59009 /* weakref.h */; }; - 6E9100591823FBA300D59009 /* weakref.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91001B1823FBA300D59009 /* weakref.h */; }; - 6E91005C1823FC7000D59009 /* angelscript.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91005B1823FC7000D59009 /* angelscript.h */; }; - 6E91005D1823FC7000D59009 /* angelscript.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E91005B1823FC7000D59009 /* angelscript.h */; }; - 6E91FF911823DA0D00D59009 /* as_array.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCF51523FF2300EFAB3F /* as_array.h */; }; - 6E91FF921823DA0D00D59009 /* as_atomic.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCF71523FF2300EFAB3F /* as_atomic.h */; }; - 6E91FF931823DA0D00D59009 /* as_builder.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCF91523FF2300EFAB3F /* as_builder.h */; }; - 6E91FF941823DA0D00D59009 /* as_bytecode.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCFB1523FF2300EFAB3F /* as_bytecode.h */; }; - 6E91FF951823DA0D00D59009 /* as_callfunc.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCFD1523FF2300EFAB3F /* as_callfunc.h */; }; - 6E91FF961823DA0D00D59009 /* as_compiler.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD0D1523FF2300EFAB3F /* as_compiler.h */; }; - 6E91FF971823DA0D00D59009 /* as_config.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD0E1523FF2300EFAB3F /* as_config.h */; }; - 6E91FF981823DA0D00D59009 /* as_configgroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD111523FF2300EFAB3F /* as_configgroup.h */; }; - 6E91FF991823DA0D00D59009 /* as_context.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD131523FF2300EFAB3F /* as_context.h */; }; - 6E91FF9A1823DA0D00D59009 /* as_criticalsection.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD141523FF2300EFAB3F /* as_criticalsection.h */; }; - 6E91FF9B1823DA0D00D59009 /* as_datatype.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD161523FF2300EFAB3F /* as_datatype.h */; }; - 6E91FF9C1823DA0D00D59009 /* as_debug.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD171523FF2300EFAB3F /* as_debug.h */; }; - 6E91FF9D1823DA0D00D59009 /* as_gc.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD191523FF2300EFAB3F /* as_gc.h */; }; - 6E91FF9E1823DA0D00D59009 /* as_generic.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD1B1523FF2300EFAB3F /* as_generic.h */; }; - 6E91FF9F1823DA0D00D59009 /* as_map.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD1D1523FF2300EFAB3F /* as_map.h */; }; - 6E91FFA01823DA0D00D59009 /* as_memory.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD1F1523FF2300EFAB3F /* as_memory.h */; }; - 6E91FFA11823DA0D00D59009 /* as_module.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD211523FF2300EFAB3F /* as_module.h */; }; - 6E91FFA21823DA0D00D59009 /* as_objecttype.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD231523FF2300EFAB3F /* as_objecttype.h */; }; - 6E91FFA31823DA0D00D59009 /* as_outputbuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD251523FF2300EFAB3F /* as_outputbuffer.h */; }; - 6E91FFA41823DA0D00D59009 /* as_parser.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD271523FF2300EFAB3F /* as_parser.h */; }; - 6E91FFA51823DA0D00D59009 /* as_property.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD281523FF2300EFAB3F /* as_property.h */; }; - 6E91FFA61823DA0D00D59009 /* as_restore.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD2A1523FF2300EFAB3F /* as_restore.h */; }; - 6E91FFA71823DA0D00D59009 /* as_scriptcode.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD2C1523FF2300EFAB3F /* as_scriptcode.h */; }; - 6E91FFA81823DA0D00D59009 /* as_scriptengine.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD2E1523FF2300EFAB3F /* as_scriptengine.h */; }; - 6E91FFA91823DA0D00D59009 /* as_scriptfunction.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD301523FF2300EFAB3F /* as_scriptfunction.h */; }; - 6E91FFAA1823DA0D00D59009 /* as_scriptnode.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD321523FF2300EFAB3F /* as_scriptnode.h */; }; - 6E91FFAB1823DA0D00D59009 /* as_scriptobject.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD341523FF2300EFAB3F /* as_scriptobject.h */; }; - 6E91FFAC1823DA0D00D59009 /* as_string.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD361523FF2300EFAB3F /* as_string.h */; }; - 6E91FFAD1823DA0D00D59009 /* as_string_util.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD381523FF2300EFAB3F /* as_string_util.h */; }; - 6E91FFAE1823DA0D00D59009 /* as_texts.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD391523FF2300EFAB3F /* as_texts.h */; }; - 6E91FFAF1823DA0D00D59009 /* as_thread.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD3B1523FF2300EFAB3F /* as_thread.h */; }; - 6E91FFB01823DA0D00D59009 /* as_tokendef.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD3C1523FF2300EFAB3F /* as_tokendef.h */; }; - 6E91FFB11823DA0D00D59009 /* as_tokenizer.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD3E1523FF2300EFAB3F /* as_tokenizer.h */; }; - 6E91FFB21823DA0D00D59009 /* as_typeinfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD401523FF2300EFAB3F /* as_typeinfo.h */; }; - 6E91FFB31823DA0D00D59009 /* as_variablescope.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD421523FF2300EFAB3F /* as_variablescope.h */; }; - 6E91FFB51823DA0D00D59009 /* as_atomic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCF61523FF2300EFAB3F /* as_atomic.cpp */; }; - 6E91FFB61823DA0D00D59009 /* as_builder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCF81523FF2300EFAB3F /* as_builder.cpp */; }; - 6E91FFB71823DA0D00D59009 /* as_bytecode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCFA1523FF2300EFAB3F /* as_bytecode.cpp */; }; - 6E91FFB81823DA0D00D59009 /* as_callfunc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCFC1523FF2300EFAB3F /* as_callfunc.cpp */; }; - 6E91FFB91823DA0D00D59009 /* as_callfunc_arm.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCFE1523FF2300EFAB3F /* as_callfunc_arm.cpp */; }; - 6E91FFBA1823DA0D00D59009 /* as_callfunc_arm_gcc.S in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCFF1523FF2300EFAB3F /* as_callfunc_arm_gcc.S */; }; - 6E91FFBC1823DA0D00D59009 /* as_callfunc_arm_xcode.S in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD011523FF2300EFAB3F /* as_callfunc_arm_xcode.S */; }; - 6E91FFBD1823DA0D00D59009 /* as_callfunc_mips.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD021523FF2300EFAB3F /* as_callfunc_mips.cpp */; }; - 6E91FFBE1823DA0D00D59009 /* as_callfunc_ppc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD031523FF2300EFAB3F /* as_callfunc_ppc.cpp */; }; - 6E91FFBF1823DA0D00D59009 /* as_callfunc_ppc_64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD041523FF2300EFAB3F /* as_callfunc_ppc_64.cpp */; }; - 6E91FFC01823DA0D00D59009 /* as_callfunc_sh4.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD051523FF2300EFAB3F /* as_callfunc_sh4.cpp */; }; - 6E91FFC11823DA0D00D59009 /* as_callfunc_x64_gcc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD061523FF2300EFAB3F /* as_callfunc_x64_gcc.cpp */; }; - 6E91FFC51823DA0D00D59009 /* as_callfunc_x86.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD0A1523FF2300EFAB3F /* as_callfunc_x86.cpp */; }; - 6E91FFC71823DA0D00D59009 /* as_compiler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD0C1523FF2300EFAB3F /* as_compiler.cpp */; }; - 6E91FFC81823DA0D00D59009 /* as_configgroup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD101523FF2300EFAB3F /* as_configgroup.cpp */; }; - 6E91FFC91823DA0D00D59009 /* as_context.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD121523FF2300EFAB3F /* as_context.cpp */; }; - 6E91FFCA1823DA0D00D59009 /* as_datatype.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD151523FF2300EFAB3F /* as_datatype.cpp */; }; - 6E91FFCB1823DA0D00D59009 /* as_gc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD181523FF2300EFAB3F /* as_gc.cpp */; }; - 6E91FFCC1823DA0D00D59009 /* as_generic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD1A1523FF2300EFAB3F /* as_generic.cpp */; }; - 6E91FFCD1823DA0D00D59009 /* as_globalproperty.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD1C1523FF2300EFAB3F /* as_globalproperty.cpp */; }; - 6E91FFCE1823DA0D00D59009 /* as_memory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD1E1523FF2300EFAB3F /* as_memory.cpp */; }; - 6E91FFCF1823DA0D00D59009 /* as_module.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD201523FF2300EFAB3F /* as_module.cpp */; }; - 6E91FFD01823DA0D00D59009 /* as_objecttype.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD221523FF2300EFAB3F /* as_objecttype.cpp */; }; - 6E91FFD11823DA0D00D59009 /* as_outputbuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD241523FF2300EFAB3F /* as_outputbuffer.cpp */; }; - 6E91FFD21823DA0D00D59009 /* as_parser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD261523FF2300EFAB3F /* as_parser.cpp */; }; - 6E91FFD31823DA0D00D59009 /* as_restore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD291523FF2300EFAB3F /* as_restore.cpp */; }; - 6E91FFD41823DA0D00D59009 /* as_scriptcode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD2B1523FF2300EFAB3F /* as_scriptcode.cpp */; }; - 6E91FFD51823DA0D00D59009 /* as_scriptengine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD2D1523FF2300EFAB3F /* as_scriptengine.cpp */; }; - 6E91FFD61823DA0D00D59009 /* as_scriptfunction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD2F1523FF2300EFAB3F /* as_scriptfunction.cpp */; }; - 6E91FFD71823DA0D00D59009 /* as_scriptnode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD311523FF2300EFAB3F /* as_scriptnode.cpp */; }; - 6E91FFD81823DA0D00D59009 /* as_scriptobject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD331523FF2300EFAB3F /* as_scriptobject.cpp */; }; - 6E91FFD91823DA0D00D59009 /* as_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD351523FF2300EFAB3F /* as_string.cpp */; }; - 6E91FFDA1823DA0D00D59009 /* as_string_util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD371523FF2300EFAB3F /* as_string_util.cpp */; }; - 6E91FFDB1823DA0D00D59009 /* as_thread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD3A1523FF2300EFAB3F /* as_thread.cpp */; }; - 6E91FFDC1823DA0D00D59009 /* as_tokenizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD3D1523FF2300EFAB3F /* as_tokenizer.cpp */; }; - 6E91FFDD1823DA0D00D59009 /* as_typeinfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD3F1523FF2300EFAB3F /* as_typeinfo.cpp */; }; - 6E91FFDE1823DA0D00D59009 /* as_variablescope.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD411523FF2300EFAB3F /* as_variablescope.cpp */; }; - 7547BD451523FF2300EFAB3F /* as_array.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCF51523FF2300EFAB3F /* as_array.h */; }; - 7547BD461523FF2300EFAB3F /* as_atomic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCF61523FF2300EFAB3F /* as_atomic.cpp */; }; - 7547BD471523FF2300EFAB3F /* as_atomic.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCF71523FF2300EFAB3F /* as_atomic.h */; }; - 7547BD481523FF2300EFAB3F /* as_builder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCF81523FF2300EFAB3F /* as_builder.cpp */; }; - 7547BD491523FF2300EFAB3F /* as_builder.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCF91523FF2300EFAB3F /* as_builder.h */; }; - 7547BD4A1523FF2300EFAB3F /* as_bytecode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCFA1523FF2300EFAB3F /* as_bytecode.cpp */; }; - 7547BD4B1523FF2300EFAB3F /* as_bytecode.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCFB1523FF2300EFAB3F /* as_bytecode.h */; }; - 7547BD4C1523FF2300EFAB3F /* as_callfunc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCFC1523FF2300EFAB3F /* as_callfunc.cpp */; }; - 7547BD4D1523FF2300EFAB3F /* as_callfunc.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BCFD1523FF2300EFAB3F /* as_callfunc.h */; }; - 7547BD4E1523FF2300EFAB3F /* as_callfunc_arm.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCFE1523FF2300EFAB3F /* as_callfunc_arm.cpp */; }; - 7547BD4F1523FF2300EFAB3F /* as_callfunc_arm_gcc.S in Sources */ = {isa = PBXBuildFile; fileRef = 7547BCFF1523FF2300EFAB3F /* as_callfunc_arm_gcc.S */; }; - 7547BD521523FF2300EFAB3F /* as_callfunc_mips.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD021523FF2300EFAB3F /* as_callfunc_mips.cpp */; }; - 7547BD531523FF2300EFAB3F /* as_callfunc_ppc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD031523FF2300EFAB3F /* as_callfunc_ppc.cpp */; }; - 7547BD541523FF2300EFAB3F /* as_callfunc_ppc_64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD041523FF2300EFAB3F /* as_callfunc_ppc_64.cpp */; }; - 7547BD551523FF2300EFAB3F /* as_callfunc_sh4.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD051523FF2300EFAB3F /* as_callfunc_sh4.cpp */; }; - 7547BD561523FF2300EFAB3F /* as_callfunc_x64_gcc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD061523FF2300EFAB3F /* as_callfunc_x64_gcc.cpp */; }; - 7547BD5A1523FF2300EFAB3F /* as_callfunc_x86.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD0A1523FF2300EFAB3F /* as_callfunc_x86.cpp */; }; - 7547BD5C1523FF2300EFAB3F /* as_compiler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD0C1523FF2300EFAB3F /* as_compiler.cpp */; }; - 7547BD5D1523FF2300EFAB3F /* as_compiler.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD0D1523FF2300EFAB3F /* as_compiler.h */; }; - 7547BD5E1523FF2300EFAB3F /* as_config.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD0E1523FF2300EFAB3F /* as_config.h */; }; - 7547BD5F1523FF2300EFAB3F /* as_configgroup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD101523FF2300EFAB3F /* as_configgroup.cpp */; }; - 7547BD601523FF2300EFAB3F /* as_configgroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD111523FF2300EFAB3F /* as_configgroup.h */; }; - 7547BD611523FF2300EFAB3F /* as_context.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD121523FF2300EFAB3F /* as_context.cpp */; }; - 7547BD621523FF2300EFAB3F /* as_context.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD131523FF2300EFAB3F /* as_context.h */; }; - 7547BD631523FF2300EFAB3F /* as_criticalsection.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD141523FF2300EFAB3F /* as_criticalsection.h */; }; - 7547BD641523FF2300EFAB3F /* as_datatype.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD151523FF2300EFAB3F /* as_datatype.cpp */; }; - 7547BD651523FF2300EFAB3F /* as_datatype.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD161523FF2300EFAB3F /* as_datatype.h */; }; - 7547BD661523FF2300EFAB3F /* as_debug.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD171523FF2300EFAB3F /* as_debug.h */; }; - 7547BD671523FF2300EFAB3F /* as_gc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD181523FF2300EFAB3F /* as_gc.cpp */; }; - 7547BD681523FF2300EFAB3F /* as_gc.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD191523FF2300EFAB3F /* as_gc.h */; }; - 7547BD691523FF2300EFAB3F /* as_generic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD1A1523FF2300EFAB3F /* as_generic.cpp */; }; - 7547BD6A1523FF2300EFAB3F /* as_generic.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD1B1523FF2300EFAB3F /* as_generic.h */; }; - 7547BD6B1523FF2300EFAB3F /* as_globalproperty.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD1C1523FF2300EFAB3F /* as_globalproperty.cpp */; }; - 7547BD6C1523FF2300EFAB3F /* as_map.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD1D1523FF2300EFAB3F /* as_map.h */; }; - 7547BD6D1523FF2300EFAB3F /* as_memory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD1E1523FF2300EFAB3F /* as_memory.cpp */; }; - 7547BD6E1523FF2300EFAB3F /* as_memory.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD1F1523FF2300EFAB3F /* as_memory.h */; }; - 7547BD6F1523FF2300EFAB3F /* as_module.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD201523FF2300EFAB3F /* as_module.cpp */; }; - 7547BD701523FF2300EFAB3F /* as_module.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD211523FF2300EFAB3F /* as_module.h */; }; - 7547BD711523FF2300EFAB3F /* as_objecttype.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD221523FF2300EFAB3F /* as_objecttype.cpp */; }; - 7547BD721523FF2300EFAB3F /* as_objecttype.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD231523FF2300EFAB3F /* as_objecttype.h */; }; - 7547BD731523FF2300EFAB3F /* as_outputbuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD241523FF2300EFAB3F /* as_outputbuffer.cpp */; }; - 7547BD741523FF2300EFAB3F /* as_outputbuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD251523FF2300EFAB3F /* as_outputbuffer.h */; }; - 7547BD751523FF2300EFAB3F /* as_parser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD261523FF2300EFAB3F /* as_parser.cpp */; }; - 7547BD761523FF2300EFAB3F /* as_parser.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD271523FF2300EFAB3F /* as_parser.h */; }; - 7547BD771523FF2300EFAB3F /* as_property.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD281523FF2300EFAB3F /* as_property.h */; }; - 7547BD781523FF2300EFAB3F /* as_restore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD291523FF2300EFAB3F /* as_restore.cpp */; }; - 7547BD791523FF2300EFAB3F /* as_restore.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD2A1523FF2300EFAB3F /* as_restore.h */; }; - 7547BD7A1523FF2300EFAB3F /* as_scriptcode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD2B1523FF2300EFAB3F /* as_scriptcode.cpp */; }; - 7547BD7B1523FF2300EFAB3F /* as_scriptcode.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD2C1523FF2300EFAB3F /* as_scriptcode.h */; }; - 7547BD7C1523FF2300EFAB3F /* as_scriptengine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD2D1523FF2300EFAB3F /* as_scriptengine.cpp */; }; - 7547BD7D1523FF2300EFAB3F /* as_scriptengine.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD2E1523FF2300EFAB3F /* as_scriptengine.h */; }; - 7547BD7E1523FF2300EFAB3F /* as_scriptfunction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD2F1523FF2300EFAB3F /* as_scriptfunction.cpp */; }; - 7547BD7F1523FF2300EFAB3F /* as_scriptfunction.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD301523FF2300EFAB3F /* as_scriptfunction.h */; }; - 7547BD801523FF2300EFAB3F /* as_scriptnode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD311523FF2300EFAB3F /* as_scriptnode.cpp */; }; - 7547BD811523FF2300EFAB3F /* as_scriptnode.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD321523FF2300EFAB3F /* as_scriptnode.h */; }; - 7547BD821523FF2300EFAB3F /* as_scriptobject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD331523FF2300EFAB3F /* as_scriptobject.cpp */; }; - 7547BD831523FF2300EFAB3F /* as_scriptobject.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD341523FF2300EFAB3F /* as_scriptobject.h */; }; - 7547BD841523FF2300EFAB3F /* as_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD351523FF2300EFAB3F /* as_string.cpp */; }; - 7547BD851523FF2300EFAB3F /* as_string.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD361523FF2300EFAB3F /* as_string.h */; }; - 7547BD861523FF2300EFAB3F /* as_string_util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD371523FF2300EFAB3F /* as_string_util.cpp */; }; - 7547BD871523FF2300EFAB3F /* as_string_util.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD381523FF2300EFAB3F /* as_string_util.h */; }; - 7547BD881523FF2300EFAB3F /* as_texts.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD391523FF2300EFAB3F /* as_texts.h */; }; - 7547BD891523FF2300EFAB3F /* as_thread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD3A1523FF2300EFAB3F /* as_thread.cpp */; }; - 7547BD8A1523FF2300EFAB3F /* as_thread.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD3B1523FF2300EFAB3F /* as_thread.h */; }; - 7547BD8B1523FF2300EFAB3F /* as_tokendef.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD3C1523FF2300EFAB3F /* as_tokendef.h */; }; - 7547BD8C1523FF2300EFAB3F /* as_tokenizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD3D1523FF2300EFAB3F /* as_tokenizer.cpp */; }; - 7547BD8D1523FF2300EFAB3F /* as_tokenizer.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD3E1523FF2300EFAB3F /* as_tokenizer.h */; }; - 7547BD8E1523FF2300EFAB3F /* as_typeinfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD3F1523FF2300EFAB3F /* as_typeinfo.cpp */; }; - 7547BD8F1523FF2300EFAB3F /* as_typeinfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD401523FF2300EFAB3F /* as_typeinfo.h */; }; - 7547BD901523FF2300EFAB3F /* as_variablescope.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7547BD411523FF2300EFAB3F /* as_variablescope.cpp */; }; - 7547BD911523FF2300EFAB3F /* as_variablescope.h in Headers */ = {isa = PBXBuildFile; fileRef = 7547BD421523FF2300EFAB3F /* as_variablescope.h */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 6E9100001823FBA300D59009 /* scriptbuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scriptbuilder.h; sourceTree = ""; }; - 6E9100021823FBA300D59009 /* scriptdictionary.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptdictionary.cpp; sourceTree = ""; }; - 6E9100031823FBA300D59009 /* scriptdictionary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scriptdictionary.h; sourceTree = ""; }; - 6E9100051823FBA300D59009 /* scriptfile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptfile.cpp; sourceTree = ""; }; - 6E9100061823FBA300D59009 /* scriptfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scriptfile.h; sourceTree = ""; }; - 6E9100081823FBA300D59009 /* scripthandle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scripthandle.cpp; sourceTree = ""; }; - 6E9100091823FBA300D59009 /* scripthandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scripthandle.h; sourceTree = ""; }; - 6E91000B1823FBA300D59009 /* scripthelper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scripthelper.cpp; sourceTree = ""; }; - 6E91000C1823FBA300D59009 /* scripthelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scripthelper.h; sourceTree = ""; }; - 6E91000E1823FBA300D59009 /* scriptmath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptmath.cpp; sourceTree = ""; }; - 6E91000F1823FBA300D59009 /* scriptmath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scriptmath.h; sourceTree = ""; }; - 6E9100101823FBA300D59009 /* scriptmathcomplex.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptmathcomplex.cpp; sourceTree = ""; }; - 6E9100111823FBA300D59009 /* scriptmathcomplex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scriptmathcomplex.h; sourceTree = ""; }; - 6E9100131823FBA300D59009 /* scriptstdstring.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptstdstring.cpp; sourceTree = ""; }; - 6E9100141823FBA300D59009 /* scriptstdstring.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scriptstdstring.h; sourceTree = ""; }; - 6E9100151823FBA300D59009 /* scriptstdstring_utils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptstdstring_utils.cpp; sourceTree = ""; }; - 6E9100171823FBA300D59009 /* serializer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = serializer.cpp; sourceTree = ""; }; - 6E9100181823FBA300D59009 /* serializer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = serializer.h; sourceTree = ""; }; - 6E91001A1823FBA300D59009 /* weakref.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = weakref.cpp; sourceTree = ""; }; - 6E91001B1823FBA300D59009 /* weakref.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = weakref.h; sourceTree = ""; }; - 6E91005B1823FC7000D59009 /* angelscript.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = angelscript.h; sourceTree = ""; }; - 6E91FFE31823DA0D00D59009 /* libangelscript.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libangelscript.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 6E91FFED1823FBA300D59009 /* aswrappedcall.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = aswrappedcall.h; sourceTree = ""; }; - 6E91FFEF1823FBA300D59009 /* generateheader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = generateheader.cpp; sourceTree = ""; }; - 6E91FFF01823FBA300D59009 /* generator.sln */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = generator.sln; sourceTree = ""; }; - 6E91FFF11823FBA300D59009 /* generator.vcproj */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = generator.vcproj; sourceTree = ""; }; - 6E91FFF31823FBA300D59009 /* contextmgr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = contextmgr.cpp; sourceTree = ""; }; - 6E91FFF41823FBA300D59009 /* contextmgr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = contextmgr.h; sourceTree = ""; }; - 6E91FFF61823FBA300D59009 /* debugger.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = debugger.cpp; sourceTree = ""; }; - 6E91FFF71823FBA300D59009 /* debugger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = debugger.h; sourceTree = ""; }; - 6E91FFF91823FBA300D59009 /* scriptany.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptany.cpp; sourceTree = ""; }; - 6E91FFFA1823FBA300D59009 /* scriptany.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scriptany.h; sourceTree = ""; }; - 6E91FFFC1823FBA300D59009 /* scriptarray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptarray.cpp; sourceTree = ""; }; - 6E91FFFD1823FBA300D59009 /* scriptarray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = scriptarray.h; sourceTree = ""; }; - 6E91FFFF1823FBA300D59009 /* scriptbuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scriptbuilder.cpp; sourceTree = ""; }; - 7547BCF51523FF2300EFAB3F /* as_array.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_array.h; sourceTree = ""; }; - 7547BCF61523FF2300EFAB3F /* as_atomic.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_atomic.cpp; sourceTree = ""; }; - 7547BCF71523FF2300EFAB3F /* as_atomic.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_atomic.h; sourceTree = ""; }; - 7547BCF81523FF2300EFAB3F /* as_builder.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_builder.cpp; sourceTree = ""; }; - 7547BCF91523FF2300EFAB3F /* as_builder.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_builder.h; sourceTree = ""; }; - 7547BCFA1523FF2300EFAB3F /* as_bytecode.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_bytecode.cpp; sourceTree = ""; }; - 7547BCFB1523FF2300EFAB3F /* as_bytecode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_bytecode.h; sourceTree = ""; }; - 7547BCFC1523FF2300EFAB3F /* as_callfunc.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc.cpp; sourceTree = ""; }; - 7547BCFD1523FF2300EFAB3F /* as_callfunc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_callfunc.h; sourceTree = ""; }; - 7547BCFE1523FF2300EFAB3F /* as_callfunc_arm.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_arm.cpp; sourceTree = ""; }; - 7547BCFF1523FF2300EFAB3F /* as_callfunc_arm_gcc.S */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.asm; path = as_callfunc_arm_gcc.S; sourceTree = ""; }; - 7547BD001523FF2300EFAB3F /* as_callfunc_arm_msvc.asm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.asm.asm; path = as_callfunc_arm_msvc.asm; sourceTree = ""; }; - 7547BD011523FF2300EFAB3F /* as_callfunc_arm_xcode.S */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.asm; path = as_callfunc_arm_xcode.S; sourceTree = ""; }; - 7547BD021523FF2300EFAB3F /* as_callfunc_mips.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_mips.cpp; sourceTree = ""; }; - 7547BD031523FF2300EFAB3F /* as_callfunc_ppc.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_ppc.cpp; sourceTree = ""; }; - 7547BD041523FF2300EFAB3F /* as_callfunc_ppc_64.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_ppc_64.cpp; sourceTree = ""; }; - 7547BD051523FF2300EFAB3F /* as_callfunc_sh4.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_sh4.cpp; sourceTree = ""; }; - 7547BD061523FF2300EFAB3F /* as_callfunc_x64_gcc.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_x64_gcc.cpp; sourceTree = ""; }; - 7547BD071523FF2300EFAB3F /* as_callfunc_x64_mingw.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_x64_mingw.cpp; sourceTree = ""; }; - 7547BD081523FF2300EFAB3F /* as_callfunc_x64_msvc.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_x64_msvc.cpp; sourceTree = ""; }; - 7547BD091523FF2300EFAB3F /* as_callfunc_x64_msvc_asm.asm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.asm.asm; path = as_callfunc_x64_msvc_asm.asm; sourceTree = ""; }; - 7547BD0A1523FF2300EFAB3F /* as_callfunc_x86.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_x86.cpp; sourceTree = ""; }; - 7547BD0B1523FF2300EFAB3F /* as_callfunc_xenon.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_callfunc_xenon.cpp; sourceTree = ""; }; - 7547BD0C1523FF2300EFAB3F /* as_compiler.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_compiler.cpp; sourceTree = ""; }; - 7547BD0D1523FF2300EFAB3F /* as_compiler.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_compiler.h; sourceTree = ""; }; - 7547BD0E1523FF2300EFAB3F /* as_config.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_config.h; sourceTree = ""; }; - 7547BD101523FF2300EFAB3F /* as_configgroup.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_configgroup.cpp; sourceTree = ""; }; - 7547BD111523FF2300EFAB3F /* as_configgroup.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_configgroup.h; sourceTree = ""; }; - 7547BD121523FF2300EFAB3F /* as_context.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_context.cpp; sourceTree = ""; }; - 7547BD131523FF2300EFAB3F /* as_context.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_context.h; sourceTree = ""; }; - 7547BD141523FF2300EFAB3F /* as_criticalsection.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_criticalsection.h; sourceTree = ""; }; - 7547BD151523FF2300EFAB3F /* as_datatype.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_datatype.cpp; sourceTree = ""; }; - 7547BD161523FF2300EFAB3F /* as_datatype.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_datatype.h; sourceTree = ""; }; - 7547BD171523FF2300EFAB3F /* as_debug.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_debug.h; sourceTree = ""; }; - 7547BD181523FF2300EFAB3F /* as_gc.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_gc.cpp; sourceTree = ""; }; - 7547BD191523FF2300EFAB3F /* as_gc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_gc.h; sourceTree = ""; }; - 7547BD1A1523FF2300EFAB3F /* as_generic.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_generic.cpp; sourceTree = ""; }; - 7547BD1B1523FF2300EFAB3F /* as_generic.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_generic.h; sourceTree = ""; }; - 7547BD1C1523FF2300EFAB3F /* as_globalproperty.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_globalproperty.cpp; sourceTree = ""; }; - 7547BD1D1523FF2300EFAB3F /* as_map.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_map.h; sourceTree = ""; }; - 7547BD1E1523FF2300EFAB3F /* as_memory.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_memory.cpp; sourceTree = ""; }; - 7547BD1F1523FF2300EFAB3F /* as_memory.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_memory.h; sourceTree = ""; }; - 7547BD201523FF2300EFAB3F /* as_module.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_module.cpp; sourceTree = ""; }; - 7547BD211523FF2300EFAB3F /* as_module.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_module.h; sourceTree = ""; }; - 7547BD221523FF2300EFAB3F /* as_objecttype.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_objecttype.cpp; sourceTree = ""; }; - 7547BD231523FF2300EFAB3F /* as_objecttype.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_objecttype.h; sourceTree = ""; }; - 7547BD241523FF2300EFAB3F /* as_outputbuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_outputbuffer.cpp; sourceTree = ""; }; - 7547BD251523FF2300EFAB3F /* as_outputbuffer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_outputbuffer.h; sourceTree = ""; }; - 7547BD261523FF2300EFAB3F /* as_parser.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_parser.cpp; sourceTree = ""; }; - 7547BD271523FF2300EFAB3F /* as_parser.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_parser.h; sourceTree = ""; }; - 7547BD281523FF2300EFAB3F /* as_property.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_property.h; sourceTree = ""; }; - 7547BD291523FF2300EFAB3F /* as_restore.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_restore.cpp; sourceTree = ""; }; - 7547BD2A1523FF2300EFAB3F /* as_restore.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_restore.h; sourceTree = ""; }; - 7547BD2B1523FF2300EFAB3F /* as_scriptcode.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_scriptcode.cpp; sourceTree = ""; }; - 7547BD2C1523FF2300EFAB3F /* as_scriptcode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_scriptcode.h; sourceTree = ""; }; - 7547BD2D1523FF2300EFAB3F /* as_scriptengine.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_scriptengine.cpp; sourceTree = ""; }; - 7547BD2E1523FF2300EFAB3F /* as_scriptengine.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_scriptengine.h; sourceTree = ""; }; - 7547BD2F1523FF2300EFAB3F /* as_scriptfunction.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_scriptfunction.cpp; sourceTree = ""; }; - 7547BD301523FF2300EFAB3F /* as_scriptfunction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_scriptfunction.h; sourceTree = ""; }; - 7547BD311523FF2300EFAB3F /* as_scriptnode.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_scriptnode.cpp; sourceTree = ""; }; - 7547BD321523FF2300EFAB3F /* as_scriptnode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_scriptnode.h; sourceTree = ""; }; - 7547BD331523FF2300EFAB3F /* as_scriptobject.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_scriptobject.cpp; sourceTree = ""; }; - 7547BD341523FF2300EFAB3F /* as_scriptobject.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_scriptobject.h; sourceTree = ""; }; - 7547BD351523FF2300EFAB3F /* as_string.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_string.cpp; sourceTree = ""; }; - 7547BD361523FF2300EFAB3F /* as_string.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_string.h; sourceTree = ""; }; - 7547BD371523FF2300EFAB3F /* as_string_util.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_string_util.cpp; sourceTree = ""; }; - 7547BD381523FF2300EFAB3F /* as_string_util.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_string_util.h; sourceTree = ""; }; - 7547BD391523FF2300EFAB3F /* as_texts.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_texts.h; sourceTree = ""; }; - 7547BD3A1523FF2300EFAB3F /* as_thread.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_thread.cpp; sourceTree = ""; }; - 7547BD3B1523FF2300EFAB3F /* as_thread.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_thread.h; sourceTree = ""; }; - 7547BD3C1523FF2300EFAB3F /* as_tokendef.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_tokendef.h; sourceTree = ""; }; - 7547BD3D1523FF2300EFAB3F /* as_tokenizer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_tokenizer.cpp; sourceTree = ""; }; - 7547BD3E1523FF2300EFAB3F /* as_tokenizer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_tokenizer.h; sourceTree = ""; }; - 7547BD3F1523FF2300EFAB3F /* as_typeinfo.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_typeinfo.cpp; sourceTree = ""; }; - 7547BD401523FF2300EFAB3F /* as_typeinfo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_typeinfo.h; sourceTree = ""; }; - 7547BD411523FF2300EFAB3F /* as_variablescope.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = as_variablescope.cpp; sourceTree = ""; }; - 7547BD421523FF2300EFAB3F /* as_variablescope.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = as_variablescope.h; sourceTree = ""; }; - D2AAC07E0554694100DB518D /* libangelscript.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libangelscript.a; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 6E91FFDF1823DA0D00D59009 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D2AAC07C0554694100DB518D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 034768DFFF38A50411DB9C8B /* Products */ = { - isa = PBXGroup; - children = ( - D2AAC07E0554694100DB518D /* libangelscript.a */, - 6E91FFE31823DA0D00D59009 /* libangelscript.a */, - ); - name = Products; - sourceTree = ""; - }; - 0867D691FE84028FC02AAC07 /* angelscript */ = { - isa = PBXGroup; - children = ( - 6E91005A1823FC7000D59009 /* include */, - 6E91FFEB1823FBA300D59009 /* add_on */, - 7547BCF41523FF2300EFAB3F /* source */, - 08FB77AEFE84172EC02AAC07 /* Classes */, - 0867D69AFE84028FC02AAC07 /* Frameworks */, - 034768DFFF38A50411DB9C8B /* Products */, - ); - name = angelscript; - sourceTree = ""; - }; - 0867D69AFE84028FC02AAC07 /* Frameworks */ = { - isa = PBXGroup; - children = ( - ); - name = Frameworks; - sourceTree = ""; - }; - 08FB77AEFE84172EC02AAC07 /* Classes */ = { - isa = PBXGroup; - children = ( - ); - name = Classes; - sourceTree = ""; - }; - 6E9100011823FBA300D59009 /* scriptdictionary */ = { - isa = PBXGroup; - children = ( - 6E9100021823FBA300D59009 /* scriptdictionary.cpp */, - 6E9100031823FBA300D59009 /* scriptdictionary.h */, - ); - path = scriptdictionary; - sourceTree = ""; - }; - 6E9100041823FBA300D59009 /* scriptfile */ = { - isa = PBXGroup; - children = ( - 6E9100051823FBA300D59009 /* scriptfile.cpp */, - 6E9100061823FBA300D59009 /* scriptfile.h */, - ); - path = scriptfile; - sourceTree = ""; - }; - 6E9100071823FBA300D59009 /* scripthandle */ = { - isa = PBXGroup; - children = ( - 6E9100081823FBA300D59009 /* scripthandle.cpp */, - 6E9100091823FBA300D59009 /* scripthandle.h */, - ); - path = scripthandle; - sourceTree = ""; - }; - 6E91000A1823FBA300D59009 /* scripthelper */ = { - isa = PBXGroup; - children = ( - 6E91000B1823FBA300D59009 /* scripthelper.cpp */, - 6E91000C1823FBA300D59009 /* scripthelper.h */, - ); - path = scripthelper; - sourceTree = ""; - }; - 6E91000D1823FBA300D59009 /* scriptmath */ = { - isa = PBXGroup; - children = ( - 6E91000E1823FBA300D59009 /* scriptmath.cpp */, - 6E91000F1823FBA300D59009 /* scriptmath.h */, - 6E9100101823FBA300D59009 /* scriptmathcomplex.cpp */, - 6E9100111823FBA300D59009 /* scriptmathcomplex.h */, - ); - path = scriptmath; - sourceTree = ""; - }; - 6E9100121823FBA300D59009 /* scriptstdstring */ = { - isa = PBXGroup; - children = ( - 6E9100131823FBA300D59009 /* scriptstdstring.cpp */, - 6E9100141823FBA300D59009 /* scriptstdstring.h */, - 6E9100151823FBA300D59009 /* scriptstdstring_utils.cpp */, - ); - path = scriptstdstring; - sourceTree = ""; - }; - 6E9100161823FBA300D59009 /* serializer */ = { - isa = PBXGroup; - children = ( - 6E9100171823FBA300D59009 /* serializer.cpp */, - 6E9100181823FBA300D59009 /* serializer.h */, - ); - path = serializer; - sourceTree = ""; - }; - 6E9100191823FBA300D59009 /* weakref */ = { - isa = PBXGroup; - children = ( - 6E91001A1823FBA300D59009 /* weakref.cpp */, - 6E91001B1823FBA300D59009 /* weakref.h */, - ); - path = weakref; - sourceTree = ""; - }; - 6E91005A1823FC7000D59009 /* include */ = { - isa = PBXGroup; - children = ( - 6E91005B1823FC7000D59009 /* angelscript.h */, - ); - name = include; - path = ../../include; - sourceTree = ""; - }; - 6E91FFEB1823FBA300D59009 /* add_on */ = { - isa = PBXGroup; - children = ( - 6E91FFEC1823FBA300D59009 /* autowrapper */, - 6E91FFF21823FBA300D59009 /* contextmgr */, - 6E91FFF51823FBA300D59009 /* debugger */, - 6E91FFF81823FBA300D59009 /* scriptany */, - 6E91FFFB1823FBA300D59009 /* scriptarray */, - 6E91FFFE1823FBA300D59009 /* scriptbuilder */, - 6E9100011823FBA300D59009 /* scriptdictionary */, - 6E9100041823FBA300D59009 /* scriptfile */, - 6E9100071823FBA300D59009 /* scripthandle */, - 6E91000A1823FBA300D59009 /* scripthelper */, - 6E91000D1823FBA300D59009 /* scriptmath */, - 6E9100121823FBA300D59009 /* scriptstdstring */, - 6E9100161823FBA300D59009 /* serializer */, - 6E9100191823FBA300D59009 /* weakref */, - ); - name = add_on; - path = ../../../add_on; - sourceTree = ""; - }; - 6E91FFEC1823FBA300D59009 /* autowrapper */ = { - isa = PBXGroup; - children = ( - 6E91FFED1823FBA300D59009 /* aswrappedcall.h */, - 6E91FFEE1823FBA300D59009 /* generator */, - ); - path = autowrapper; - sourceTree = ""; - }; - 6E91FFEE1823FBA300D59009 /* generator */ = { - isa = PBXGroup; - children = ( - 6E91FFEF1823FBA300D59009 /* generateheader.cpp */, - 6E91FFF01823FBA300D59009 /* generator.sln */, - 6E91FFF11823FBA300D59009 /* generator.vcproj */, - ); - path = generator; - sourceTree = ""; - }; - 6E91FFF21823FBA300D59009 /* contextmgr */ = { - isa = PBXGroup; - children = ( - 6E91FFF31823FBA300D59009 /* contextmgr.cpp */, - 6E91FFF41823FBA300D59009 /* contextmgr.h */, - ); - path = contextmgr; - sourceTree = ""; - }; - 6E91FFF51823FBA300D59009 /* debugger */ = { - isa = PBXGroup; - children = ( - 6E91FFF61823FBA300D59009 /* debugger.cpp */, - 6E91FFF71823FBA300D59009 /* debugger.h */, - ); - path = debugger; - sourceTree = ""; - }; - 6E91FFF81823FBA300D59009 /* scriptany */ = { - isa = PBXGroup; - children = ( - 6E91FFF91823FBA300D59009 /* scriptany.cpp */, - 6E91FFFA1823FBA300D59009 /* scriptany.h */, - ); - path = scriptany; - sourceTree = ""; - }; - 6E91FFFB1823FBA300D59009 /* scriptarray */ = { - isa = PBXGroup; - children = ( - 6E91FFFC1823FBA300D59009 /* scriptarray.cpp */, - 6E91FFFD1823FBA300D59009 /* scriptarray.h */, - ); - path = scriptarray; - sourceTree = ""; - }; - 6E91FFFE1823FBA300D59009 /* scriptbuilder */ = { - isa = PBXGroup; - children = ( - 6E91FFFF1823FBA300D59009 /* scriptbuilder.cpp */, - 6E9100001823FBA300D59009 /* scriptbuilder.h */, - ); - path = scriptbuilder; - sourceTree = ""; - }; - 7547BCF41523FF2300EFAB3F /* source */ = { - isa = PBXGroup; - children = ( - 7547BCF51523FF2300EFAB3F /* as_array.h */, - 7547BCF61523FF2300EFAB3F /* as_atomic.cpp */, - 7547BCF71523FF2300EFAB3F /* as_atomic.h */, - 7547BCF81523FF2300EFAB3F /* as_builder.cpp */, - 7547BCF91523FF2300EFAB3F /* as_builder.h */, - 7547BCFA1523FF2300EFAB3F /* as_bytecode.cpp */, - 7547BCFB1523FF2300EFAB3F /* as_bytecode.h */, - 7547BCFC1523FF2300EFAB3F /* as_callfunc.cpp */, - 7547BCFD1523FF2300EFAB3F /* as_callfunc.h */, - 7547BCFE1523FF2300EFAB3F /* as_callfunc_arm.cpp */, - 7547BCFF1523FF2300EFAB3F /* as_callfunc_arm_gcc.S */, - 7547BD001523FF2300EFAB3F /* as_callfunc_arm_msvc.asm */, - 7547BD011523FF2300EFAB3F /* as_callfunc_arm_xcode.S */, - 7547BD021523FF2300EFAB3F /* as_callfunc_mips.cpp */, - 7547BD031523FF2300EFAB3F /* as_callfunc_ppc.cpp */, - 7547BD041523FF2300EFAB3F /* as_callfunc_ppc_64.cpp */, - 7547BD051523FF2300EFAB3F /* as_callfunc_sh4.cpp */, - 7547BD061523FF2300EFAB3F /* as_callfunc_x64_gcc.cpp */, - 7547BD071523FF2300EFAB3F /* as_callfunc_x64_mingw.cpp */, - 7547BD081523FF2300EFAB3F /* as_callfunc_x64_msvc.cpp */, - 7547BD091523FF2300EFAB3F /* as_callfunc_x64_msvc_asm.asm */, - 7547BD0A1523FF2300EFAB3F /* as_callfunc_x86.cpp */, - 7547BD0B1523FF2300EFAB3F /* as_callfunc_xenon.cpp */, - 7547BD0C1523FF2300EFAB3F /* as_compiler.cpp */, - 7547BD0D1523FF2300EFAB3F /* as_compiler.h */, - 7547BD0E1523FF2300EFAB3F /* as_config.h */, - 7547BD101523FF2300EFAB3F /* as_configgroup.cpp */, - 7547BD111523FF2300EFAB3F /* as_configgroup.h */, - 7547BD121523FF2300EFAB3F /* as_context.cpp */, - 7547BD131523FF2300EFAB3F /* as_context.h */, - 7547BD141523FF2300EFAB3F /* as_criticalsection.h */, - 7547BD151523FF2300EFAB3F /* as_datatype.cpp */, - 7547BD161523FF2300EFAB3F /* as_datatype.h */, - 7547BD171523FF2300EFAB3F /* as_debug.h */, - 7547BD181523FF2300EFAB3F /* as_gc.cpp */, - 7547BD191523FF2300EFAB3F /* as_gc.h */, - 7547BD1A1523FF2300EFAB3F /* as_generic.cpp */, - 7547BD1B1523FF2300EFAB3F /* as_generic.h */, - 7547BD1C1523FF2300EFAB3F /* as_globalproperty.cpp */, - 7547BD1D1523FF2300EFAB3F /* as_map.h */, - 7547BD1E1523FF2300EFAB3F /* as_memory.cpp */, - 7547BD1F1523FF2300EFAB3F /* as_memory.h */, - 7547BD201523FF2300EFAB3F /* as_module.cpp */, - 7547BD211523FF2300EFAB3F /* as_module.h */, - 7547BD221523FF2300EFAB3F /* as_objecttype.cpp */, - 7547BD231523FF2300EFAB3F /* as_objecttype.h */, - 7547BD241523FF2300EFAB3F /* as_outputbuffer.cpp */, - 7547BD251523FF2300EFAB3F /* as_outputbuffer.h */, - 7547BD261523FF2300EFAB3F /* as_parser.cpp */, - 7547BD271523FF2300EFAB3F /* as_parser.h */, - 7547BD281523FF2300EFAB3F /* as_property.h */, - 7547BD291523FF2300EFAB3F /* as_restore.cpp */, - 7547BD2A1523FF2300EFAB3F /* as_restore.h */, - 7547BD2B1523FF2300EFAB3F /* as_scriptcode.cpp */, - 7547BD2C1523FF2300EFAB3F /* as_scriptcode.h */, - 7547BD2D1523FF2300EFAB3F /* as_scriptengine.cpp */, - 7547BD2E1523FF2300EFAB3F /* as_scriptengine.h */, - 7547BD2F1523FF2300EFAB3F /* as_scriptfunction.cpp */, - 7547BD301523FF2300EFAB3F /* as_scriptfunction.h */, - 7547BD311523FF2300EFAB3F /* as_scriptnode.cpp */, - 7547BD321523FF2300EFAB3F /* as_scriptnode.h */, - 7547BD331523FF2300EFAB3F /* as_scriptobject.cpp */, - 7547BD341523FF2300EFAB3F /* as_scriptobject.h */, - 7547BD351523FF2300EFAB3F /* as_string.cpp */, - 7547BD361523FF2300EFAB3F /* as_string.h */, - 7547BD371523FF2300EFAB3F /* as_string_util.cpp */, - 7547BD381523FF2300EFAB3F /* as_string_util.h */, - 7547BD391523FF2300EFAB3F /* as_texts.h */, - 7547BD3A1523FF2300EFAB3F /* as_thread.cpp */, - 7547BD3B1523FF2300EFAB3F /* as_thread.h */, - 7547BD3C1523FF2300EFAB3F /* as_tokendef.h */, - 7547BD3D1523FF2300EFAB3F /* as_tokenizer.cpp */, - 7547BD3E1523FF2300EFAB3F /* as_tokenizer.h */, - 7547BD3F1523FF2300EFAB3F /* as_typeinfo.cpp */, - 7547BD401523FF2300EFAB3F /* as_typeinfo.h */, - 7547BD411523FF2300EFAB3F /* as_variablescope.cpp */, - 7547BD421523FF2300EFAB3F /* as_variablescope.h */, - ); - name = source; - path = ../../source; - sourceTree = SOURCE_ROOT; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 6E91FF901823DA0D00D59009 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 6E91FF911823DA0D00D59009 /* as_array.h in Headers */, - 6E91FF921823DA0D00D59009 /* as_atomic.h in Headers */, - 6E91FF931823DA0D00D59009 /* as_builder.h in Headers */, - 6E91FF941823DA0D00D59009 /* as_bytecode.h in Headers */, - 6E91FF951823DA0D00D59009 /* as_callfunc.h in Headers */, - 6E91FF961823DA0D00D59009 /* as_compiler.h in Headers */, - 6E91003B1823FBA300D59009 /* scriptfile.h in Headers */, - 6E9100231823FBA300D59009 /* contextmgr.h in Headers */, - 6E91FF971823DA0D00D59009 /* as_config.h in Headers */, - 6E91FF981823DA0D00D59009 /* as_configgroup.h in Headers */, - 6E91FF991823DA0D00D59009 /* as_context.h in Headers */, - 6E91FF9A1823DA0D00D59009 /* as_criticalsection.h in Headers */, - 6E91FF9B1823DA0D00D59009 /* as_datatype.h in Headers */, - 6E91FF9C1823DA0D00D59009 /* as_debug.h in Headers */, - 6E91004F1823FBA300D59009 /* scriptstdstring.h in Headers */, - 6E91FF9D1823DA0D00D59009 /* as_gc.h in Headers */, - 6E91FF9E1823DA0D00D59009 /* as_generic.h in Headers */, - 6E91FF9F1823DA0D00D59009 /* as_map.h in Headers */, - 6E9100591823FBA300D59009 /* weakref.h in Headers */, - 6E91FFA01823DA0D00D59009 /* as_memory.h in Headers */, - 6E91FFA11823DA0D00D59009 /* as_module.h in Headers */, - 6E91FFA21823DA0D00D59009 /* as_objecttype.h in Headers */, - 6E91FFA31823DA0D00D59009 /* as_outputbuffer.h in Headers */, - 6E9100471823FBA300D59009 /* scriptmath.h in Headers */, - 6E91FFA41823DA0D00D59009 /* as_parser.h in Headers */, - 6E91002B1823FBA300D59009 /* scriptany.h in Headers */, - 6E91001D1823FBA300D59009 /* aswrappedcall.h in Headers */, - 6E9100431823FBA300D59009 /* scripthelper.h in Headers */, - 6E91FFA51823DA0D00D59009 /* as_property.h in Headers */, - 6E91FFA61823DA0D00D59009 /* as_restore.h in Headers */, - 6E91FFA71823DA0D00D59009 /* as_scriptcode.h in Headers */, - 6E91FFA81823DA0D00D59009 /* as_scriptengine.h in Headers */, - 6E91FFA91823DA0D00D59009 /* as_scriptfunction.h in Headers */, - 6E91005D1823FC7000D59009 /* angelscript.h in Headers */, - 6E91FFAA1823DA0D00D59009 /* as_scriptnode.h in Headers */, - 6E91FFAB1823DA0D00D59009 /* as_scriptobject.h in Headers */, - 6E9100271823FBA300D59009 /* debugger.h in Headers */, - 6E9100371823FBA300D59009 /* scriptdictionary.h in Headers */, - 6E9100551823FBA300D59009 /* serializer.h in Headers */, - 6E91003F1823FBA300D59009 /* scripthandle.h in Headers */, - 6E91004B1823FBA300D59009 /* scriptmathcomplex.h in Headers */, - 6E91FFAC1823DA0D00D59009 /* as_string.h in Headers */, - 6E9100331823FBA300D59009 /* scriptbuilder.h in Headers */, - 6E91FFAD1823DA0D00D59009 /* as_string_util.h in Headers */, - 6E91FFAE1823DA0D00D59009 /* as_texts.h in Headers */, - 6E91FFAF1823DA0D00D59009 /* as_thread.h in Headers */, - 6E91FFB01823DA0D00D59009 /* as_tokendef.h in Headers */, - 6E91FFB11823DA0D00D59009 /* as_tokenizer.h in Headers */, - 6E91FFB21823DA0D00D59009 /* as_typeinfo.h in Headers */, - 6E91FFB31823DA0D00D59009 /* as_variablescope.h in Headers */, - 6E91002F1823FBA300D59009 /* scriptarray.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D2AAC07A0554694100DB518D /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 7547BD451523FF2300EFAB3F /* as_array.h in Headers */, - 7547BD471523FF2300EFAB3F /* as_atomic.h in Headers */, - 7547BD491523FF2300EFAB3F /* as_builder.h in Headers */, - 7547BD4B1523FF2300EFAB3F /* as_bytecode.h in Headers */, - 7547BD4D1523FF2300EFAB3F /* as_callfunc.h in Headers */, - 7547BD5D1523FF2300EFAB3F /* as_compiler.h in Headers */, - 6E91003A1823FBA300D59009 /* scriptfile.h in Headers */, - 6E9100221823FBA300D59009 /* contextmgr.h in Headers */, - 7547BD5E1523FF2300EFAB3F /* as_config.h in Headers */, - 7547BD601523FF2300EFAB3F /* as_configgroup.h in Headers */, - 7547BD621523FF2300EFAB3F /* as_context.h in Headers */, - 7547BD631523FF2300EFAB3F /* as_criticalsection.h in Headers */, - 7547BD651523FF2300EFAB3F /* as_datatype.h in Headers */, - 7547BD661523FF2300EFAB3F /* as_debug.h in Headers */, - 6E91004E1823FBA300D59009 /* scriptstdstring.h in Headers */, - 7547BD681523FF2300EFAB3F /* as_gc.h in Headers */, - 7547BD6A1523FF2300EFAB3F /* as_generic.h in Headers */, - 7547BD6C1523FF2300EFAB3F /* as_map.h in Headers */, - 6E9100581823FBA300D59009 /* weakref.h in Headers */, - 7547BD6E1523FF2300EFAB3F /* as_memory.h in Headers */, - 7547BD701523FF2300EFAB3F /* as_module.h in Headers */, - 7547BD721523FF2300EFAB3F /* as_objecttype.h in Headers */, - 7547BD741523FF2300EFAB3F /* as_outputbuffer.h in Headers */, - 6E9100461823FBA300D59009 /* scriptmath.h in Headers */, - 7547BD761523FF2300EFAB3F /* as_parser.h in Headers */, - 6E91002A1823FBA300D59009 /* scriptany.h in Headers */, - 6E91001C1823FBA300D59009 /* aswrappedcall.h in Headers */, - 6E9100421823FBA300D59009 /* scripthelper.h in Headers */, - 7547BD771523FF2300EFAB3F /* as_property.h in Headers */, - 7547BD791523FF2300EFAB3F /* as_restore.h in Headers */, - 7547BD7B1523FF2300EFAB3F /* as_scriptcode.h in Headers */, - 7547BD7D1523FF2300EFAB3F /* as_scriptengine.h in Headers */, - 7547BD7F1523FF2300EFAB3F /* as_scriptfunction.h in Headers */, - 6E91005C1823FC7000D59009 /* angelscript.h in Headers */, - 7547BD811523FF2300EFAB3F /* as_scriptnode.h in Headers */, - 7547BD831523FF2300EFAB3F /* as_scriptobject.h in Headers */, - 6E9100261823FBA300D59009 /* debugger.h in Headers */, - 6E9100361823FBA300D59009 /* scriptdictionary.h in Headers */, - 6E9100541823FBA300D59009 /* serializer.h in Headers */, - 6E91003E1823FBA300D59009 /* scripthandle.h in Headers */, - 6E91004A1823FBA300D59009 /* scriptmathcomplex.h in Headers */, - 7547BD851523FF2300EFAB3F /* as_string.h in Headers */, - 6E9100321823FBA300D59009 /* scriptbuilder.h in Headers */, - 7547BD871523FF2300EFAB3F /* as_string_util.h in Headers */, - 7547BD881523FF2300EFAB3F /* as_texts.h in Headers */, - 7547BD8A1523FF2300EFAB3F /* as_thread.h in Headers */, - 7547BD8B1523FF2300EFAB3F /* as_tokendef.h in Headers */, - 7547BD8D1523FF2300EFAB3F /* as_tokenizer.h in Headers */, - 7547BD8F1523FF2300EFAB3F /* as_typeinfo.h in Headers */, - 7547BD911523FF2300EFAB3F /* as_variablescope.h in Headers */, - 6E91002E1823FBA300D59009 /* scriptarray.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 6E91FF8F1823DA0D00D59009 /* angelscript iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 6E91FFE01823DA0D00D59009 /* Build configuration list for PBXNativeTarget "angelscript iOS" */; - buildPhases = ( - 6E91FF901823DA0D00D59009 /* Headers */, - 6E91FFB41823DA0D00D59009 /* Sources */, - 6E91FFDF1823DA0D00D59009 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "angelscript iOS"; - productName = angelscript; - productReference = 6E91FFE31823DA0D00D59009 /* libangelscript.a */; - productType = "com.apple.product-type.library.static"; - }; - D2AAC07D0554694100DB518D /* angelscript OSX */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1DEB921E08733DC00010E9CD /* Build configuration list for PBXNativeTarget "angelscript OSX" */; - buildPhases = ( - D2AAC07A0554694100DB518D /* Headers */, - D2AAC07B0554694100DB518D /* Sources */, - D2AAC07C0554694100DB518D /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "angelscript OSX"; - productName = angelscript; - productReference = D2AAC07E0554694100DB518D /* libangelscript.a */; - productType = "com.apple.product-type.library.static"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 0867D690FE84028FC02AAC07 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0500; - }; - buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "angelscript" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - English, - Japanese, - French, - German, - ); - mainGroup = 0867D691FE84028FC02AAC07 /* angelscript */; - productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - D2AAC07D0554694100DB518D /* angelscript OSX */, - 6E91FF8F1823DA0D00D59009 /* angelscript iOS */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 6E91FFB41823DA0D00D59009 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6E91FFB51823DA0D00D59009 /* as_atomic.cpp in Sources */, - 6E91FFB61823DA0D00D59009 /* as_builder.cpp in Sources */, - 6E91FFB71823DA0D00D59009 /* as_bytecode.cpp in Sources */, - 6E9100291823FBA300D59009 /* scriptany.cpp in Sources */, - 6E91FFB81823DA0D00D59009 /* as_callfunc.cpp in Sources */, - 6E9100511823FBA300D59009 /* scriptstdstring_utils.cpp in Sources */, - 6E91FFB91823DA0D00D59009 /* as_callfunc_arm.cpp in Sources */, - 6E9100211823FBA300D59009 /* contextmgr.cpp in Sources */, - 6E91FFBA1823DA0D00D59009 /* as_callfunc_arm_gcc.S in Sources */, - 6E91FFBC1823DA0D00D59009 /* as_callfunc_arm_xcode.S in Sources */, - 6E91FFBD1823DA0D00D59009 /* as_callfunc_mips.cpp in Sources */, - 6E91FFBE1823DA0D00D59009 /* as_callfunc_ppc.cpp in Sources */, - 6E9100251823FBA300D59009 /* debugger.cpp in Sources */, - 6E91FFBF1823DA0D00D59009 /* as_callfunc_ppc_64.cpp in Sources */, - 6E91FFC01823DA0D00D59009 /* as_callfunc_sh4.cpp in Sources */, - 6E9100451823FBA300D59009 /* scriptmath.cpp in Sources */, - 6E91FFC11823DA0D00D59009 /* as_callfunc_x64_gcc.cpp in Sources */, - 6E91FFC51823DA0D00D59009 /* as_callfunc_x86.cpp in Sources */, - 6E9100391823FBA300D59009 /* scriptfile.cpp in Sources */, - 6E91FFC71823DA0D00D59009 /* as_compiler.cpp in Sources */, - 6E91FFC81823DA0D00D59009 /* as_configgroup.cpp in Sources */, - 6E91002D1823FBA300D59009 /* scriptarray.cpp in Sources */, - 6E91FFC91823DA0D00D59009 /* as_context.cpp in Sources */, - 6E9100571823FBA300D59009 /* weakref.cpp in Sources */, - 6E91FFCA1823DA0D00D59009 /* as_datatype.cpp in Sources */, - 6E91004D1823FBA300D59009 /* scriptstdstring.cpp in Sources */, - 6E9100531823FBA300D59009 /* serializer.cpp in Sources */, - 6E91FFCB1823DA0D00D59009 /* as_gc.cpp in Sources */, - 6E91FFCC1823DA0D00D59009 /* as_generic.cpp in Sources */, - 6E91FFCD1823DA0D00D59009 /* as_globalproperty.cpp in Sources */, - 6E9100411823FBA300D59009 /* scripthelper.cpp in Sources */, - 6E91FFCE1823DA0D00D59009 /* as_memory.cpp in Sources */, - 6E91FFCF1823DA0D00D59009 /* as_module.cpp in Sources */, - 6E9100491823FBA300D59009 /* scriptmathcomplex.cpp in Sources */, - 6E91FFD01823DA0D00D59009 /* as_objecttype.cpp in Sources */, - 6E91FFD11823DA0D00D59009 /* as_outputbuffer.cpp in Sources */, - 6E91FFD21823DA0D00D59009 /* as_parser.cpp in Sources */, - 6E91FFD31823DA0D00D59009 /* as_restore.cpp in Sources */, - 6E91FFD41823DA0D00D59009 /* as_scriptcode.cpp in Sources */, - 6E91FFD51823DA0D00D59009 /* as_scriptengine.cpp in Sources */, - 6E9100351823FBA300D59009 /* scriptdictionary.cpp in Sources */, - 6E91FFD61823DA0D00D59009 /* as_scriptfunction.cpp in Sources */, - 6E91FFD71823DA0D00D59009 /* as_scriptnode.cpp in Sources */, - 6E91FFD81823DA0D00D59009 /* as_scriptobject.cpp in Sources */, - 6E91FFD91823DA0D00D59009 /* as_string.cpp in Sources */, - 6E9100311823FBA300D59009 /* scriptbuilder.cpp in Sources */, - 6E91FFDA1823DA0D00D59009 /* as_string_util.cpp in Sources */, - 6E91001F1823FBA300D59009 /* generateheader.cpp in Sources */, - 6E91FFDB1823DA0D00D59009 /* as_thread.cpp in Sources */, - 6E91FFDC1823DA0D00D59009 /* as_tokenizer.cpp in Sources */, - 6E91FFDD1823DA0D00D59009 /* as_typeinfo.cpp in Sources */, - 6E91003D1823FBA300D59009 /* scripthandle.cpp in Sources */, - 6E91FFDE1823DA0D00D59009 /* as_variablescope.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D2AAC07B0554694100DB518D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6E9100381823FBA300D59009 /* scriptfile.cpp in Sources */, - 7547BD461523FF2300EFAB3F /* as_atomic.cpp in Sources */, - 7547BD481523FF2300EFAB3F /* as_builder.cpp in Sources */, - 6E9100341823FBA300D59009 /* scriptdictionary.cpp in Sources */, - 6E9100401823FBA300D59009 /* scripthelper.cpp in Sources */, - 7547BD4A1523FF2300EFAB3F /* as_bytecode.cpp in Sources */, - 7547BD4C1523FF2300EFAB3F /* as_callfunc.cpp in Sources */, - 6E91001E1823FBA300D59009 /* generateheader.cpp in Sources */, - 7547BD4E1523FF2300EFAB3F /* as_callfunc_arm.cpp in Sources */, - 6E9100561823FBA300D59009 /* weakref.cpp in Sources */, - 7547BD4F1523FF2300EFAB3F /* as_callfunc_arm_gcc.S in Sources */, - 6E9100441823FBA300D59009 /* scriptmath.cpp in Sources */, - 7547BD521523FF2300EFAB3F /* as_callfunc_mips.cpp in Sources */, - 7547BD531523FF2300EFAB3F /* as_callfunc_ppc.cpp in Sources */, - 6E9100481823FBA300D59009 /* scriptmathcomplex.cpp in Sources */, - 7547BD541523FF2300EFAB3F /* as_callfunc_ppc_64.cpp in Sources */, - 7547BD551523FF2300EFAB3F /* as_callfunc_sh4.cpp in Sources */, - 7547BD561523FF2300EFAB3F /* as_callfunc_x64_gcc.cpp in Sources */, - 6E9100301823FBA300D59009 /* scriptbuilder.cpp in Sources */, - 7547BD5A1523FF2300EFAB3F /* as_callfunc_x86.cpp in Sources */, - 6E91003C1823FBA300D59009 /* scripthandle.cpp in Sources */, - 7547BD5C1523FF2300EFAB3F /* as_compiler.cpp in Sources */, - 6E91004C1823FBA300D59009 /* scriptstdstring.cpp in Sources */, - 7547BD5F1523FF2300EFAB3F /* as_configgroup.cpp in Sources */, - 7547BD611523FF2300EFAB3F /* as_context.cpp in Sources */, - 6E9100241823FBA300D59009 /* debugger.cpp in Sources */, - 7547BD641523FF2300EFAB3F /* as_datatype.cpp in Sources */, - 7547BD671523FF2300EFAB3F /* as_gc.cpp in Sources */, - 6E9100521823FBA300D59009 /* serializer.cpp in Sources */, - 7547BD691523FF2300EFAB3F /* as_generic.cpp in Sources */, - 7547BD6B1523FF2300EFAB3F /* as_globalproperty.cpp in Sources */, - 6E9100201823FBA300D59009 /* contextmgr.cpp in Sources */, - 7547BD6D1523FF2300EFAB3F /* as_memory.cpp in Sources */, - 7547BD6F1523FF2300EFAB3F /* as_module.cpp in Sources */, - 7547BD711523FF2300EFAB3F /* as_objecttype.cpp in Sources */, - 7547BD731523FF2300EFAB3F /* as_outputbuffer.cpp in Sources */, - 7547BD751523FF2300EFAB3F /* as_parser.cpp in Sources */, - 6E9100281823FBA300D59009 /* scriptany.cpp in Sources */, - 7547BD781523FF2300EFAB3F /* as_restore.cpp in Sources */, - 7547BD7A1523FF2300EFAB3F /* as_scriptcode.cpp in Sources */, - 7547BD7C1523FF2300EFAB3F /* as_scriptengine.cpp in Sources */, - 7547BD7E1523FF2300EFAB3F /* as_scriptfunction.cpp in Sources */, - 7547BD801523FF2300EFAB3F /* as_scriptnode.cpp in Sources */, - 7547BD821523FF2300EFAB3F /* as_scriptobject.cpp in Sources */, - 7547BD841523FF2300EFAB3F /* as_string.cpp in Sources */, - 7547BD861523FF2300EFAB3F /* as_string_util.cpp in Sources */, - 7547BD891523FF2300EFAB3F /* as_thread.cpp in Sources */, - 7547BD8C1523FF2300EFAB3F /* as_tokenizer.cpp in Sources */, - 7547BD8E1523FF2300EFAB3F /* as_typeinfo.cpp in Sources */, - 7547BD901523FF2300EFAB3F /* as_variablescope.cpp in Sources */, - 6E91002C1823FBA300D59009 /* scriptarray.cpp in Sources */, - 6E9100501823FBA300D59009 /* scriptstdstring_utils.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 1DEB921F08733DC00010E9CD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - DSTROOT = /tmp/angelscript.dst; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = angelscript_Prefix.pch; - INSTALL_PATH = /usr/local/lib/OSX/x86_64/Debug; - PRODUCT_NAME = angelscript; - SDKROOT = macosx; - }; - name = Debug; - }; - 1DEB922008733DC00010E9CD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - DSTROOT = /tmp/angelscript.dst; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = angelscript_Prefix.pch; - INSTALL_PATH = /usr/local/lib/OSX/x86_64/Release; - PRODUCT_NAME = angelscript; - SDKROOT = macosx; - }; - name = Release; - }; - 1DEB922308733DC00010E9CD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_C_LANGUAGE_STANDARD = c99; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - OTHER_LDFLAGS = "-ObjC"; - PREBINDING = NO; - }; - name = Debug; - }; - 1DEB922408733DC00010E9CD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_C_LANGUAGE_STANDARD = c99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - OTHER_LDFLAGS = "-ObjC"; - PREBINDING = NO; - }; - name = Release; - }; - 6E91FFE11823DA0D00D59009 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; - COPY_PHASE_STRIP = NO; - DSTROOT = /tmp/angelscript.dst; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = angelscript_Prefix.pch; - INSTALL_PATH = /usr/local/lib/iOS/arm64/Debug; - "INSTALL_PATH[sdk=iphonesimulator*]" = /usr/local/lib/iOS/x86_64/Debug; - PRODUCT_NAME = angelscript; - SDKROOT = iphoneos; - }; - name = Debug; - }; - 6E91FFE21823DA0D00D59009 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; - DSTROOT = /tmp/angelscript.dst; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = angelscript_Prefix.pch; - INSTALL_PATH = /usr/local/lib/iOS/arm64/Release; - "INSTALL_PATH[sdk=iphonesimulator*]" = /usr/local/lib/iOS/x86_64/Release; - PRODUCT_NAME = angelscript; - SDKROOT = iphoneos; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1DEB921E08733DC00010E9CD /* Build configuration list for PBXNativeTarget "angelscript OSX" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1DEB921F08733DC00010E9CD /* Debug */, - 1DEB922008733DC00010E9CD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "angelscript" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1DEB922308733DC00010E9CD /* Debug */, - 1DEB922408733DC00010E9CD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 6E91FFE01823DA0D00D59009 /* Build configuration list for PBXNativeTarget "angelscript iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6E91FFE11823DA0D00D59009 /* Debug */, - 6E91FFE21823DA0D00D59009 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 0867D690FE84028FC02AAC07 /* Project object */; -} diff --git a/lib/angelscript/projects/xcode/angelscript_Prefix.pch b/lib/angelscript/projects/xcode/angelscript_Prefix.pch deleted file mode 100644 index bfb739423..000000000 --- a/lib/angelscript/projects/xcode/angelscript_Prefix.pch +++ /dev/null @@ -1,7 +0,0 @@ -// -// Prefix header for all source files of the 'CocoaTouchStaticLibrary' target in the 'CocoaTouchStaticLibrary' project. -// - -#ifdef __OBJC__ - #import -#endif diff --git a/src/scriptengine/angelscript.h b/src/scriptengine/angelscript.h deleted file mode 100644 index 176260a3a..000000000 --- a/src/scriptengine/angelscript.h +++ /dev/null @@ -1,1809 +0,0 @@ -/* - AngelCode Scripting Library - Copyright (c) 2003-2014 Andreas Jonsson - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any - damages arising from the use of this software. - - Permission is granted to anyone to use this software for any - purpose, including commercial applications, and to alter it and - redistribute it freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you - must not claim that you wrote the original software. If you use - this software in a product, an acknowledgment in the product - documentation would be appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and - must not be misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source - distribution. - - The original version of this library can be located at: - http://www.angelcode.com/angelscript/ - - Andreas Jonsson - andreas@angelcode.com -*/ - - -// -// angelscript.h -// -// The script engine interface -// - -//TODO Add Build Target for Scripting Language and provide lib and include using that -//This file will then be removed from this directory. -#ifndef ANGELSCRIPT_H -#define ANGELSCRIPT_H - -#include -#ifndef _MSC_VER -#include -#endif - -#ifdef AS_USE_NAMESPACE - #define BEGIN_AS_NAMESPACE namespace AngelScript { - #define END_AS_NAMESPACE } - #define AS_NAMESPACE_QUALIFIER AngelScript:: -#else - #define BEGIN_AS_NAMESPACE - #define END_AS_NAMESPACE - #define AS_NAMESPACE_QUALIFIER :: -#endif - -BEGIN_AS_NAMESPACE - -// AngelScript version - -#define ANGELSCRIPT_VERSION 22801 -#define ANGELSCRIPT_VERSION_STRING "2.28.1" - -// Data types - -class asIScriptEngine; -class asIScriptModule; -class asIScriptContext; -class asIScriptGeneric; -class asIScriptObject; -class asIObjectType; -class asIScriptFunction; -class asIBinaryStream; -class asIJITCompiler; -class asIThreadManager; -class asILockableSharedBool; - -// Enumerations and constants - -// Return codes -enum asERetCodes -{ - asSUCCESS = 0, - asERROR = -1, - asCONTEXT_ACTIVE = -2, - asCONTEXT_NOT_FINISHED = -3, - asCONTEXT_NOT_PREPARED = -4, - asINVALID_ARG = -5, - asNO_FUNCTION = -6, - asNOT_SUPPORTED = -7, - asINVALID_NAME = -8, - asNAME_TAKEN = -9, - asINVALID_DECLARATION = -10, - asINVALID_OBJECT = -11, - asINVALID_TYPE = -12, - asALREADY_REGISTERED = -13, - asMULTIPLE_FUNCTIONS = -14, - asNO_MODULE = -15, - asNO_GLOBAL_VAR = -16, - asINVALID_CONFIGURATION = -17, - asINVALID_INTERFACE = -18, - asCANT_BIND_ALL_FUNCTIONS = -19, - asLOWER_ARRAY_DIMENSION_NOT_REGISTERED = -20, - asWRONG_CONFIG_GROUP = -21, - asCONFIG_GROUP_IS_IN_USE = -22, - asILLEGAL_BEHAVIOUR_FOR_TYPE = -23, - asWRONG_CALLING_CONV = -24, - asBUILD_IN_PROGRESS = -25, - asINIT_GLOBAL_VARS_FAILED = -26, - asOUT_OF_MEMORY = -27 -}; - -// Engine properties -enum asEEngineProp -{ - asEP_ALLOW_UNSAFE_REFERENCES = 1, - asEP_OPTIMIZE_BYTECODE = 2, - asEP_COPY_SCRIPT_SECTIONS = 3, - asEP_MAX_STACK_SIZE = 4, - asEP_USE_CHARACTER_LITERALS = 5, - asEP_ALLOW_MULTILINE_STRINGS = 6, - asEP_ALLOW_IMPLICIT_HANDLE_TYPES = 7, - asEP_BUILD_WITHOUT_LINE_CUES = 8, - asEP_INIT_GLOBAL_VARS_AFTER_BUILD = 9, - asEP_REQUIRE_ENUM_SCOPE = 10, - asEP_SCRIPT_SCANNER = 11, - asEP_INCLUDE_JIT_INSTRUCTIONS = 12, - asEP_STRING_ENCODING = 13, - asEP_PROPERTY_ACCESSOR_MODE = 14, - asEP_EXPAND_DEF_ARRAY_TO_TMPL = 15, - asEP_AUTO_GARBAGE_COLLECT = 16, - asEP_DISALLOW_GLOBAL_VARS = 17, - asEP_ALWAYS_IMPL_DEFAULT_CONSTRUCT = 18, - asEP_COMPILER_WARNINGS = 19, - asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE = 20, - - asEP_LAST_PROPERTY -}; - -// Calling conventions -enum asECallConvTypes -{ - asCALL_CDECL = 0, - asCALL_STDCALL = 1, - asCALL_THISCALL_ASGLOBAL = 2, - asCALL_THISCALL = 3, - asCALL_CDECL_OBJLAST = 4, - asCALL_CDECL_OBJFIRST = 5, - asCALL_GENERIC = 6 -}; - -// Object type flags -enum asEObjTypeFlags -{ - asOBJ_REF = 0x01, - asOBJ_VALUE = 0x02, - asOBJ_GC = 0x04, - asOBJ_POD = 0x08, - asOBJ_NOHANDLE = 0x10, - asOBJ_SCOPED = 0x20, - asOBJ_TEMPLATE = 0x40, - asOBJ_ASHANDLE = 0x80, - asOBJ_APP_CLASS = 0x100, - asOBJ_APP_CLASS_CONSTRUCTOR = 0x200, - asOBJ_APP_CLASS_DESTRUCTOR = 0x400, - asOBJ_APP_CLASS_ASSIGNMENT = 0x800, - asOBJ_APP_CLASS_COPY_CONSTRUCTOR = 0x1000, - asOBJ_APP_CLASS_C = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR), - asOBJ_APP_CLASS_CD = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR), - asOBJ_APP_CLASS_CA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), - asOBJ_APP_CLASS_CK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_CDA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), - asOBJ_APP_CLASS_CDK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_CAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_CDAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_CONSTRUCTOR + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_D = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR), - asOBJ_APP_CLASS_DA = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT), - asOBJ_APP_CLASS_DK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_DAK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_DESTRUCTOR + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_A = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_ASSIGNMENT), - asOBJ_APP_CLASS_AK = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_ASSIGNMENT + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_CLASS_K = (asOBJ_APP_CLASS + asOBJ_APP_CLASS_COPY_CONSTRUCTOR), - asOBJ_APP_PRIMITIVE = 0x2000, - asOBJ_APP_FLOAT = 0x4000, - asOBJ_APP_CLASS_ALLINTS = 0x8000, - asOBJ_APP_CLASS_ALLFLOATS = 0x10000, - asOBJ_NOCOUNT = 0x20000, - asOBJ_APP_CLASS_ALIGN8 = 0x40000, - asOBJ_MASK_VALID_FLAGS = 0x7FFFF, - asOBJ_SCRIPT_OBJECT = 0x80000, - asOBJ_SHARED = 0x100000, - asOBJ_NOINHERIT = 0x200000, - asOBJ_SCRIPT_FUNCTION = 0x400000 -}; - -// Behaviours -enum asEBehaviours -{ - // Value object memory management - asBEHAVE_CONSTRUCT, - asBEHAVE_LIST_CONSTRUCT, - asBEHAVE_DESTRUCT, - - // Reference object memory management - asBEHAVE_FACTORY, - asBEHAVE_LIST_FACTORY, - asBEHAVE_ADDREF, - asBEHAVE_RELEASE, - asBEHAVE_GET_WEAKREF_FLAG, - - // Object operators - asBEHAVE_VALUE_CAST, - asBEHAVE_IMPLICIT_VALUE_CAST, - asBEHAVE_REF_CAST, - asBEHAVE_IMPLICIT_REF_CAST, - asBEHAVE_TEMPLATE_CALLBACK, - - // Garbage collection behaviours - asBEHAVE_FIRST_GC, - asBEHAVE_GETREFCOUNT = asBEHAVE_FIRST_GC, - asBEHAVE_SETGCFLAG, - asBEHAVE_GETGCFLAG, - asBEHAVE_ENUMREFS, - asBEHAVE_RELEASEREFS, - asBEHAVE_LAST_GC = asBEHAVE_RELEASEREFS, - - asBEHAVE_MAX -}; - -// Context states -enum asEContextState -{ - asEXECUTION_FINISHED = 0, - asEXECUTION_SUSPENDED = 1, - asEXECUTION_ABORTED = 2, - asEXECUTION_EXCEPTION = 3, - asEXECUTION_PREPARED = 4, - asEXECUTION_UNINITIALIZED = 5, - asEXECUTION_ACTIVE = 6, - asEXECUTION_ERROR = 7 -}; - -// Message types -enum asEMsgType -{ - asMSGTYPE_ERROR = 0, - asMSGTYPE_WARNING = 1, - asMSGTYPE_INFORMATION = 2 -}; - -// Garbage collector flags -enum asEGCFlags -{ - asGC_FULL_CYCLE = 1, - asGC_ONE_STEP = 2, - asGC_DESTROY_GARBAGE = 4, - asGC_DETECT_GARBAGE = 8 -}; - -// Token classes -enum asETokenClass -{ - asTC_UNKNOWN = 0, - asTC_KEYWORD = 1, - asTC_VALUE = 2, - asTC_IDENTIFIER = 3, - asTC_COMMENT = 4, - asTC_WHITESPACE = 5 -}; - -// Type id flags -enum asETypeIdFlags -{ - asTYPEID_VOID = 0, - asTYPEID_BOOL = 1, - asTYPEID_INT8 = 2, - asTYPEID_INT16 = 3, - asTYPEID_INT32 = 4, - asTYPEID_INT64 = 5, - asTYPEID_UINT8 = 6, - asTYPEID_UINT16 = 7, - asTYPEID_UINT32 = 8, - asTYPEID_UINT64 = 9, - asTYPEID_FLOAT = 10, - asTYPEID_DOUBLE = 11, - asTYPEID_OBJHANDLE = 0x40000000, - asTYPEID_HANDLETOCONST = 0x20000000, - asTYPEID_MASK_OBJECT = 0x1C000000, - asTYPEID_APPOBJECT = 0x04000000, - asTYPEID_SCRIPTOBJECT = 0x08000000, - asTYPEID_TEMPLATE = 0x10000000, - asTYPEID_MASK_SEQNBR = 0x03FFFFFF -}; - -// Type modifiers -enum asETypeModifiers -{ - asTM_NONE = 0, - asTM_INREF = 1, - asTM_OUTREF = 2, - asTM_INOUTREF = 3, - asTM_CONST = 4 -}; - -// GetModule flags -enum asEGMFlags -{ - asGM_ONLY_IF_EXISTS = 0, - asGM_CREATE_IF_NOT_EXISTS = 1, - asGM_ALWAYS_CREATE = 2 -}; - -// Compile flags -enum asECompileFlags -{ - asCOMP_ADD_TO_MODULE = 1 -}; - -// Function types -enum asEFuncType -{ - asFUNC_DUMMY =-1, - asFUNC_SYSTEM = 0, - asFUNC_SCRIPT = 1, - asFUNC_INTERFACE = 2, - asFUNC_VIRTUAL = 3, - asFUNC_FUNCDEF = 4, - asFUNC_IMPORTED = 5, - asFUNC_DELEGATE = 6 -}; - -// -// asBYTE = 8 bits -// asWORD = 16 bits -// asDWORD = 32 bits -// asQWORD = 64 bits -// asPWORD = size of pointer -// -typedef unsigned char asBYTE; -typedef unsigned short asWORD; -typedef unsigned int asUINT; -#if (defined(_MSC_VER) && _MSC_VER <= 1200) || defined(__S3E__) - // size_t is not really correct, since it only guaranteed to be large enough to hold the segment size. - // For example, on 16bit systems the size_t may be 16bits only even if pointers are 32bit. But nobody - // is likely to use MSVC6 to compile for 16bit systems anymore, so this should be ok. - typedef size_t asPWORD; -#else - typedef uintptr_t asPWORD; -#endif -#ifdef __LP64__ - typedef unsigned int asDWORD; - typedef unsigned long asQWORD; - typedef long asINT64; -#else - typedef unsigned long asDWORD; - #if defined(__GNUC__) || defined(__MWERKS__) - typedef uint64_t asQWORD; - typedef int64_t asINT64; - #else - typedef unsigned __int64 asQWORD; - typedef __int64 asINT64; - #endif -#endif - -// Is the target a 64bit system? -#if defined(__LP64__) || defined(__amd64__) || defined(__x86_64__) || defined(_M_X64) - #ifndef AS_64BIT_PTR - #define AS_64BIT_PTR - #endif -#endif - -typedef void (*asFUNCTION_t)(); -typedef void (*asGENFUNC_t)(asIScriptGeneric *); -typedef void *(*asALLOCFUNC_t)(size_t); -typedef void (*asFREEFUNC_t)(void *); -typedef void (*asCLEANENGINEFUNC_t)(asIScriptEngine *); -typedef void (*asCLEANMODULEFUNC_t)(asIScriptModule *); -typedef void (*asCLEANCONTEXTFUNC_t)(asIScriptContext *); -typedef void (*asCLEANFUNCTIONFUNC_t)(asIScriptFunction *); -typedef void (*asCLEANOBJECTTYPEFUNC_t)(asIObjectType *); - -// This macro does basically the same thing as offsetof defined in stddef.h, but -// GNUC should not complain about the usage as I'm not using 0 as the base pointer. -#define asOFFSET(s,m) ((size_t)(&reinterpret_cast(100000)->m)-100000) - -#define asFUNCTION(f) asFunctionPtr(f) -#if (defined(_MSC_VER) && _MSC_VER <= 1200) || (defined(__BORLANDC__) && __BORLANDC__ < 0x590) -// MSVC 6 has a bug that prevents it from properly compiling using the correct asFUNCTIONPR with operator > -// so we need to use ordinary C style cast instead of static_cast. The drawback is that the compiler can't -// check that the cast is really valid. -// BCC v5.8 (C++Builder 2006) and earlier have a similar bug which forces us to fall back to a C-style cast. -#define asFUNCTIONPR(f,p,r) asFunctionPtr((void (*)())((r (*)p)(f))) -#else -#define asFUNCTIONPR(f,p,r) asFunctionPtr((void (*)())(static_cast(f))) -#endif - -#ifndef AS_NO_CLASS_METHODS - -class asCUnknownClass; -typedef void (asCUnknownClass::*asMETHOD_t)(); - -struct asSFuncPtr -{ - asSFuncPtr(asBYTE f = 0) - { - for( size_t n = 0; n < sizeof(ptr.dummy); n++ ) - ptr.dummy[n] = 0; - flag = f; - } - - void CopyMethodPtr(const void *mthdPtr, size_t size) - { - for( size_t n = 0; n < size; n++ ) - ptr.dummy[n] = reinterpret_cast(mthdPtr)[n]; - } - - union - { - // The largest known method point is 20 bytes (MSVC 64bit), - // but with 8byte alignment this becomes 24 bytes. So we need - // to be able to store at least that much. - char dummy[25]; - struct {asMETHOD_t mthd; char dummy[25-sizeof(asMETHOD_t)];} m; - struct {asFUNCTION_t func; char dummy[25-sizeof(asFUNCTION_t)];} f; - } ptr; - asBYTE flag; // 1 = generic, 2 = global func, 3 = method -}; - -#if defined(__BORLANDC__) -// A bug in BCC (QC #85374) makes it impossible to distinguish const/non-const method overloads -// with static_cast<>. The workaround is to use an _implicit_cast instead. - - #if __BORLANDC__ < 0x590 - // BCC v5.8 (C++Builder 2006) and earlier have an even more annoying bug which causes - // the "pretty" workaround below (with _implicit_cast<>) to fail. For these compilers - // we need to use a traditional C-style cast. - #define AS_METHOD_AMBIGUITY_CAST(t) (t) - #else -template - T _implicit_cast (T val) -{ return val; } - #define AS_METHOD_AMBIGUITY_CAST(t) AS_NAMESPACE_QUALIFIER _implicit_cast - #endif -#else - #define AS_METHOD_AMBIGUITY_CAST(t) static_cast -#endif - -#define asMETHOD(c,m) asSMethodPtr::Convert((void (c::*)())(&c::m)) -#define asMETHODPR(c,m,p,r) asSMethodPtr::Convert(AS_METHOD_AMBIGUITY_CAST(r (c::*)p)(&c::m)) - -#else // Class methods are disabled - -struct asSFuncPtr -{ - asSFuncPtr(asBYTE f) - { - for( int n = 0; n < sizeof(ptr.dummy); n++ ) - ptr.dummy[n] = 0; - flag = f; - } - - union - { - char dummy[25]; // largest known class method pointer - struct {asFUNCTION_t func; char dummy[25-sizeof(asFUNCTION_t)];} f; - } ptr; - asBYTE flag; // 1 = generic, 2 = global func -}; - -#endif - -struct asSMessageInfo -{ - const char *section; - int row; - int col; - asEMsgType type; - const char *message; -}; - - -// API functions - -// ANGELSCRIPT_EXPORT is defined when compiling the dll or lib -// ANGELSCRIPT_DLL_LIBRARY_IMPORT is defined when dynamically linking to the -// dll through the link lib automatically generated by MSVC++ -// ANGELSCRIPT_DLL_MANUAL_IMPORT is defined when manually loading the dll -// Don't define anything when linking statically to the lib - -#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) - #if defined(ANGELSCRIPT_EXPORT) - #define AS_API __declspec(dllexport) - #elif defined(ANGELSCRIPT_DLL_LIBRARY_IMPORT) - #define AS_API __declspec(dllimport) - #else // statically linked library - #define AS_API - #endif -#elif defined(__GNUC__) - #if defined(ANGELSCRIPT_EXPORT) - #define AS_API __attribute__((visibility ("default"))) - #else - #define AS_API - #endif -#else - #define AS_API -#endif - -#ifndef ANGELSCRIPT_DLL_MANUAL_IMPORT -extern "C" -{ - // Engine - AS_API asIScriptEngine *asCreateScriptEngine(asDWORD version); - AS_API const char *asGetLibraryVersion(); - AS_API const char *asGetLibraryOptions(); - - // Context - AS_API asIScriptContext *asGetActiveContext(); - - // Thread support - AS_API int asPrepareMultithread(asIThreadManager *externalMgr = 0); - AS_API void asUnprepareMultithread(); - AS_API asIThreadManager *asGetThreadManager(); - AS_API void asAcquireExclusiveLock(); - AS_API void asReleaseExclusiveLock(); - AS_API void asAcquireSharedLock(); - AS_API void asReleaseSharedLock(); - AS_API int asAtomicInc(int &value); - AS_API int asAtomicDec(int &value); - AS_API int asThreadCleanup(); - - // Memory management - AS_API int asSetGlobalMemoryFunctions(asALLOCFUNC_t allocFunc, asFREEFUNC_t freeFunc); - AS_API int asResetGlobalMemoryFunctions(); - - // Auxiliary - AS_API asILockableSharedBool *asCreateLockableSharedBool(); -} -#endif // ANGELSCRIPT_DLL_MANUAL_IMPORT - -// Interface declarations - -class asIScriptEngine -{ -public: - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; - - // Engine properties - virtual int SetEngineProperty(asEEngineProp property, asPWORD value) = 0; - virtual asPWORD GetEngineProperty(asEEngineProp property) const = 0; - - // Compiler messages - virtual int SetMessageCallback(const asSFuncPtr &callback, void *obj, asDWORD callConv) = 0; - virtual int ClearMessageCallback() = 0; - virtual int WriteMessage(const char *section, int row, int col, asEMsgType type, const char *message) = 0; - - // JIT Compiler - virtual int SetJITCompiler(asIJITCompiler *compiler) = 0; - virtual asIJITCompiler *GetJITCompiler() const = 0; - - // Global functions - virtual int RegisterGlobalFunction(const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv, void *objForThiscall = 0) = 0; - virtual asUINT GetGlobalFunctionCount() const = 0; - virtual asIScriptFunction *GetGlobalFunctionByIndex(asUINT index) const = 0; - virtual asIScriptFunction *GetGlobalFunctionByDecl(const char *declaration) const = 0; - - // Global properties - virtual int RegisterGlobalProperty(const char *declaration, void *pointer) = 0; - virtual asUINT GetGlobalPropertyCount() const = 0; - virtual int GetGlobalPropertyByIndex(asUINT index, const char **name, const char **nameSpace = 0, int *typeId = 0, bool *isConst = 0, const char **configGroup = 0, void **pointer = 0, asDWORD *accessMask = 0) const = 0; - virtual int GetGlobalPropertyIndexByName(const char *name) const = 0; - virtual int GetGlobalPropertyIndexByDecl(const char *decl) const = 0; - - // Object types - virtual int RegisterObjectType(const char *obj, int byteSize, asDWORD flags) = 0; - virtual int RegisterObjectProperty(const char *obj, const char *declaration, int byteOffset) = 0; - virtual int RegisterObjectMethod(const char *obj, const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv) = 0; - virtual int RegisterObjectBehaviour(const char *obj, asEBehaviours behaviour, const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv, void *objForThiscall = 0) = 0; - virtual int RegisterInterface(const char *name) = 0; - virtual int RegisterInterfaceMethod(const char *intf, const char *declaration) = 0; - virtual asUINT GetObjectTypeCount() const = 0; - virtual asIObjectType *GetObjectTypeByIndex(asUINT index) const = 0; - virtual asIObjectType *GetObjectTypeByName(const char *name) const = 0; - - // String factory - virtual int RegisterStringFactory(const char *datatype, const asSFuncPtr &factoryFunc, asDWORD callConv, void *objForThiscall = 0) = 0; - virtual int GetStringFactoryReturnTypeId() const = 0; - - // Default array type - virtual int RegisterDefaultArrayType(const char *type) = 0; - virtual int GetDefaultArrayTypeId() const = 0; - - // Enums - virtual int RegisterEnum(const char *type) = 0; - virtual int RegisterEnumValue(const char *type, const char *name, int value) = 0; - virtual asUINT GetEnumCount() const = 0; - virtual const char *GetEnumByIndex(asUINT index, int *enumTypeId, const char **nameSpace = 0, const char **configGroup = 0, asDWORD *accessMask = 0) const = 0; - virtual int GetEnumValueCount(int enumTypeId) const = 0; - virtual const char *GetEnumValueByIndex(int enumTypeId, asUINT index, int *outValue) const = 0; - - // Funcdefs - virtual int RegisterFuncdef(const char *decl) = 0; - virtual asUINT GetFuncdefCount() const = 0; - virtual asIScriptFunction *GetFuncdefByIndex(asUINT index) const = 0; - - // Typedefs - virtual int RegisterTypedef(const char *type, const char *decl) = 0; - virtual asUINT GetTypedefCount() const = 0; - virtual const char *GetTypedefByIndex(asUINT index, int *typeId, const char **nameSpace = 0, const char **configGroup = 0, asDWORD *accessMask = 0) const = 0; - - // Configuration groups - virtual int BeginConfigGroup(const char *groupName) = 0; - virtual int EndConfigGroup() = 0; - virtual int RemoveConfigGroup(const char *groupName) = 0; - virtual asDWORD SetDefaultAccessMask(asDWORD defaultMask) = 0; - virtual int SetDefaultNamespace(const char *nameSpace) = 0; - virtual const char *GetDefaultNamespace() const = 0; - - // Script modules - virtual asIScriptModule *GetModule(const char *module, asEGMFlags flag = asGM_ONLY_IF_EXISTS) = 0; - virtual int DiscardModule(const char *module) = 0; - virtual asUINT GetModuleCount() const = 0; - virtual asIScriptModule *GetModuleByIndex(asUINT index) const = 0; - - // Script functions - virtual asIScriptFunction *GetFunctionById(int funcId) const = 0; - virtual asIScriptFunction *GetFuncDefFromTypeId(int typeId) const = 0; - - // Type identification - virtual asIObjectType *GetObjectTypeById(int typeId) const = 0; - virtual int GetTypeIdByDecl(const char *decl) const = 0; - virtual const char *GetTypeDeclaration(int typeId, bool includeNamespace = false) const = 0; - virtual int GetSizeOfPrimitiveType(int typeId) const = 0; - - // Script execution - virtual asIScriptContext *CreateContext() = 0; -#ifdef AS_DEPRECATED - // Deprecated since 2.27.0, 2013-07-18 - virtual void *CreateScriptObject(int typeId) = 0; - virtual void *CreateScriptObjectCopy(void *obj, int typeId) = 0; - virtual void *CreateUninitializedScriptObject(int typeId) = 0; - virtual void AssignScriptObject(void *dstObj, void *srcObj, int typeId) = 0; - virtual void ReleaseScriptObject(void *obj, int typeId) = 0; - virtual void AddRefScriptObject(void *obj, int typeId) = 0; -#endif - virtual void *CreateScriptObject(const asIObjectType *type) = 0; - virtual void *CreateScriptObjectCopy(void *obj, const asIObjectType *type) = 0; - virtual void *CreateUninitializedScriptObject(const asIObjectType *type) = 0; - virtual asIScriptFunction *CreateDelegate(asIScriptFunction *func, void *obj) = 0; - virtual void AssignScriptObject(void *dstObj, void *srcObj, const asIObjectType *type) = 0; - virtual void ReleaseScriptObject(void *obj, const asIObjectType *type) = 0; - virtual void AddRefScriptObject(void *obj, const asIObjectType *type) = 0; - virtual bool IsHandleCompatibleWithObject(void *obj, int objTypeId, int handleTypeId) const = 0; - virtual asILockableSharedBool *GetWeakRefFlagOfScriptObject(void *obj, const asIObjectType *type) const = 0; - - // String interpretation - virtual asETokenClass ParseToken(const char *string, size_t stringLength = 0, int *tokenLength = 0) const = 0; - - // Garbage collection - virtual int GarbageCollect(asDWORD flags = asGC_FULL_CYCLE) = 0; - virtual void GetGCStatistics(asUINT *currentSize, asUINT *totalDestroyed = 0, asUINT *totalDetected = 0, asUINT *newObjects = 0, asUINT *totalNewDestroyed = 0) const = 0; - virtual int NotifyGarbageCollectorOfNewObject(void *obj, asIObjectType *type) = 0; - virtual int GetObjectInGC(asUINT idx, asUINT *seqNbr = 0, void **obj = 0, asIObjectType **type = 0) = 0; - virtual void GCEnumCallback(void *reference) = 0; - - // User data - virtual void *SetUserData(void *data, asPWORD type = 0) = 0; - virtual void *GetUserData(asPWORD type = 0) const = 0; - virtual void SetEngineUserDataCleanupCallback(asCLEANENGINEFUNC_t callback, asPWORD type = 0) = 0; - virtual void SetModuleUserDataCleanupCallback(asCLEANMODULEFUNC_t callback) = 0; - virtual void SetContextUserDataCleanupCallback(asCLEANCONTEXTFUNC_t callback) = 0; - virtual void SetFunctionUserDataCleanupCallback(asCLEANFUNCTIONFUNC_t callback) = 0; - virtual void SetObjectTypeUserDataCleanupCallback(asCLEANOBJECTTYPEFUNC_t callback, asPWORD type = 0) = 0; - -protected: - virtual ~asIScriptEngine() {} -}; - -class asIThreadManager -{ -protected: - virtual ~asIThreadManager() {} -}; - -class asIScriptModule -{ -public: - virtual asIScriptEngine *GetEngine() const = 0; - virtual void SetName(const char *name) = 0; - virtual const char *GetName() const = 0; - virtual void Discard() = 0; - - // Compilation - virtual int AddScriptSection(const char *name, const char *code, size_t codeLength = 0, int lineOffset = 0) = 0; - virtual int Build() = 0; - virtual int CompileFunction(const char *sectionName, const char *code, int lineOffset, asDWORD compileFlags, asIScriptFunction **outFunc) = 0; - virtual int CompileGlobalVar(const char *sectionName, const char *code, int lineOffset) = 0; - virtual asDWORD SetAccessMask(asDWORD accessMask) = 0; - virtual int SetDefaultNamespace(const char *nameSpace) = 0; - virtual const char *GetDefaultNamespace() const = 0; - - // Functions - virtual asUINT GetFunctionCount() const = 0; - virtual asIScriptFunction *GetFunctionByIndex(asUINT index) const = 0; - virtual asIScriptFunction *GetFunctionByDecl(const char *decl) const = 0; - virtual asIScriptFunction *GetFunctionByName(const char *name) const = 0; - virtual int RemoveFunction(asIScriptFunction *func) = 0; - - // Global variables - virtual int ResetGlobalVars(asIScriptContext *ctx = 0) = 0; - virtual asUINT GetGlobalVarCount() const = 0; - virtual int GetGlobalVarIndexByName(const char *name) const = 0; - virtual int GetGlobalVarIndexByDecl(const char *decl) const = 0; - virtual const char *GetGlobalVarDeclaration(asUINT index, bool includeNamespace = false) const = 0; - virtual int GetGlobalVar(asUINT index, const char **name, const char **nameSpace = 0, int *typeId = 0, bool *isConst = 0) const = 0; - virtual void *GetAddressOfGlobalVar(asUINT index) = 0; - virtual int RemoveGlobalVar(asUINT index) = 0; - - // Type identification - virtual asUINT GetObjectTypeCount() const = 0; - virtual asIObjectType *GetObjectTypeByIndex(asUINT index) const = 0; - virtual asIObjectType *GetObjectTypeByName(const char *name) const = 0; - virtual int GetTypeIdByDecl(const char *decl) const = 0; - - // Enums - virtual asUINT GetEnumCount() const = 0; - virtual const char *GetEnumByIndex(asUINT index, int *enumTypeId, const char **nameSpace = 0) const = 0; - virtual int GetEnumValueCount(int enumTypeId) const = 0; - virtual const char *GetEnumValueByIndex(int enumTypeId, asUINT index, int *outValue) const = 0; - - // Typedefs - virtual asUINT GetTypedefCount() const = 0; - virtual const char *GetTypedefByIndex(asUINT index, int *typeId, const char **nameSpace = 0) const = 0; - - // Dynamic binding between modules - virtual asUINT GetImportedFunctionCount() const = 0; - virtual int GetImportedFunctionIndexByDecl(const char *decl) const = 0; - virtual const char *GetImportedFunctionDeclaration(asUINT importIndex) const = 0; - virtual const char *GetImportedFunctionSourceModule(asUINT importIndex) const = 0; - virtual int BindImportedFunction(asUINT importIndex, asIScriptFunction *func) = 0; - virtual int UnbindImportedFunction(asUINT importIndex) = 0; - virtual int BindAllImportedFunctions() = 0; - virtual int UnbindAllImportedFunctions() = 0; - - // Bytecode saving and loading - virtual int SaveByteCode(asIBinaryStream *out, bool stripDebugInfo = false) const = 0; - virtual int LoadByteCode(asIBinaryStream *in, bool *wasDebugInfoStripped = 0) = 0; - - // User data - virtual void *SetUserData(void *data) = 0; - virtual void *GetUserData() const = 0; - -protected: - virtual ~asIScriptModule() {} -}; - -class asIScriptContext -{ -public: - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; - - // Miscellaneous - virtual asIScriptEngine *GetEngine() const = 0; - - // Execution - virtual int Prepare(asIScriptFunction *func) = 0; - virtual int Unprepare() = 0; - virtual int Execute() = 0; - virtual int Abort() = 0; - virtual int Suspend() = 0; - virtual asEContextState GetState() const = 0; - virtual int PushState() = 0; - virtual int PopState() = 0; - virtual bool IsNested(asUINT *nestCount = 0) const = 0; - - // Object pointer for calling class methods - virtual int SetObject(void *obj) = 0; - - // Arguments - virtual int SetArgByte(asUINT arg, asBYTE value) = 0; - virtual int SetArgWord(asUINT arg, asWORD value) = 0; - virtual int SetArgDWord(asUINT arg, asDWORD value) = 0; - virtual int SetArgQWord(asUINT arg, asQWORD value) = 0; - virtual int SetArgFloat(asUINT arg, float value) = 0; - virtual int SetArgDouble(asUINT arg, double value) = 0; - virtual int SetArgAddress(asUINT arg, void *addr) = 0; - virtual int SetArgObject(asUINT arg, void *obj) = 0; - virtual void *GetAddressOfArg(asUINT arg) = 0; - - // Return value - virtual asBYTE GetReturnByte() = 0; - virtual asWORD GetReturnWord() = 0; - virtual asDWORD GetReturnDWord() = 0; - virtual asQWORD GetReturnQWord() = 0; - virtual float GetReturnFloat() = 0; - virtual double GetReturnDouble() = 0; - virtual void *GetReturnAddress() = 0; - virtual void *GetReturnObject() = 0; - virtual void *GetAddressOfReturnValue() = 0; - - // Exception handling - virtual int SetException(const char *string) = 0; - virtual int GetExceptionLineNumber(int *column = 0, const char **sectionName = 0) = 0; - virtual asIScriptFunction *GetExceptionFunction() = 0; - virtual const char * GetExceptionString() = 0; - virtual int SetExceptionCallback(asSFuncPtr callback, void *obj, int callConv) = 0; - virtual void ClearExceptionCallback() = 0; - - // Debugging - virtual int SetLineCallback(asSFuncPtr callback, void *obj, int callConv) = 0; - virtual void ClearLineCallback() = 0; - virtual asUINT GetCallstackSize() const = 0; - virtual asIScriptFunction *GetFunction(asUINT stackLevel = 0) = 0; - virtual int GetLineNumber(asUINT stackLevel = 0, int *column = 0, const char **sectionName = 0) = 0; - virtual int GetVarCount(asUINT stackLevel = 0) = 0; - virtual const char *GetVarName(asUINT varIndex, asUINT stackLevel = 0) = 0; - virtual const char *GetVarDeclaration(asUINT varIndex, asUINT stackLevel = 0, bool includeNamespace = false) = 0; - virtual int GetVarTypeId(asUINT varIndex, asUINT stackLevel = 0) = 0; - virtual void *GetAddressOfVar(asUINT varIndex, asUINT stackLevel = 0) = 0; - virtual bool IsVarInScope(asUINT varIndex, asUINT stackLevel = 0) = 0; - virtual int GetThisTypeId(asUINT stackLevel = 0) = 0; - virtual void *GetThisPointer(asUINT stackLevel = 0) = 0; - virtual asIScriptFunction *GetSystemFunction() = 0; - - // User data - virtual void *SetUserData(void *data) = 0; - virtual void *GetUserData() const = 0; - -protected: - virtual ~asIScriptContext() {} -}; - -class asIScriptGeneric -{ -public: - // Miscellaneous - virtual asIScriptEngine *GetEngine() const = 0; - virtual asIScriptFunction *GetFunction() const = 0; - - // Object - virtual void *GetObject() = 0; - virtual int GetObjectTypeId() const = 0; - - // Arguments - virtual int GetArgCount() const = 0; - virtual int GetArgTypeId(asUINT arg, asDWORD *flags = 0) const = 0; - virtual asBYTE GetArgByte(asUINT arg) = 0; - virtual asWORD GetArgWord(asUINT arg) = 0; - virtual asDWORD GetArgDWord(asUINT arg) = 0; - virtual asQWORD GetArgQWord(asUINT arg) = 0; - virtual float GetArgFloat(asUINT arg) = 0; - virtual double GetArgDouble(asUINT arg) = 0; - virtual void *GetArgAddress(asUINT arg) = 0; - virtual void *GetArgObject(asUINT arg) = 0; - virtual void *GetAddressOfArg(asUINT arg) = 0; - - // Return value - virtual int GetReturnTypeId(asDWORD *flags = 0) const = 0; - virtual int SetReturnByte(asBYTE val) = 0; - virtual int SetReturnWord(asWORD val) = 0; - virtual int SetReturnDWord(asDWORD val) = 0; - virtual int SetReturnQWord(asQWORD val) = 0; - virtual int SetReturnFloat(float val) = 0; - virtual int SetReturnDouble(double val) = 0; - virtual int SetReturnAddress(void *addr) = 0; - virtual int SetReturnObject(void *obj) = 0; - virtual void *GetAddressOfReturnLocation() = 0; - -protected: - virtual ~asIScriptGeneric() {} -}; - -class asIScriptObject -{ -public: - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; - - // Type info - virtual int GetTypeId() const = 0; - virtual asIObjectType *GetObjectType() const = 0; - - // Class properties - virtual asUINT GetPropertyCount() const = 0; - virtual int GetPropertyTypeId(asUINT prop) const = 0; - virtual const char *GetPropertyName(asUINT prop) const = 0; - virtual void *GetAddressOfProperty(asUINT prop) = 0; - - virtual asIScriptEngine *GetEngine() const = 0; - virtual int CopyFrom(asIScriptObject *other) = 0; - -protected: - virtual ~asIScriptObject() {} -}; - -class asIObjectType -{ -public: - virtual asIScriptEngine *GetEngine() const = 0; - virtual const char *GetConfigGroup() const = 0; - virtual asDWORD GetAccessMask() const = 0; - virtual asIScriptModule *GetModule() const = 0; - - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; - - // Type info - virtual const char *GetName() const = 0; - virtual const char *GetNamespace() const = 0; - virtual asIObjectType *GetBaseType() const = 0; - virtual bool DerivesFrom(const asIObjectType *objType) const = 0; - virtual asDWORD GetFlags() const = 0; - virtual asUINT GetSize() const = 0; - virtual int GetTypeId() const = 0; - virtual int GetSubTypeId(asUINT subTypeIndex = 0) const = 0; - virtual asIObjectType *GetSubType(asUINT subTypeIndex = 0) const = 0; - virtual asUINT GetSubTypeCount() const = 0; - - // Interfaces - virtual asUINT GetInterfaceCount() const = 0; - virtual asIObjectType *GetInterface(asUINT index) const = 0; - virtual bool Implements(const asIObjectType *objType) const = 0; - - // Factories - virtual asUINT GetFactoryCount() const = 0; - virtual asIScriptFunction *GetFactoryByIndex(asUINT index) const = 0; - virtual asIScriptFunction *GetFactoryByDecl(const char *decl) const = 0; - - // Methods - virtual asUINT GetMethodCount() const = 0; - virtual asIScriptFunction *GetMethodByIndex(asUINT index, bool getVirtual = true) const = 0; - virtual asIScriptFunction *GetMethodByName(const char *name, bool getVirtual = true) const = 0; - virtual asIScriptFunction *GetMethodByDecl(const char *decl, bool getVirtual = true) const = 0; - - // Properties - virtual asUINT GetPropertyCount() const = 0; - virtual int GetProperty(asUINT index, const char **name, int *typeId = 0, bool *isPrivate = 0, int *offset = 0, bool *isReference = 0, asDWORD *accessMask = 0) const = 0; - virtual const char *GetPropertyDeclaration(asUINT index, bool includeNamespace = false) const = 0; - - // Behaviours - virtual asUINT GetBehaviourCount() const = 0; - virtual asIScriptFunction *GetBehaviourByIndex(asUINT index, asEBehaviours *outBehaviour) const = 0; - - // User data - virtual void *SetUserData(void *data, asPWORD type = 0) = 0; - virtual void *GetUserData(asPWORD type = 0) const = 0; - -protected: - virtual ~asIObjectType() {} -}; - -class asIScriptFunction -{ -public: - virtual asIScriptEngine *GetEngine() const = 0; - - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; - - // Miscellaneous - virtual int GetId() const = 0; - virtual asEFuncType GetFuncType() const = 0; - virtual const char *GetModuleName() const = 0; - virtual asIScriptModule *GetModule() const = 0; - virtual const char *GetScriptSectionName() const = 0; - virtual const char *GetConfigGroup() const = 0; - virtual asDWORD GetAccessMask() const = 0; - - // Function signature - virtual asIObjectType *GetObjectType() const = 0; - virtual const char *GetObjectName() const = 0; - virtual const char *GetName() const = 0; - virtual const char *GetNamespace() const = 0; - virtual const char *GetDeclaration(bool includeObjectName = true, bool includeNamespace = false) const = 0; - virtual bool IsReadOnly() const = 0; - virtual bool IsPrivate() const = 0; - virtual bool IsFinal() const = 0; - virtual bool IsOverride() const = 0; - virtual bool IsShared() const = 0; - virtual asUINT GetParamCount() const = 0; - virtual int GetParamTypeId(asUINT index, asDWORD *flags = 0) const = 0; - virtual int GetReturnTypeId(asDWORD *flags = 0) const = 0; - - // Type id for function pointers - virtual int GetTypeId() const = 0; - virtual bool IsCompatibleWithTypeId(int typeId) const = 0; - - // Delegates - virtual void *GetDelegateObject() const = 0; - virtual asIObjectType *GetDelegateObjectType() const = 0; - virtual asIScriptFunction *GetDelegateFunction() const = 0; - - // Debug information - virtual asUINT GetVarCount() const = 0; - virtual int GetVar(asUINT index, const char **name, int *typeId = 0) const = 0; - virtual const char *GetVarDecl(asUINT index, bool includeNamespace = false) const = 0; - virtual int FindNextLineWithCode(int line) const = 0; - - // For JIT compilation - virtual asDWORD *GetByteCode(asUINT *length = 0) = 0; - - // User data - virtual void *SetUserData(void *userData) = 0; - virtual void *GetUserData() const = 0; - -protected: - virtual ~asIScriptFunction() {}; -}; - -class asIBinaryStream -{ -public: - virtual void Read(void *ptr, asUINT size) = 0; - virtual void Write(const void *ptr, asUINT size) = 0; - -public: - virtual ~asIBinaryStream() {} -}; - -class asILockableSharedBool -{ -public: - // Memory management - virtual int AddRef() const = 0; - virtual int Release() const = 0; - - // Value - virtual bool Get() const = 0; - virtual void Set(bool val) = 0; - - // Thread management - virtual void Lock() const = 0; - virtual void Unlock() const = 0; - -protected: - virtual ~asILockableSharedBool() {} -}; - -//----------------------------------------------------------------- -// Function pointers - -// Template function to capture all global functions, -// except the ones using the generic calling convention -template -inline asSFuncPtr asFunctionPtr(T func) -{ - // Mark this as a global function - asSFuncPtr p(2); - -#ifdef AS_64BIT_PTR - // The size_t cast is to avoid a compiler warning with asFUNCTION(0) - // on 64bit, as 0 is interpreted as a 32bit int value - p.ptr.f.func = reinterpret_cast(size_t(func)); -#else - // MSVC6 doesn't like the size_t cast above so I - // solved this with a separate code for 32bit. - p.ptr.f.func = reinterpret_cast(func); -#endif - - return p; -} - -// Specialization for functions using the generic calling convention -template<> -inline asSFuncPtr asFunctionPtr(asGENFUNC_t func) -{ - // Mark this as a generic function - asSFuncPtr p(1); - p.ptr.f.func = reinterpret_cast(func); - return p; -} - -#ifndef AS_NO_CLASS_METHODS - -// Method pointers - -// Declare a dummy class so that we can determine the size of a simple method pointer -class asCSimpleDummy {}; -typedef void (asCSimpleDummy::*asSIMPLEMETHOD_t)(); -const int SINGLE_PTR_SIZE = sizeof(asSIMPLEMETHOD_t); - -// Define template -template -struct asSMethodPtr -{ - template - static asSFuncPtr Convert(M Mthd) - { - // This version of the function should never be executed, nor compiled, - // as it would mean that the size of the method pointer cannot be determined. - - int ERROR_UnsupportedMethodPtr[N-100]; - - asSFuncPtr p(0); - return p; - } -}; - -// Template specialization -template <> -struct asSMethodPtr -{ - template - static asSFuncPtr Convert(M Mthd) - { - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE); - return p; - } -}; - -#if defined(_MSC_VER) && !defined(__MWERKS__) - -// MSVC and Intel uses different sizes for different class method pointers -template <> -struct asSMethodPtr -{ - template - static asSFuncPtr Convert(M Mthd) - { - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+sizeof(int)); - return p; - } -}; - -template <> -struct asSMethodPtr -{ - template - static asSFuncPtr Convert(M Mthd) - { - // On 32bit platforms with is where a class with virtual inheritance falls. - // On 64bit platforms we can also fall here if 8byte data alignments is used. - - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+2*sizeof(int)); - - // Microsoft has a terrible optimization on class methods with virtual inheritance. - // They are hardcoding an important offset, which is not coming in the method pointer. - -#if defined(_MSC_VER) && !defined(AS_64BIT_PTR) - // Method pointers for virtual inheritance is not supported, - // as it requires the location of the vbase table, which is - // only available to the C++ compiler, but not in the method - // pointer. - - // You can get around this by forward declaring the class and - // storing the sizeof its method pointer in a constant. Example: - - // class ClassWithVirtualInheritance; - // const int ClassWithVirtualInheritance_workaround = sizeof(void ClassWithVirtualInheritance::*()); - - // This will force the compiler to use the unknown type - // for the class, which falls under the next case - - - // Copy the virtual table index to the 4th dword so that AngelScript - // can properly detect and deny the use of methods with virtual inheritance. - *(reinterpret_cast(&p)+3) = *(reinterpret_cast(&p)+2); -#endif - - return p; - } -}; - -template <> -struct asSMethodPtr -{ - template - static asSFuncPtr Convert(M Mthd) - { - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+3*sizeof(int)); - return p; - } -}; - -template <> -struct asSMethodPtr -{ - template - static asSFuncPtr Convert(M Mthd) - { - // On 64bit platforms with 8byte data alignment - // the unknown class method pointers will come here. - - // Mark this as a class method - asSFuncPtr p(3); - p.CopyMethodPtr(&Mthd, SINGLE_PTR_SIZE+4*sizeof(int)); - return p; - } -}; - -#endif - -#endif // AS_NO_CLASS_METHODS - -//---------------------------------------------------------------- -// JIT compiler - -struct asSVMRegisters -{ - asDWORD *programPointer; // points to current bytecode instruction - asDWORD *stackFramePointer; // function stack frame - asDWORD *stackPointer; // top of stack (grows downward) - asQWORD valueRegister; // temp register for primitives - void *objectRegister; // temp register for objects and handles - asIObjectType *objectType; // type of object held in object register - bool doProcessSuspend; // whether or not the JIT should break out when it encounters a suspend instruction - asIScriptContext *ctx; // the active context -}; - -typedef void (*asJITFunction)(asSVMRegisters *registers, asPWORD jitArg); - -class asIJITCompiler -{ -public: - virtual int CompileFunction(asIScriptFunction *function, asJITFunction *output) = 0; - virtual void ReleaseJITFunction(asJITFunction func) = 0; -public: - virtual ~asIJITCompiler() {} -}; - -// Byte code instructions -enum asEBCInstr -{ - asBC_PopPtr = 0, - asBC_PshGPtr = 1, - asBC_PshC4 = 2, - asBC_PshV4 = 3, - asBC_PSF = 4, - asBC_SwapPtr = 5, - asBC_NOT = 6, - asBC_PshG4 = 7, - asBC_LdGRdR4 = 8, - asBC_CALL = 9, - asBC_RET = 10, - asBC_JMP = 11, - asBC_JZ = 12, - asBC_JNZ = 13, - asBC_JS = 14, - asBC_JNS = 15, - asBC_JP = 16, - asBC_JNP = 17, - asBC_TZ = 18, - asBC_TNZ = 19, - asBC_TS = 20, - asBC_TNS = 21, - asBC_TP = 22, - asBC_TNP = 23, - asBC_NEGi = 24, - asBC_NEGf = 25, - asBC_NEGd = 26, - asBC_INCi16 = 27, - asBC_INCi8 = 28, - asBC_DECi16 = 29, - asBC_DECi8 = 30, - asBC_INCi = 31, - asBC_DECi = 32, - asBC_INCf = 33, - asBC_DECf = 34, - asBC_INCd = 35, - asBC_DECd = 36, - asBC_IncVi = 37, - asBC_DecVi = 38, - asBC_BNOT = 39, - asBC_BAND = 40, - asBC_BOR = 41, - asBC_BXOR = 42, - asBC_BSLL = 43, - asBC_BSRL = 44, - asBC_BSRA = 45, - asBC_COPY = 46, - asBC_PshC8 = 47, - asBC_PshVPtr = 48, - asBC_RDSPtr = 49, - asBC_CMPd = 50, - asBC_CMPu = 51, - asBC_CMPf = 52, - asBC_CMPi = 53, - asBC_CMPIi = 54, - asBC_CMPIf = 55, - asBC_CMPIu = 56, - asBC_JMPP = 57, - asBC_PopRPtr = 58, - asBC_PshRPtr = 59, - asBC_STR = 60, - asBC_CALLSYS = 61, - asBC_CALLBND = 62, - asBC_SUSPEND = 63, - asBC_ALLOC = 64, - asBC_FREE = 65, - asBC_LOADOBJ = 66, - asBC_STOREOBJ = 67, - asBC_GETOBJ = 68, - asBC_REFCPY = 69, - asBC_CHKREF = 70, - asBC_GETOBJREF = 71, - asBC_GETREF = 72, - asBC_PshNull = 73, - asBC_ClrVPtr = 74, - asBC_OBJTYPE = 75, - asBC_TYPEID = 76, - asBC_SetV4 = 77, - asBC_SetV8 = 78, - asBC_ADDSi = 79, - asBC_CpyVtoV4 = 80, - asBC_CpyVtoV8 = 81, - asBC_CpyVtoR4 = 82, - asBC_CpyVtoR8 = 83, - asBC_CpyVtoG4 = 84, - asBC_CpyRtoV4 = 85, - asBC_CpyRtoV8 = 86, - asBC_CpyGtoV4 = 87, - asBC_WRTV1 = 88, - asBC_WRTV2 = 89, - asBC_WRTV4 = 90, - asBC_WRTV8 = 91, - asBC_RDR1 = 92, - asBC_RDR2 = 93, - asBC_RDR4 = 94, - asBC_RDR8 = 95, - asBC_LDG = 96, - asBC_LDV = 97, - asBC_PGA = 98, - asBC_CmpPtr = 99, - asBC_VAR = 100, - asBC_iTOf = 101, - asBC_fTOi = 102, - asBC_uTOf = 103, - asBC_fTOu = 104, - asBC_sbTOi = 105, - asBC_swTOi = 106, - asBC_ubTOi = 107, - asBC_uwTOi = 108, - asBC_dTOi = 109, - asBC_dTOu = 110, - asBC_dTOf = 111, - asBC_iTOd = 112, - asBC_uTOd = 113, - asBC_fTOd = 114, - asBC_ADDi = 115, - asBC_SUBi = 116, - asBC_MULi = 117, - asBC_DIVi = 118, - asBC_MODi = 119, - asBC_ADDf = 120, - asBC_SUBf = 121, - asBC_MULf = 122, - asBC_DIVf = 123, - asBC_MODf = 124, - asBC_ADDd = 125, - asBC_SUBd = 126, - asBC_MULd = 127, - asBC_DIVd = 128, - asBC_MODd = 129, - asBC_ADDIi = 130, - asBC_SUBIi = 131, - asBC_MULIi = 132, - asBC_ADDIf = 133, - asBC_SUBIf = 134, - asBC_MULIf = 135, - asBC_SetG4 = 136, - asBC_ChkRefS = 137, - asBC_ChkNullV = 138, - asBC_CALLINTF = 139, - asBC_iTOb = 140, - asBC_iTOw = 141, - asBC_SetV1 = 142, - asBC_SetV2 = 143, - asBC_Cast = 144, - asBC_i64TOi = 145, - asBC_uTOi64 = 146, - asBC_iTOi64 = 147, - asBC_fTOi64 = 148, - asBC_dTOi64 = 149, - asBC_fTOu64 = 150, - asBC_dTOu64 = 151, - asBC_i64TOf = 152, - asBC_u64TOf = 153, - asBC_i64TOd = 154, - asBC_u64TOd = 155, - asBC_NEGi64 = 156, - asBC_INCi64 = 157, - asBC_DECi64 = 158, - asBC_BNOT64 = 159, - asBC_ADDi64 = 160, - asBC_SUBi64 = 161, - asBC_MULi64 = 162, - asBC_DIVi64 = 163, - asBC_MODi64 = 164, - asBC_BAND64 = 165, - asBC_BOR64 = 166, - asBC_BXOR64 = 167, - asBC_BSLL64 = 168, - asBC_BSRL64 = 169, - asBC_BSRA64 = 170, - asBC_CMPi64 = 171, - asBC_CMPu64 = 172, - asBC_ChkNullS = 173, - asBC_ClrHi = 174, - asBC_JitEntry = 175, - asBC_CallPtr = 176, - asBC_FuncPtr = 177, - asBC_LoadThisR = 178, - asBC_PshV8 = 179, - asBC_DIVu = 180, - asBC_MODu = 181, - asBC_DIVu64 = 182, - asBC_MODu64 = 183, - asBC_LoadRObjR = 184, - asBC_LoadVObjR = 185, - asBC_RefCpyV = 186, - asBC_JLowZ = 187, - asBC_JLowNZ = 188, - asBC_AllocMem = 189, - asBC_SetListSize = 190, - asBC_PshListElmnt = 191, - asBC_SetListType = 192, - asBC_POWi = 193, - asBC_POWu = 194, - asBC_POWf = 195, - asBC_POWd = 196, - asBC_POWdi = 197, - asBC_POWi64 = 198, - asBC_POWu64 = 199, - - asBC_MAXBYTECODE = 200, - - // Temporary tokens. Can't be output to the final program - asBC_VarDecl = 251, - asBC_Block = 252, - asBC_ObjInfo = 253, - asBC_LINE = 254, - asBC_LABEL = 255 -}; - -// Instruction types -enum asEBCType -{ - asBCTYPE_INFO = 0, - asBCTYPE_NO_ARG = 1, - asBCTYPE_W_ARG = 2, - asBCTYPE_wW_ARG = 3, - asBCTYPE_DW_ARG = 4, - asBCTYPE_rW_DW_ARG = 5, - asBCTYPE_QW_ARG = 6, - asBCTYPE_DW_DW_ARG = 7, - asBCTYPE_wW_rW_rW_ARG = 8, - asBCTYPE_wW_QW_ARG = 9, - asBCTYPE_wW_rW_ARG = 10, - asBCTYPE_rW_ARG = 11, - asBCTYPE_wW_DW_ARG = 12, - asBCTYPE_wW_rW_DW_ARG = 13, - asBCTYPE_rW_rW_ARG = 14, - asBCTYPE_wW_W_ARG = 15, - asBCTYPE_QW_DW_ARG = 16, - asBCTYPE_rW_QW_ARG = 17, - asBCTYPE_W_DW_ARG = 18, - asBCTYPE_rW_W_DW_ARG = 19, - asBCTYPE_rW_DW_DW_ARG = 20 -}; - -// Instruction type sizes -const int asBCTypeSize[21] = -{ - 0, // asBCTYPE_INFO - 1, // asBCTYPE_NO_ARG - 1, // asBCTYPE_W_ARG - 1, // asBCTYPE_wW_ARG - 2, // asBCTYPE_DW_ARG - 2, // asBCTYPE_rW_DW_ARG - 3, // asBCTYPE_QW_ARG - 3, // asBCTYPE_DW_DW_ARG - 2, // asBCTYPE_wW_rW_rW_ARG - 3, // asBCTYPE_wW_QW_ARG - 2, // asBCTYPE_wW_rW_ARG - 1, // asBCTYPE_rW_ARG - 2, // asBCTYPE_wW_DW_ARG - 3, // asBCTYPE_wW_rW_DW_ARG - 2, // asBCTYPE_rW_rW_ARG - 2, // asBCTYPE_wW_W_ARG - 4, // asBCTYPE_QW_DW_ARG - 3, // asBCTYPE_rW_QW_ARG - 2, // asBCTYPE_W_DW_ARG - 3, // asBCTYPE_rW_W_DW_ARG - 3 // asBCTYPE_rW_DW_DW_ARG -}; - -// Instruction info -struct asSBCInfo -{ - asEBCInstr bc; - asEBCType type; - int stackInc; - const char *name; -}; - -#ifndef AS_64BIT_PTR - #define asBCTYPE_PTR_ARG asBCTYPE_DW_ARG - #define asBCTYPE_PTR_DW_ARG asBCTYPE_DW_DW_ARG - #define asBCTYPE_wW_PTR_ARG asBCTYPE_wW_DW_ARG - #define asBCTYPE_rW_PTR_ARG asBCTYPE_rW_DW_ARG - #ifndef AS_PTR_SIZE - #define AS_PTR_SIZE 1 - #endif -#else - #define asBCTYPE_PTR_ARG asBCTYPE_QW_ARG - #define asBCTYPE_PTR_DW_ARG asBCTYPE_QW_DW_ARG - #define asBCTYPE_wW_PTR_ARG asBCTYPE_wW_QW_ARG - #define asBCTYPE_rW_PTR_ARG asBCTYPE_rW_QW_ARG - #ifndef AS_PTR_SIZE - #define AS_PTR_SIZE 2 - #endif -#endif - -#define asBCINFO(b,t,s) {asBC_##b, asBCTYPE_##t, s, #b} -#define asBCINFO_DUMMY(b) {asBC_MAXBYTECODE, asBCTYPE_INFO, 0, "BC_" #b} - -const asSBCInfo asBCInfo[256] = -{ - asBCINFO(PopPtr, NO_ARG, -AS_PTR_SIZE), - asBCINFO(PshGPtr, PTR_ARG, AS_PTR_SIZE), - asBCINFO(PshC4, DW_ARG, 1), - asBCINFO(PshV4, rW_ARG, 1), - asBCINFO(PSF, rW_ARG, AS_PTR_SIZE), - asBCINFO(SwapPtr, NO_ARG, 0), - asBCINFO(NOT, rW_ARG, 0), - asBCINFO(PshG4, PTR_ARG, 1), - asBCINFO(LdGRdR4, wW_PTR_ARG, 0), - asBCINFO(CALL, DW_ARG, 0xFFFF), - asBCINFO(RET, W_ARG, 0xFFFF), - asBCINFO(JMP, DW_ARG, 0), - asBCINFO(JZ, DW_ARG, 0), - asBCINFO(JNZ, DW_ARG, 0), - asBCINFO(JS, DW_ARG, 0), - asBCINFO(JNS, DW_ARG, 0), - asBCINFO(JP, DW_ARG, 0), - asBCINFO(JNP, DW_ARG, 0), - asBCINFO(TZ, NO_ARG, 0), - asBCINFO(TNZ, NO_ARG, 0), - asBCINFO(TS, NO_ARG, 0), - asBCINFO(TNS, NO_ARG, 0), - asBCINFO(TP, NO_ARG, 0), - asBCINFO(TNP, NO_ARG, 0), - asBCINFO(NEGi, rW_ARG, 0), - asBCINFO(NEGf, rW_ARG, 0), - asBCINFO(NEGd, rW_ARG, 0), - asBCINFO(INCi16, NO_ARG, 0), - asBCINFO(INCi8, NO_ARG, 0), - asBCINFO(DECi16, NO_ARG, 0), - asBCINFO(DECi8, NO_ARG, 0), - asBCINFO(INCi, NO_ARG, 0), - asBCINFO(DECi, NO_ARG, 0), - asBCINFO(INCf, NO_ARG, 0), - asBCINFO(DECf, NO_ARG, 0), - asBCINFO(INCd, NO_ARG, 0), - asBCINFO(DECd, NO_ARG, 0), - asBCINFO(IncVi, rW_ARG, 0), - asBCINFO(DecVi, rW_ARG, 0), - asBCINFO(BNOT, rW_ARG, 0), - asBCINFO(BAND, wW_rW_rW_ARG, 0), - asBCINFO(BOR, wW_rW_rW_ARG, 0), - asBCINFO(BXOR, wW_rW_rW_ARG, 0), - asBCINFO(BSLL, wW_rW_rW_ARG, 0), - asBCINFO(BSRL, wW_rW_rW_ARG, 0), - asBCINFO(BSRA, wW_rW_rW_ARG, 0), - asBCINFO(COPY, W_DW_ARG, -AS_PTR_SIZE), - asBCINFO(PshC8, QW_ARG, 2), - asBCINFO(PshVPtr, rW_ARG, AS_PTR_SIZE), - asBCINFO(RDSPtr, NO_ARG, 0), - asBCINFO(CMPd, rW_rW_ARG, 0), - asBCINFO(CMPu, rW_rW_ARG, 0), - asBCINFO(CMPf, rW_rW_ARG, 0), - asBCINFO(CMPi, rW_rW_ARG, 0), - asBCINFO(CMPIi, rW_DW_ARG, 0), - asBCINFO(CMPIf, rW_DW_ARG, 0), - asBCINFO(CMPIu, rW_DW_ARG, 0), - asBCINFO(JMPP, rW_ARG, 0), - asBCINFO(PopRPtr, NO_ARG, -AS_PTR_SIZE), - asBCINFO(PshRPtr, NO_ARG, AS_PTR_SIZE), - asBCINFO(STR, W_ARG, 1+AS_PTR_SIZE), - asBCINFO(CALLSYS, DW_ARG, 0xFFFF), - asBCINFO(CALLBND, DW_ARG, 0xFFFF), - asBCINFO(SUSPEND, NO_ARG, 0), - asBCINFO(ALLOC, PTR_DW_ARG, 0xFFFF), - asBCINFO(FREE, wW_PTR_ARG, 0), - asBCINFO(LOADOBJ, rW_ARG, 0), - asBCINFO(STOREOBJ, wW_ARG, 0), - asBCINFO(GETOBJ, W_ARG, 0), - asBCINFO(REFCPY, PTR_ARG, -AS_PTR_SIZE), - asBCINFO(CHKREF, NO_ARG, 0), - asBCINFO(GETOBJREF, W_ARG, 0), - asBCINFO(GETREF, W_ARG, 0), - asBCINFO(PshNull, NO_ARG, AS_PTR_SIZE), - asBCINFO(ClrVPtr, wW_ARG, 0), - asBCINFO(OBJTYPE, PTR_ARG, AS_PTR_SIZE), - asBCINFO(TYPEID, DW_ARG, 1), - asBCINFO(SetV4, wW_DW_ARG, 0), - asBCINFO(SetV8, wW_QW_ARG, 0), - asBCINFO(ADDSi, W_DW_ARG, 0), - asBCINFO(CpyVtoV4, wW_rW_ARG, 0), - asBCINFO(CpyVtoV8, wW_rW_ARG, 0), - asBCINFO(CpyVtoR4, rW_ARG, 0), - asBCINFO(CpyVtoR8, rW_ARG, 0), - asBCINFO(CpyVtoG4, rW_PTR_ARG, 0), - asBCINFO(CpyRtoV4, wW_ARG, 0), - asBCINFO(CpyRtoV8, wW_ARG, 0), - asBCINFO(CpyGtoV4, wW_PTR_ARG, 0), - asBCINFO(WRTV1, rW_ARG, 0), - asBCINFO(WRTV2, rW_ARG, 0), - asBCINFO(WRTV4, rW_ARG, 0), - asBCINFO(WRTV8, rW_ARG, 0), - asBCINFO(RDR1, wW_ARG, 0), - asBCINFO(RDR2, wW_ARG, 0), - asBCINFO(RDR4, wW_ARG, 0), - asBCINFO(RDR8, wW_ARG, 0), - asBCINFO(LDG, PTR_ARG, 0), - asBCINFO(LDV, rW_ARG, 0), - asBCINFO(PGA, PTR_ARG, AS_PTR_SIZE), - asBCINFO(CmpPtr, rW_rW_ARG, 0), - asBCINFO(VAR, rW_ARG, AS_PTR_SIZE), - asBCINFO(iTOf, rW_ARG, 0), - asBCINFO(fTOi, rW_ARG, 0), - asBCINFO(uTOf, rW_ARG, 0), - asBCINFO(fTOu, rW_ARG, 0), - asBCINFO(sbTOi, rW_ARG, 0), - asBCINFO(swTOi, rW_ARG, 0), - asBCINFO(ubTOi, rW_ARG, 0), - asBCINFO(uwTOi, rW_ARG, 0), - asBCINFO(dTOi, wW_rW_ARG, 0), - asBCINFO(dTOu, wW_rW_ARG, 0), - asBCINFO(dTOf, wW_rW_ARG, 0), - asBCINFO(iTOd, wW_rW_ARG, 0), - asBCINFO(uTOd, wW_rW_ARG, 0), - asBCINFO(fTOd, wW_rW_ARG, 0), - asBCINFO(ADDi, wW_rW_rW_ARG, 0), - asBCINFO(SUBi, wW_rW_rW_ARG, 0), - asBCINFO(MULi, wW_rW_rW_ARG, 0), - asBCINFO(DIVi, wW_rW_rW_ARG, 0), - asBCINFO(MODi, wW_rW_rW_ARG, 0), - asBCINFO(ADDf, wW_rW_rW_ARG, 0), - asBCINFO(SUBf, wW_rW_rW_ARG, 0), - asBCINFO(MULf, wW_rW_rW_ARG, 0), - asBCINFO(DIVf, wW_rW_rW_ARG, 0), - asBCINFO(MODf, wW_rW_rW_ARG, 0), - asBCINFO(ADDd, wW_rW_rW_ARG, 0), - asBCINFO(SUBd, wW_rW_rW_ARG, 0), - asBCINFO(MULd, wW_rW_rW_ARG, 0), - asBCINFO(DIVd, wW_rW_rW_ARG, 0), - asBCINFO(MODd, wW_rW_rW_ARG, 0), - asBCINFO(ADDIi, wW_rW_DW_ARG, 0), - asBCINFO(SUBIi, wW_rW_DW_ARG, 0), - asBCINFO(MULIi, wW_rW_DW_ARG, 0), - asBCINFO(ADDIf, wW_rW_DW_ARG, 0), - asBCINFO(SUBIf, wW_rW_DW_ARG, 0), - asBCINFO(MULIf, wW_rW_DW_ARG, 0), - asBCINFO(SetG4, PTR_DW_ARG, 0), - asBCINFO(ChkRefS, NO_ARG, 0), - asBCINFO(ChkNullV, rW_ARG, 0), - asBCINFO(CALLINTF, DW_ARG, 0xFFFF), - asBCINFO(iTOb, rW_ARG, 0), - asBCINFO(iTOw, rW_ARG, 0), - asBCINFO(SetV1, wW_DW_ARG, 0), - asBCINFO(SetV2, wW_DW_ARG, 0), - asBCINFO(Cast, DW_ARG, -AS_PTR_SIZE), - asBCINFO(i64TOi, wW_rW_ARG, 0), - asBCINFO(uTOi64, wW_rW_ARG, 0), - asBCINFO(iTOi64, wW_rW_ARG, 0), - asBCINFO(fTOi64, wW_rW_ARG, 0), - asBCINFO(dTOi64, rW_ARG, 0), - asBCINFO(fTOu64, wW_rW_ARG, 0), - asBCINFO(dTOu64, rW_ARG, 0), - asBCINFO(i64TOf, wW_rW_ARG, 0), - asBCINFO(u64TOf, wW_rW_ARG, 0), - asBCINFO(i64TOd, rW_ARG, 0), - asBCINFO(u64TOd, rW_ARG, 0), - asBCINFO(NEGi64, rW_ARG, 0), - asBCINFO(INCi64, NO_ARG, 0), - asBCINFO(DECi64, NO_ARG, 0), - asBCINFO(BNOT64, rW_ARG, 0), - asBCINFO(ADDi64, wW_rW_rW_ARG, 0), - asBCINFO(SUBi64, wW_rW_rW_ARG, 0), - asBCINFO(MULi64, wW_rW_rW_ARG, 0), - asBCINFO(DIVi64, wW_rW_rW_ARG, 0), - asBCINFO(MODi64, wW_rW_rW_ARG, 0), - asBCINFO(BAND64, wW_rW_rW_ARG, 0), - asBCINFO(BOR64, wW_rW_rW_ARG, 0), - asBCINFO(BXOR64, wW_rW_rW_ARG, 0), - asBCINFO(BSLL64, wW_rW_rW_ARG, 0), - asBCINFO(BSRL64, wW_rW_rW_ARG, 0), - asBCINFO(BSRA64, wW_rW_rW_ARG, 0), - asBCINFO(CMPi64, rW_rW_ARG, 0), - asBCINFO(CMPu64, rW_rW_ARG, 0), - asBCINFO(ChkNullS, W_ARG, 0), - asBCINFO(ClrHi, NO_ARG, 0), - asBCINFO(JitEntry, PTR_ARG, 0), - asBCINFO(CallPtr, rW_ARG, 0xFFFF), - asBCINFO(FuncPtr, PTR_ARG, AS_PTR_SIZE), - asBCINFO(LoadThisR, W_DW_ARG, 0), - asBCINFO(PshV8, rW_ARG, 2), - asBCINFO(DIVu, wW_rW_rW_ARG, 0), - asBCINFO(MODu, wW_rW_rW_ARG, 0), - asBCINFO(DIVu64, wW_rW_rW_ARG, 0), - asBCINFO(MODu64, wW_rW_rW_ARG, 0), - asBCINFO(LoadRObjR, rW_W_DW_ARG, 0), - asBCINFO(LoadVObjR, rW_W_DW_ARG, 0), - asBCINFO(RefCpyV, wW_PTR_ARG, 0), - asBCINFO(JLowZ, DW_ARG, 0), - asBCINFO(JLowNZ, DW_ARG, 0), - asBCINFO(AllocMem, wW_DW_ARG, 0), - asBCINFO(SetListSize, rW_DW_DW_ARG, 0), - asBCINFO(PshListElmnt, rW_DW_ARG, AS_PTR_SIZE), - asBCINFO(SetListType, rW_DW_DW_ARG, 0), - asBCINFO(POWi, wW_rW_rW_ARG, 0), - asBCINFO(POWu, wW_rW_rW_ARG, 0), - asBCINFO(POWf, wW_rW_rW_ARG, 0), - asBCINFO(POWd, wW_rW_rW_ARG, 0), - asBCINFO(POWdi, wW_rW_rW_ARG, 0), - asBCINFO(POWi64, wW_rW_rW_ARG, 0), - asBCINFO(POWu64, wW_rW_rW_ARG, 0), - - asBCINFO_DUMMY(200), - asBCINFO_DUMMY(201), - asBCINFO_DUMMY(202), - asBCINFO_DUMMY(203), - asBCINFO_DUMMY(204), - asBCINFO_DUMMY(205), - asBCINFO_DUMMY(206), - asBCINFO_DUMMY(207), - asBCINFO_DUMMY(208), - asBCINFO_DUMMY(209), - asBCINFO_DUMMY(210), - asBCINFO_DUMMY(211), - asBCINFO_DUMMY(212), - asBCINFO_DUMMY(213), - asBCINFO_DUMMY(214), - asBCINFO_DUMMY(215), - asBCINFO_DUMMY(216), - asBCINFO_DUMMY(217), - asBCINFO_DUMMY(218), - asBCINFO_DUMMY(219), - asBCINFO_DUMMY(220), - asBCINFO_DUMMY(221), - asBCINFO_DUMMY(222), - asBCINFO_DUMMY(223), - asBCINFO_DUMMY(224), - asBCINFO_DUMMY(225), - asBCINFO_DUMMY(226), - asBCINFO_DUMMY(227), - asBCINFO_DUMMY(228), - asBCINFO_DUMMY(229), - asBCINFO_DUMMY(230), - asBCINFO_DUMMY(231), - asBCINFO_DUMMY(232), - asBCINFO_DUMMY(233), - asBCINFO_DUMMY(234), - asBCINFO_DUMMY(235), - asBCINFO_DUMMY(236), - asBCINFO_DUMMY(237), - asBCINFO_DUMMY(238), - asBCINFO_DUMMY(239), - asBCINFO_DUMMY(240), - asBCINFO_DUMMY(241), - asBCINFO_DUMMY(242), - asBCINFO_DUMMY(243), - asBCINFO_DUMMY(244), - asBCINFO_DUMMY(245), - asBCINFO_DUMMY(246), - asBCINFO_DUMMY(247), - asBCINFO_DUMMY(248), - asBCINFO_DUMMY(249), - asBCINFO_DUMMY(250), - - asBCINFO(VarDecl, W_ARG, 0), - asBCINFO(Block, INFO, 0), - asBCINFO(ObjInfo, rW_DW_ARG, 0), - asBCINFO(LINE, INFO, 0), - asBCINFO(LABEL, INFO, 0) -}; - -// Macros to access bytecode instruction arguments -#define asBC_DWORDARG(x) (*(((asDWORD*)x)+1)) -#define asBC_INTARG(x) (*(int*)(((asDWORD*)x)+1)) -#define asBC_QWORDARG(x) (*(asQWORD*)(((asDWORD*)x)+1)) -#define asBC_FLOATARG(x) (*(float*)(((asDWORD*)x)+1)) -#define asBC_PTRARG(x) (*(asPWORD*)(((asDWORD*)x)+1)) -#define asBC_WORDARG0(x) (*(((asWORD*)x)+1)) -#define asBC_WORDARG1(x) (*(((asWORD*)x)+2)) -#define asBC_SWORDARG0(x) (*(((short*)x)+1)) -#define asBC_SWORDARG1(x) (*(((short*)x)+2)) -#define asBC_SWORDARG2(x) (*(((short*)x)+3)) - - -END_AS_NAMESPACE - -#endif diff --git a/src/scriptengine/script_engine.cpp b/src/scriptengine/script_engine.cpp index 18de34302..3f1851a1e 100644 --- a/src/scriptengine/script_engine.cpp +++ b/src/scriptengine/script_engine.cpp @@ -13,7 +13,7 @@ //#include // timeGetTime() #endif -#include "angelscript.h" +#include #include "script_engine.hpp" #include "scriptstdstring.h"