About Monkey 2 › Forums › Monkey 2 Development › Editor Crashes
This topic contains 43 replies, has 8 voices, and was last updated by
AdamStrange
2 years ago.
-
AuthorPosts
-
March 22, 2017 at 6:10 pm #7575
im up to about 800 lines of code in a file and the editor has started runtime erroring im prety sure its a memory leak on large files as its first time its started doing it.
March 23, 2017 at 8:07 am #7578800 lines – its not a large file
Do you using ted2 or ted2go?
March 23, 2017 at 5:17 pm #7582oh the file is just prototype classes to my dx11 renderer that im trying to import.
anyway im using a laptop with 8 gb ram on win8.1 pro and the editor slows the system to a crawl after using copy paste a few times(even with out debuging anything or compiling) im using the git version every thing is setup correct.
I did not want to have to split my classes into seperate files at this stage due to it only being void abstract layer.
March 23, 2017 at 10:25 pm #7585I can copy and paste canvas.monkey – which is 1600 lines long – until the doc is longer than 200000 lines, at which point the textview knob disappears, which is a bug I’ll look at later.
But no crash. I am however use plain ted2, not ted2go. What are you using to rebuild? rebuildall or rebuildall2go?
March 24, 2017 at 2:18 am #75931. Ted2 on OSX sierra, If I press command F twice or press command F after it’s already active the Ide crashes. this happens at random.
2. I have been getting this weird text in the IDE’s source window. I renamed several files from monkey1 to monkey2
and when I load them into the IDE I get what’s in this picture below instead of the breakdown of classes, methods and functions. This happens on Ted2 and Ted2Go.3. this Happens on Ted2go, when the IDE loads more files the the Handle can handle, the idea crashes.
I renamed a file from monkey1 to monkey2 and when I try to run it and detects errors. it starts to load a bunch of program files and module files. I guess thats when it reaches a certain amount of files it becomes too much for the IDE to handle and crashes.Attachments:
March 24, 2017 at 4:04 am #7596i am using the standerd ide i usaly just rebuild all i might just remove mx2 and fresh install and build maybe ive done something while ive been messing about
March 25, 2017 at 3:27 am #7606its again crashing while using a large file when i debug this info is in the screenshot attachment dunno if its useful.
Attachments:
March 25, 2017 at 3:50 am #7608Would be helpful if you can reproduce crash and show that problematic code.
March 27, 2017 at 8:15 pm #7629Yes, some reliable steps to reproduce would be most useful.
March 28, 2017 at 10:39 am #7641i dont have any were to upload and the forum wont take the code file so its below nothing special was getting used to the syntax.
i was replacing Types/Fields so a lot of delete/copy/paste flicking through the source file using the scroll bar the error has not shown it self when short use 5/10 mins but gets worse the longer in use.
i dont get these crashes with files under 800-900 lines long even after hours of work.
Maybe im just incompatible with technology!
<!–more–>
[/crayon]Monkey123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017[crayon-5cb9bc6d684f4254586666 inline="true" ]#Import ""#Import ""#Import ""#Import "angelscript.lib"#Import "include/angelscript.h"''''''''''''''''''''''''''''''''''''''''Using std..Using libc..Using mojo..''''''''''''''''''''''''''''''''''''''''Extern''''''''''''''''''''''''''''''''''''''''enum asERetCodesasSUCCESS = "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"asMODULE_IS_IN_USE = "-28"End EnumEnum asEEnginePropasEP_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_ALTER_SYNTAX_NAMED_ARGS = "21"asEP_DISABLE_INTEGER_DIVISION = "22"asEP_DISALLOW_EMPTY_LIST_ELEMENTS = "23"asEP_PRIVATE_PROP_AS_PROTECTED = "24"asEP_ALLOW_UNICODE_IDENTIFIERS = "25"asEP_HEREDOC_TRIM_MODE = "26"End Enumenum asECallConvTypesasCALL_CDECL = "0"asCALL_STDCALL = "1"asCALL_THISCALL_ASGLOBAL = "2"asCALL_THISCALL = "3"asCALL_CDECL_OBJLAST = "4"asCALL_CDECL_OBJFIRST = "5"asCALL_GENERIC = "6"asCALL_THISCALL_OBJLAST = "7"asCALL_THISCALL_OBJFIRST = "8"End EnumEnum asEObjTypeFlagsasOBJ_REF = "(1<<0)"asOBJ_VALUE = "(1<<1)"asOBJ_GC = "(1<<2)"asOBJ_POD = "(1<<3)"asOBJ_NOHANDLE = "(1<<4)"asOBJ_SCOPED = "(1<<5)"asOBJ_TEMPLATE = "(1<<6)"asOBJ_ASHANDLE = "(1<<7)"asOBJ_APP_CLASS = "(1<<8)"asOBJ_APP_CLASS_CONSTRUCTOR = "(1<<9)"asOBJ_APP_CLASS_DESTRUCTOR = "(1<<10)"asOBJ_APP_CLASS_ASSIGNMENT = "(1<<11)"asOBJ_APP_CLASS_COPY_CONSTRUCTOR = "(1<<12)"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 = "(1<<13)"asOBJ_APP_FLOAT = "(1<<14)"asOBJ_APP_ARRAY = "(1<<15)"asOBJ_APP_CLASS_ALLINTS = "(1<<16)"asOBJ_APP_CLASS_ALLFLOATS = "(1<<17)"asOBJ_NOCOUNT = "(1<<18)"asOBJ_APP_CLASS_ALIGN8 = "(1<<19)"asOBJ_IMPLICIT_HANDLE = "(1<<20)"asOBJ_SCRIPT_OBJECT = "(1<<21)"asOBJ_SHARED = "(1<<22)"asOBJ_NOINHERIT = "(1<<23)"asOBJ_FUNCDEF = "(1<<24)"asOBJ_ENUM = "(1<<26)"asOBJ_TYPEDEF = "(1<<28)"asOBJ_ABSTRACT = "(1<<29)"End EnumEnum asEBehavioursasBEHAVE_CONSTRUCT 'asBEHAVE_LIST_CONSTRUCT 'asBEHAVE_DESTRUCT 'asBEHAVE_FACTORY 'asBEHAVE_LIST_FACTORY 'asBEHAVE_ADDREF 'asBEHAVE_RELEASE 'asBEHAVE_GET_WEAKREF_FLAG 'asBEHAVE_VALUE_CAST 'asBEHAVE_IMPLICIT_VALUE_CAST 'asBEHAVE_REF_CAST 'asBEHAVE_IMPLICIT_REF_CAST 'asBEHAVE_TEMPLATE_CALLBACK 'asBEHAVE_GETREFCOUNT = "asBEHAVE_FIRST_GC" 'asBEHAVE_SETGCFLAG 'asBEHAVE_GETGCFLAG 'asBEHAVE_ENUMREFS 'asBEHAVE_RELEASEREFS 'End EnumEnum asEContextStateasEXECUTION_FINISHED = "0"asEXECUTION_SUSPENDED = "1"asEXECUTION_ABORTED = "2"asEXECUTION_EXCEPTION = "3"asEXECUTION_PREPARED = "4"asEXECUTION_UNINITIALIZED = "5"asEXECUTION_ACTIVE = "6"asEXECUTION_ERROR = "7"End EnumEnum asEMsgTypeasMSGTYPE_ERROR = "0"asMSGTYPE_WARNING = "1"asMSGTYPE_INFORMATION = "2"End EnumEnum asEGCFlagsasGC_FULL_CYCLE = "1"asGC_ONE_STEP = "2"asGC_DESTROY_GARBAGE = "4"asGC_DETECT_GARBAGE = "8"End EnumEnum asETokenClassasTC_UNKNOWN = "0"asTC_KEYWORD = "1"asTC_VALUE = "2"asTC_IDENTIFIER = "3"asTC_COMMENT = "4"asTC_WHITESPACE = "5"End EnumEnum asETypeIdFlagsasTYPEID_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"End EnumEnum asETypeModifiersasTM_NONE = "0"asTM_INREF = "1"asTM_OUTREF = "2"asTM_INOUTREF = "3"asTM_CONST = "4"End EnumEnum asEGMFlagsasGM_ONLY_IF_EXISTS = "0"asGM_CREATE_IF_NOT_EXISTS = "1"asGM_ALWAYS_CREATE = "2"End EnumEnum asECompileFlagsasCOMP_ADD_TO_MODULE = "1"End EnumEnum asEFuncTypeasFUNC_SYSTEM = "0"asFUNC_SCRIPT = "1"asFUNC_INTERFACE = "2"asFUNC_VIRTUAL = "3"asFUNC_FUNCDEF = "4"asFUNC_IMPORTED = "5"asFUNC_DELEGATE = "6"End EnumEnum asEBCInstrasBC_PopPtr = "0" 'Removes a pointer from the stack.asBC_PshGPtr = "1" 'Pushes a pointer from a global variable onto the stack.asBC_PshC4 = "2" 'Push the 32bit value in the argument onto the stack.asBC_PshV4 = "3" 'Push the 32bit value from a variable onto the stack.asBC_PSF = "4" 'Push the address of the stack frame onto the stack.asBC_SwapPtr = "5" 'Swap the top two pointers on the stack.asBC_NOT = "6" 'Perform a boolean not on the value in a variable.asBC_PshG4 = "7" 'Push the 32bit value from a global variable onto the stack.asBC_LdGRdR4 = "8" 'Perform the actions of asBC_LDG followed by asBC_RDR4.asBC_CALL = "9" 'Jump to a script function, indexed by the argument.asBC_RET = "10" 'Return to the instruction after the last executed call.asBC_JMP = "11" 'Unconditional jump to a relative position in this function.asBC_JZ = "12" 'If the value register is 0 jump to a relative position in this function.asBC_JNZ = "13" 'If the value register is not 0 jump to a relative position in this function.asBC_JS = "14" 'If the value register is less than 0 jump to a relative position in this function.asBC_JNS = "15" 'If the value register is greater than or equal to 0 jump to a relative position in this function.asBC_JP = "16" 'If the value register is greater than 0 jump to a relative position in this function.asBC_JNP = "17" 'If the value register is less than or equal to 0 jump to a relative position in this function.asBC_TZ = "18" 'If the value register is 0 set it to 1.asBC_TNZ = "19" 'If the value register is not 0 set it to 1.asBC_TS = "20" 'If the value register is less than 0 set it to 1.asBC_TNS = "21" 'If the value register is greater than or equal to 0 set it to 1.asBC_TP = "22" 'If the value register is greater than 0 set it to 1.asBC_TNP = "23" 'If the value register is less than or equal to 0 set it to 1.asBC_NEGi = "24" 'Negate the 32bit integer value in the variable.asBC_NEGf = "25" 'Negate the float value in the variable.asBC_NEGd = "26" 'Negate the double value in the variable.asBC_INCi16 = "27" 'Increment the 16bit integer value that is stored at the address pointed to by the reference in the value register.asBC_INCi8 = "28" 'Increment the 8bit integer value that is stored at the address pointed to by the reference in the value register.asBC_DECi16 = "29" 'Decrement the 16bit integer value that is stored at the address pointed to by the reference in the value register.asBC_DECi8 = "30" 'Increment the 8bit integer value that is stored at the address pointed to by the reference in the value register.asBC_INCi = "31" 'Increment the 32bit integer value that is stored at the address pointed to by the reference in the value register.asBC_DECi = "32" 'Decrement the 32bit integer value that is stored at the address pointed to by the reference in the value register.asBC_INCf = "33" 'Increment the float value that is stored at the address pointed to by the reference in the value register.asBC_DECf = "34" 'Decrement the float value that is stored at the address pointed to by the reference in the value register.asBC_INCd = "35" 'Increment the double value that is stored at the address pointed to by the reference in the value register.asBC_DECd = "36" 'Decrement the double value that is stored at the address pointed to by the reference in the value register.asBC_IncVi = "37" 'Increment the 32bit integer value in the variable.asBC_DecVi = "38" 'Decrement the 32bit integer value in the variable.asBC_BNOT = "39" 'Perform a bitwise complement on the 32bit value in the variable.asBC_BAND = "40" 'Perform a bitwise and of two 32bit values and store the result in a third variable.asBC_BOR = "41" 'Perform a bitwise or of two 32bit values and store the result in a third variable.asBC_BXOR = "42" 'Perform a bitwise exclusive or of two 32bit values and store the result in a third variable.asBC_BSLL = "43" 'Perform a logical left shift of a 32bit value and store the result in a third variable.asBC_BSRL = "44" 'Perform a logical right shift of a 32bit value and store the result in a third variable.asBC_BSRA = "45" 'Perform a arithmetical right shift of a 32bit value and store the result in a third variable.asBC_COPY = "46" 'Pop the destination and source addresses from the stack. Perform a bitwise copy of the referred object. Push the destination address on the stack.asBC_PshC8 = "47" 'Push a 64bit value on the stack.asBC_PshVPtr = "48" 'Push a pointer from the variable on the stack.asBC_RDSPtr = "49" 'Pop top address, read a pointer from it, and push the pointer onto the stack.asBC_CMPd = "50" 'Compare two double variables and store the result in the value register.asBC_CMPu = "51" 'Compare two unsigned 32bit integer variables and store the result in the value register.asBC_CMPf = "52" 'Compare two float variables and store the result in the value register.asBC_CMPi = "53" 'Compare two 32bit integer variables and store the result in the value register.asBC_CMPIi = "54" 'Compare 32bit integer variable with constant and store the result in value register.asBC_CMPIf = "55" 'Compare float variable with constant and store the result in value register.asBC_CMPIu = "56" 'Compare unsigned 32bit integer variable with constant and store the result in value register.asBC_JMPP = "57" 'Jump to relative position in the function where the offset is stored in a variable.asBC_PopRPtr = "58" 'Pop a pointer from the stack and store it in the value register.asBC_PshRPtr = "59" 'Push a pointer from the value register onto the stack.asBC_STR = "60" 'Push string address and length on the stack.asBC_CALLSYS = "61" 'Call registered function. Suspend further execution if requested.asBC_CALLBND = "62" 'Jump to an imported script function, indexed by the argument.asBC_SUSPEND = "63" 'Call line callback function if set. Suspend execution if requested.asBC_ALLOC = "64" 'Allocate the memory for the object. If the type is a script object then jump to the constructor, else call the registered constructor behaviour. Suspend further execution if requested.asBC_FREE = "65" 'Pop the address of the object variable from the stack. If ref type, call the release method, else call the destructor then free the memory. Clear the pointer in the variable.asBC_LOADOBJ = "66" 'Copy the object pointer from a variable to the object register. Clear the variable.asBC_STOREOBJ = "67" 'Copy the object pointer from the object register to the variable. Clear the object register.asBC_GETOBJ = "68" 'Move object pointer from variable onto stack location.asBC_REFCPY = "69" 'Pop destination handle reference. Perform a handle assignment, while updating the reference count for both previous and new objects.asBC_CHKREF = "70 " 'Throw an exception if the pointer on the top of the stack is null.asBC_GETOBJREF = "71" ' Replace a variable index on the stack with the object handle stored in that variable.asBC_GETREF = "72" 'Replace a variable index on the stack with the address of the variable.asBC_PshNull = "73" 'Push a null pointer on the stack.asBC_ClrVPtr = "74" 'Clear pointer in a variable.asBC_OBJTYPE = "75" 'Push the pointer argument onto the stack. The pointer is a pointer to an object type structure.asBC_TYPEID = "76" 'Push the type id onto the stack. Equivalent to PshC4.asBC_SetV4 = "77" 'Initialize the variable with a DWORD.asBC_SetV8 = "78" 'Initialize the variable with a QWORD.asBC_ADDSi = "79" 'Add a value to the top pointer on the stack, thus updating the address itself.asBC_CpyVtoV4 = "80" 'Copy a DWORD from one variable to another.asBC_CpyVtoV8 = "81" 'Copy a QWORD from one variable to another.asBC_CpyVtoR4 = "82" 'Copy a DWORD from a variable into the value register.asBC_CpyVtoR8 = "83" 'Copy a QWORD from a variable into the value register.asBC_CpyVtoG4 = "84" 'Copy a DWORD from a local variable to a global variable.asBC_CpyRtoV4 = "85" 'Copy a DWORD from the value register into a variable.asBC_CpyRtoV8 = "86" 'Copy a QWORD from the value register into a variable.asBC_CpyGtoV4 = "87" 'Copy a DWORD from a global variable to a local variable.asBC_WRTV1 = "88" 'Copy a BYTE from a variable to the address held in the value register.asBC_WRTV2 = "89" 'Copy a WORD from a variable to the address held in the value register.asBC_WRTV4 = "90" 'Copy a DWORD from a variable to the address held in the value register.asBC_WRTV8 = "91" 'Copy a QWORD from a variable to the address held in the value register.asBC_RDR1 = "92" 'Copy a BYTE from address held in the value register to a variable. Clear the top bytes in the variable.asBC_RDR2 = "93" 'Copy a WORD from address held in the value register to a variable. Clear the top word in the variable.asBC_RDR4 = "94" 'Copy a DWORD from address held in the value register to a variable.asBC_RDR8 = "95" 'Copy a QWORD from address held in the value register to a variable.asBC_LDG = "96" 'Load the address of a global variable into the value register.asBC_LDV = "97" 'Load the address of a local variable into the value register.asBC_PGA = "98" 'Push the address of a global variable on the stack.asBC_CmpPtr = "99" 'Compare two pointers.asBC_VAR = "100" 'Push the index of the variable on the stack, with the size of a pointer.asBC_iTOf = "101" 'Convert the 32bit integer value to a float in the variable.asBC_fTOi = "102" 'Convert the float value to a 32bit integer in the variable.asBC_uTOf = "103" 'Convert the unsigned 32bit integer value to a float in the variable.asBC_fTOu = "104" 'Convert the float value to an unsigned 32bit integer in the variable.asBC_sbTOi = "105" 'Expand the low byte as a signed value to a full 32bit integer in the variable.asBC_swTOi = "106" 'Expand the low word as a signed value to a full 32bit integer in the variable.asBC_ubTOi = "107" 'Expand the low byte as an unsigned value to a full 32bit integer in the variable.asBC_uwTOi = "108" 'Expand the low word as an unsigned value to a full 32bit integer in the variable.asBC_dTOi = "109" 'Convert the double value in one variable to a 32bit integer in another variable.asBC_dTOu = "110" 'Convert the double value in one variable to a 32bit unsigned integer in another variable.asBC_dTOf = "111" 'Convert the double value in one variable to a float in another variable.asBC_iTOd = "112" 'Convert the 32bit integer value in one variable to a double in another variable.asBC_uTOd = "113" 'Convert the 32bit unsigned integer value in one variable to a double in another variable.asBC_fTOd = "114" 'Convert the float value in one variable to a double in another variable.asBC_ADDi = "115" 'Add the values of two 32bit integer variables and store in a third variable.asBC_SUBi = "116" 'Subtract the values of two 32bit integer variables and store in a third variable.asBC_MULi = "117" 'Multiply the values of two 32bit integer variables and store in a third variable.asBC_DIVi = "118" 'Divide the values of two 32bit integer variables and store in a third variable.asBC_MODi = "119" 'Calculate the modulo of values of two 32bit integer variables and store in a third variable.asBC_ADDf = "120" 'Add the values of two float variables and store in a third variable.asBC_SUBf = "121" 'Subtract the values of two float variables and store in a third variable.asBC_MULf = "122" 'Multiply the values of two float variables and store in a third variable.asBC_DIVf = "123" 'Divide the values of two float variables and store in a third variable.asBC_MODf = "124" 'Calculate the modulo of values of two float variables and store in a third variable.asBC_ADDd = "125" 'Add the values of two double variables and store in a third variable.asBC_SUBd = "126" 'Subtract the values of two double variables and store in a third variable.asBC_MULd = "127" 'Multiply the values of two double variables and store in a third variable.asBC_DIVd = "128" 'Divide the values of two double variables and store in a third variable.asBC_MODd = "129" 'Calculate the modulo of values of two double variables and store in a third variable.asBC_ADDIi = "130" 'Add a 32bit integer variable with a constant value and store the result in another variable.asBC_SUBIi = "131" 'Subtract a 32bit integer variable with a constant value and store the result in another variable.asBC_MULIi = "132" 'Multiply a 32bit integer variable with a constant value and store the result in another variable.asBC_ADDIf = "133" 'Add a float variable with a constant value and store the result in another variable.asBC_SUBIf = "134" 'Subtract a float variable with a constant value and store the result in another variable.asBC_MULIf = "135" 'Multiply a float variable with a constant value and store the result in another variable.asBC_SetG4 = "136" 'Set the value of global variable to a 32bit word.asBC_ChkRefS = "137" 'Throw an exception if the address stored on the stack points to a null pointer.asBC_ChkNullV = "138" 'Throw an exception if the variable is null.asBC_CALLINTF = "139" 'Jump to an interface method, indexed by the argument.asBC_iTOb = "140" 'Convert a 32bit integer in a variable to a byte, clearing the top bytes.asBC_iTOw = "141" 'Convert a 32bit integer in a variable to a word, clearing the top word.asBC_SetV1 = "142" 'Same as SetV4.asBC_SetV2 = "143" 'Same as SetV4.asBC_Cast = "144" 'Pop an object handle to a script class from the stack. Perform a dynamic cast on it and store the result in the object register.asBC_i64TOi = "145" ' Convert the 64bit integer value in one variable to a 32bit integer in another variable.asBC_uTOi64 = "146" 'Convert the 32bit unsigned integer value in one variable to a 64bit integer in another variable.asBC_iTOi64 = "147" 'Convert the 32bit unsigned integer value in one variable to a 64bit integer in another variable.asBC_fTOi64 = "148" 'Convert the float value in one variable to a 64bit integer in another variable.asBC_dTOi64 = "149" 'Convert the double value in the variable to a 64bit integer.asBC_fTOu64 = "150" 'Convert the float value in one variable to a 64bit unsigned integer in another variable.asBC_dTOu64 = "151" 'Convert the double value in the variable to a 64bit unsigned integer.asBC_i64TOf = "152" 'Convert the 64bit integer value in one variable to a float in another variable.asBC_u64TOf = "153" 'Convert the 64bit unsigned integer value in one variable to a float in another variable.asBC_i64TOd = "154" 'Convert the 32bit unsigned integer value in the variable to a double.asBC_u64TOd = "155" 'Convert the 32bit unsigned integer value in the variable to a double.asBC_NEGi64 = "156" 'Negate the 64bit integer value in the variable.asBC_INCi64 = "157" 'Increment the 64bit integer value that is stored at the address pointed to by the reference in the value register.asBC_DECi64 = "158" 'Decrement the 64bit integer value that is stored at the address pointed to by the reference in the value register.asBC_BNOT64 = "159" 'Perform a bitwise complement on the 64bit value in the variable.asBC_ADDi64 = "160" 'Perform an addition with two 64bit integer variables and store the result in a third variable.asBC_SUBi64 = "161" 'Perform a subtraction with two 64bit integer variables and store the result in a third variable.asBC_MULi64 = "162" 'Perform a multiplication with two 64bit integer variables and store the result in a third variable.asBC_DIVi64 = "163" 'Perform a division with two 64bit integer variables and store the result in a third variable.asBC_MODi64 = "164" 'Perform the modulo operation with two 64bit integer variables and store the result in a third variable.asBC_BAND64 = "165" 'Perform a bitwise and of two 64bit values and store the result in a third variable.asBC_BOR64 = "166" 'Perform a bitwise or of two 64bit values and store the result in a third variable.asBC_BXOR64 = "167" 'Perform a bitwise exclusive or of two 64bit values and store the result in a third variable.asBC_BSLL64 = "168" 'Perform a logical left shift of a 64bit value and store the result in a third variable.asBC_BSRL64 = "169" 'Perform a logical right shift of a 64bit value and store the result in a third variable.asBC_BSRA64 = "170" 'Perform a arithmetical right shift of a 64bit value and store the result in a third variable.asBC_CMPi64 = "171" 'Compare two 64bit integer variables and store the result in the value register.asBC_CMPu64 = "172" 'Compare two unsigned 64bit integer variables and store the result in the value register.asBC_ChkNullS = "173" ' Check if a pointer on the stack is null, and if it is throw an exception. The argument is relative to the top of the stack.asBC_ClrHi = "174" 'Clear the upper bytes of the value register so that only the value in the lowest byte is kept.asBC_JitEntry = "175" 'If a JIT function is available and the argument is not 0 then call the JIT function.asBC_CallPtr = "176" 'Call a function stored in a local function pointer.asBC_FuncPtr = "177" 'Push a function pointer on the stack.asBC_LoadThisR = "178" ' Load the address to a property of the local object into the stack. PshV4 0, ADDSi x, PopRPtr.asBC_PshV8 = "179" 'Push the 64bit value from a variable onto the stack.asBC_DIVu = "180" 'Divide the values of two 32bit unsigned integer variables and store in a third variable.asBC_MODu = "181" 'Calculate the modulo of values of two 32bit unsigned integer variables and store in a third variable.asBC_DIVu64 = "182" 'Divide the values of two 64bit unsigned integer variables and store in a third variable.asBC_MODu64 = "183" 'Calculate the modulo of values of two 64bit unsigned integer variables and store in a third variable.asBC_LoadRObjR = "184" 'Load address of member of reference object into register.asBC_LoadVObjR = "185" 'Load address of member of value object into register.asBC_RefCpyV = "186" 'Copies a handle to a variable.asBC_JLowZ = "187" 'Jump if low byte of value register is 0.asBC_JLowNZ = "188" 'Jump if low byte of value register is not 0.asBC_AllocMem = "189" 'Allocates memory for an initialization list buffer.asBC_SetListSize = "190" 'Sets a repeat count in the list buffer.asBC_PshListElmnt = "191" 'Pushes the address of an element in the list buffer on the stack.asBC_SetListType = "192" 'Sets the type of the next element in the list buffer.asBC_POWi = "193" 'Computes the power of for two int values.asBC_POWu = "194" 'Computes the power of for two uint values.asBC_POWf = "195" 'Computes the power of for two float values.asBC_POWd = "196" 'Computes the power of for two double values.asBC_POWdi = "197" 'Computes the power of where base is a double and exponent is an int value.asBC_POWi64 = "198" 'Computes the power of for two int64 values.asBC_POWu64 = "199" 'Computes the power of for two uint64 values.asBC_Thiscall1 = "200" 'Call registered function with single 32bit integer argument. Suspend further execution if requested.End EnumEnum asEBCTypeasBCTYPE_NO_ARG = "1" 'Instruction + no args.asBCTYPE_W_ARG = "2" 'Instruction + WORD arg.asBCTYPE_wW_ARG = "3" 'Instruction + WORD arg (dest var)asBCTYPE_DW_ARG = "4" 'Instruction + DWORD arg.asBCTYPE_rW_DW_ARG = "5" 'Instruction + WORD arg (source var) + DWORD arg.asBCTYPE_QW_ARG = "6" 'Instruction + QWORD arg.asBCTYPE_DW_DW_ARG = "7" 'Instruction + DWORD arg + DWORD arg.asBCTYPE_wW_rW_rW_ARG = "8" 'Instruction + WORD arg (dest var) + WORD arg (source var) + WORD arg (source var)asBCTYPE_wW_QW_ARG = "9" 'Instruction + WORD arg (dest var) + QWORD arg.asBCTYPE_wW_rW_ARG = "10" 'Instruction + WORD arg (source var)asBCTYPE_rW_ARG = "11" 'Instruction + WORD arg (dest var) + DWORD arg.asBCTYPE_wW_DW_ARG = "12" 'Instruction + WORD arg (dest var) + WORD arg (source var) + DWORD arg.asBCTYPE_wW_rW_DW_ARG = "13" 'Instruction + WORD arg (source var) + WORD arg (source var)asBCTYPE_rW_rW_ARG = "14" 'Instruction + WORD arg (dest var) + WORD arg.asBCTYPE_wW_W_ARG = "15" 'Instruction + QWORD arg + DWORD arg.asBCTYPE_QW_DW_ARG = "16" 'Instruction + WORD arg (source var) + QWORD arg.asBCTYPE_rW_QW_ARG = "17" 'Instruction + WORD arg + DWORD arg.asBCTYPE_W_DW_ARG = "18" 'Instruction + WORD arg(source var) + WORD arg + DWORD arg.asBCTYPE_rW_W_DW_ARG = "19" 'Instruction + WORD arg(source var) + WORD arg + DWORD arg.asBCTYPE_rW_DW_DW_ARG = "20" 'Instruction + WORD arg(source var) + DWORD arg + DWORD arg.End Enum'''''''''''''''''''''''''''''''''''Struct asSFuncPtrEnd StructStruct asSMessageInfoEnd StructStruct asSBCInfoEnd StructStruct asSVMRegistersEnd StructStruct asBCTypeSizeEnd Struct'''''''''''''''''''''''''''''''''''Alias asPWORD:ULongAlias asUINT:UIntAlias asDWORD:ULongAlias asBYTE:CStringAlias asWORD:UShortAlias asQWORD:ULong'''''''''''''''''''''''''''''''''''''Const bc:asSBCInfo ptrConst col:asSMessageInfo PtrConst ctx:asSVMRegisters PtrConst doProcessSuspend:asSVMRegisters PtrConst message:asSMessageInfo PtrConst name:asSBCInfo PtrConst objectRegister:asSVMRegisters PtrConst objectType:asSVMRegisters PtrConst programPointer:asSVMRegisters PtrConst row:asSMessageInfo PtrConst section:asSMessageInfo PtrConst stackFramePointer:asSVMRegisters PtrConst stackInc:asSBCInfo PtrConst stackPointer:asSVMRegisters PtrConst type:asSMessageInfo PtrConst valueRegister:asSVMRegisters PtrConst ANGELSCRIPT_VERSION:asDWORD = "23102"'''''''''''''''''''''''''''''''''''Class asIScriptEngine Extends Void'// Memory managementMethod AddRef:Int() VirtualMethod Release:Int() VirtualMethod ShutDownAndRelease:Int() Virtual'// Engine propertiesMethod SetEngineProperty:Int(aproperty:asEEngineProp,value:asPWORD) VirtualMethod GetEngineProperty:asPWORD(aproperty:asEEngineProp) Virtual'// Compiler messagesMethod SetMessageCallback:Int(callback:asSFuncPtr,obj:Void,callConv:asDWORD) VirtualMethod ClearMessageCallback:Int() VirtualMethod WriteMessage:Int(section:CString,row:Int,col:Int,type:asEMsgType,message:CString) Virtual'// JIT CompilerMethod SetJITCompiler:Int(compiler:asIJITCompiler) VirtualMethod GetJITCompiler:asIJITCompiler() Virtual'// Global functionsMethod RegisterGlobalFunction:Int(decl:CString,functionPointer:asSFuncPtr,callConv:asDWORD,auxillary:Void = 0) VirtualMethod GetGlobalFunctionCount:asUINT() VirtualMethod GetGlobalFunctionByIndex:asIScriptFunction(index:asUINT) VirtualMethod GetGlobalFunctionByDecl:asIScriptFunction(decl:CString) Virtual'// Global propertiesMethod RegisterGlobalProperty:Int(decl:CString,pointer:Void) VirtualMethod GetGlobalPropertyCount:asUINT() VirtualMethod GetGlobalPropertyByIndex:Int(index:asUINT,name:CString,anameSpace:CString = 0,typeid:Int = 0,IsConst:Bool = 0,configGroup:CString = 0,pointer:Void = 0,accessMask:asDWORD = 0) VirtualMethod GetGlobalPropertyIndexByName:Int(name:CString) VirtualMethod GetGlobalPropertyIndexByDecl:Int(decl:CString) Virtual'// Object typesMethod RegisterObjectType:Int(obj:CString,byteSize:Int,flags:asDWORD) VirtualMethod RegisterObjectProperty:Int(obj:CString,decl:CString,byteOffset:Int) VirtualMethod RegisterObjectMethod:Int(obj:CString,decl:CString,funcPointer:asSFuncPtr,callConv:asDWORD,auxiliary:Void = 0) VirtualMethod RegisterObjectBehaviour:Int(obj:CString,behaviour:asEBehaviours,decl:CString,funcPointer:asSFuncPtr,callConv:asDWORD,auxiliary:Void = 0) VirtualMethod RegisterInterface:Int(name:CString) VirtualMethod RegisterInterfaceMethod:Int(intf:CString,decl:CString) VirtualMethod GetObjectTypeCount:asUINT() VirtualMethod GetObjectTypeByIndex:asITypeInfo(index:asUINT) VirtualMethod GetObjectTypeByName:asITypeInfo(name:CString) VirtualMethod GetObjectTypeByDecl:asITypeInfo(decl:CString) Virtual'// String factoryMethod RegisterStringFactory:Int(datatype:CString,factoryFunc:asSFuncPtr Ptr,callConv:asDWORD,auxiliary:Void = 0) VirtualMethod GetStringFactoryReturnTypeId:Int(flags:asDWORD = 0) Virtual'// Default array typeMethod RegisterDefaultArrayType:Int(type:CString) VirtualMethod GetDefaultArrayTypeId:Int() Virtual'// EnumsMethod RegisterEnum:Int(type:CString) VirtualMethod RegisterEnumValue:Int(type:CString,name:CString,value:Int) VirtualMethod GetEnumCount:asUINT() VirtualMethod GetEnumByIndex:asITypeInfo(index:asUINT) VirtualMethod GetEnumValueCount:Int(enumTypeId:Int) VirtualMethod GetEnumValueByIndex:CString(enumTypeId:Int,index:asUINT,outValue:Int) Virtual'// FuncdefsMethod RegisterFuncdef:Int(decl:CString) VirtualMethod GetFuncdefCount:asUINT() VirtualMethod GetFuncdefByIndex:asITypeInfo(index:asUINT) Virtual'// TypedefsMethod RegisterTypedef:Int(type:CString,decl:CString) VirtualMethod GetTypedefCount:asUINT() VirtualMethod GetTypedefByIndex:asITypeInfo(index:asUINT) Virtual'// Configuration groupsMethod BeginConfigGroup:Int(groupName:CString) VirtualMethod EndConfigGroup:Int() VirtualMethod RemoveConfigGroup:Int(groupName:CString) VirtualMethod SetDefaultAccessMask:asDWORD(defaultMask:asDWORD) VirtualMethod SetDefaultNamespace:Int(inameSpace:CString) VirtualMethod GetDefaultNamespace:CString() Virtual'// Script modulesMethod GetModule:asIScriptModule(module:CString,flag:asEGMFlags = asGM_ONLY_IF_EXISTS) VirtualMethod DiscardModule:Int(module:CString) VirtualMethod GetModuleCount:asUINT() VirtualMethod GetModuleByIndex:asIScriptModule(index:asUINT) Virtual'// Script functionsMethod GetFunctionById:asIScriptFunction(funcId:Int) VirtualMethod GetFuncdefFromTypeId:asIScriptFunction(typeid:Int) VirtualMethod GetTypeIdByDecl:Int(decl:CString) VirtualMethod GetTypeDeclaration:CString(typeId:Int,includeNamespace:Bool = false) VirtualMethod GetSizeOfPrimitiveType:Int(typeId:Int) VirtualMethod GetTypeInfoById:asITypeInfo(typeId:Int) VirtualMethod GetTypeInfoByName:asITypeInfo(name:CString) VirtualMethod GetTypeInfoByDecl:asITypeInfo(decl:CString) Virtual'// Script executionMethod CreateContext:asIScriptContext() VirtualMethod CreateScriptObject:Void(type:asITypeInfo) VirtualMethod CreateScriptObjectCopy:Void(obj:Void,type:asITypeInfo) VirtualMethod CreateUninitializedScriptObject:Void(type:asITypeInfo) VirtualMethod CreateDelegate:asIScriptFunction(func:asIScriptFunction,obj:Void) VirtualMethod AssignScriptObject:Int(dstObj:Void,srcObj:Void,type:asITypeInfo) VirtualMethod ReleaseScriptObject:Void(obj:Void,type:asITypeInfo) VirtualMethod AddRefScriptObject:Void(obj:Void,type:asITypeInfo) VirtualMethod RefCastObject:Int(obj:Void,fromType:asITypeInfo,toType:asITypeInfo,newPtr:Void,useOnlyImplicitCast:Bool = false) VirtualMethod GetWeakRefFlagOfScriptObject:asILockableSharedBool(obj:Void,type:asITypeInfo) Virtual'// Context poolingMethod RequestContext:asIScriptContext() VirtualMethod ReturnContext:Void(ctx:asIScriptContext) Virtual'Method SetContextCallbacks:Int(requestCtx:asREQUESTCONTEXTFUNC_t,returnCtx:asRETURNCONTEXTFUNC_t,param:Void = 0)'// String interpretationMethod ParseToken:asETokenClass(astring:CString,stringLength:UInt = 0,tokenLength:asUINT = 0) Virtual'// Garbage collectionMethod GarbageCollect:Int(flags:asDWORD = asGC_FULL_CYCLE,numIterations:asUINT = 1) VirtualMethod GetGCStatistics:Void(currentSize:asUINT,totalDestroyed:asUINT = 0,totalDetected:asUINT = 0,newObjects:asUINT = 0,totalNewDestroyed:asUINT = 0) VirtualMethod NotifyGarbageCollectorOfNewObject:Int(obj:Void,type:asITypeInfo) VirtualMethod GetObjectInGC:Int(idx:asUINT,seqNbr:asUINT = 0,obj:Void = 0,type:asITypeInfo = 0) VirtualMethod GCEnumCallback:Void(reference:Void) Virtual'// User dataMethod SetUserData:Void(data:Void,type:asPWORD = 0) VirtualMethod GetUserData:Void(type:asPWORD = 0) Virtual'Method SetEngineUserDataCleanupCallback:Void(callback:asCLEANENGINEFUNC_t,type:asPWORD = 0)'Method SetModuleUserDataCleanupCallback:Void(callback:asCLEANMODULEFUNC_t,type:asPWORD = 0)'Method SetContextUserDataCleanupCallback:Void(callback:asCLEANCONTEXTFUNC_t,type:asPWORD = 0)'Method SetFunctionUserDataCleanupCallback:Void(callback:asCLEANFUNCTIONFUNC_t,type:asPWORD = 0)'Method SetTypeInfoUserDataCleanupCallback:Void(callback:asCLEANTYPEINFOFUNC_t,type:asPWORD = 0)'Method SetScriptObjectUserDataCleanupCallback:Void(callback:asCLEANSCRIPTOBJECTFUNC_t,type:asPWORD = 0)End Class'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asIScriptModule Extends VoidMethod GetEngine:asIScriptEngine() VirtualMethod SetName:Void(name:CString) VirtualMethod GetName:CString() VirtualMethod Discard:Void() Virtual'// CompilationMethod AddScriptSection:Int(name:CString,code:CString,codeLength:UInt = "0",lineOffset:Int = "0") VirtualMethod Build:Int() VirtualMethod CompileFunction:Int(sectionName:CString,code:CString,lineOffset:Int,compileFlags:asDWORD,outFunc:asIScriptFunction) VirtualMethod CompileGlobalVar:Int(sectionName:CString,code:CString,lineOffset:Int) VirtualMethod SetAccessMask:asDWORD(accessMask:asDWORD) VirtualMethod SetDefaultNamespace:Int(inameSpace:CString) VirtualMethod GetDefaultNamespace:CString() Virtual'// FunctionsMethod GetFunctionCount:asUINT() VirtualMethod GetFunctionByIndex:asIScriptFunction(index:asUINT) VirtualMethod GetFunctionByDecl:asIScriptFunction(decl:CString) VirtualMethod GetFunctionByName:asIScriptFunction(name:CString) VirtualMethod RemoveFunction:int(func:asIScriptFunction) Virtual'// Global variablesMethod ResetGlobalVars:Int(ctx:asIScriptContext) VirtualMethod GetGlobalVarCount:UInt() VirtualMethod GetGlobalVarIndexByName:Int(name:CString) VirtualMethod GetGlobalVarIndexByDecl:Int(decl:CString) VirtualMethod GetGlobalVarDeclaration:CString(index:CString,includeNamespace:Bool= false) VirtualMethod GetGlobalVar:Int(index:asUINT,name:CString,inameSpace:CString = 0,typeId:Int = 0,isConst:Bool = 0) VirtualMethod GetAddressOfGlobalVar:Void(index:asUINT) VirtualMethod RemoveGlobalVar:Int(index:asUINT) Virtual'// Type identificationMethod GetObjectTypeCount:asUINT() VirtualMethod GetObjectTypeByIndex:asITypeInfo(index:asUINT) VirtualMethod GetTypeIdByDecl:Int(decl:CString) VirtualMethod GetTypeInfoByName:asITypeInfo(name:CString) VirtualMethod GetTypeInfoByDecl:asITypeInfo(decl:CString) Virtual'// EnumsMethod GetEnumCount:asUINT() VirtualMethod GetEnumByIndex:asITypeInfo(index:asUINT) Virtual'// TypedefsMethod GetTypedefCount:asUINT() VirtualMethod GetTypedefByIndex:asITypeInfo(index:asUINT) Virtual'// Dynamic binding between modulesMethod GetImportedFunctionCount:asUINT() VirtualMethod GetImportedFunctionIndexByDecl:Int(decl:CString) VirtualMethod GetImportedFunctionDeclaration:CString(importIndex:asUINT) VirtualMethod GetImportedFunctionSourceModule:CString(importIndex:asUINT) VirtualMethod BindImportedFunction:Int(importIndex:asUINT,func:asIScriptFunction) VirtualMethod UnbindImportedFunction:Int(importIndex:asUINT) VirtualMethod BindAllImportedFunctions:Int() VirtualMethod UnbindAllImportedFunctions:Int() Virtual'// Byte code saving and loadingMethod SaveByteCode:Int(out:asIBinaryStream,stripDebugInfo:bool = false) VirtualMethod LoadByteCode:int(in:asIBinaryStream,wasDebugInfoStripped:bool = 0) Virtual'// User dataMethod SetUserData:void(data:void,type:asPWORD = 0) VirtualMethod GetUserData:void(type:asPWORD = 0) VirtualEnd Class'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asIScriptContext Extends Void'// Memory managementMethod AddRef:Int() VirtualMethod Release:Int() Virtual'// MiscellaneousMethod GetEngine:asIScriptEngine() Virtual'// ExecutionMethod Prepare:Int(func:asIScriptFunction) VirtualMethod Unprepare:Int() VirtualMethod Execute:Int() VirtualMethod Abort:Int() VirtualMethod Suspend:Int() VirtualMethod GetState:asEContextState() VirtualMethod PushState:Int() VirtualMethod PopState:Int() VirtualMethod IsNested:Bool(nestCount:asUINT = 0) Virtual'// Object pointer for calling class methodsMethod SetObject:int(obj:Void) Virtual'// ArgumentsMethod SetArgByte:int(arg:asUINT,value:asBYTE) VirtualMethod SetArgWord:int(arg:asUINT,value:asWORD) VirtualMethod SetArgDWord:int(arg:asUINT,value:asDWORD) VirtualMethod SetArgQWord:int(arg:asUINT,value:asQWORD) VirtualMethod SetArgFloat:int(arg:asUINT,value:Float) VirtualMethod SetArgDouble:int(arg:asUINT,value:Double) VirtualMethod SetArgAddress:int(arg:asUINT,addr:Void) VirtualMethod SetArgObject:int(arg:asUINT,obj:Void) VirtualMethod SetArgVarType:int(arg:asUINT, Void ptr,typeId:Int) VirtualMethod GetAddressOfArg:Void(arg:asUINT) Virtual'// Return valueMethod GetReturnByte:asBYTE() VirtualMethod GetReturnWord:asWORD() VirtualMethod GetReturnDWord:asDWORD() VirtualMethod GetReturnQWord:asQWORD() VirtualMethod GetReturnFloat:Float() VirtualMethod GetReturnDouble:Double() VirtualMethod GetReturnAddress:Void() VirtualMethod GetReturnObject:Void() VirtualMethod GetAddressOfReturnValue:Void() Virtual'// Exception handlingMethod SetException:Int(astring:CString) VirtualMethod GetExceptionLineNumber:Int(column:Int = 0,sectionName:CString = 0) VirtualMethod GetExceptionFunction:asIScriptFunction() VirtualMethod GetExceptionString:CString() VirtualMethod SetExceptionCallback:Int(callback:asSFuncPtr,obj:Void,callConv:Int) VirtualMethod ClearExceptionCallback:Void() Virtual'// DebuggingMethod SetLineCallback:Int(callback:asSFuncPtr,obj:Void,callConv:Int) VirtualMethod ClearLineCallback:Void() VirtualMethod GetCallstackSize:asUINT() VirtualMethod GetFunction:asIScriptFunction(stackLevel:asUINT = 0) VirtualMethod GetLineNumber:Int(stackLevel:asUINT = 0,column:Int = 0,sectionName:CString = 0) VirtualMethod GetVarCount:Int(stackLevel:asUINT = 0) VirtualMethod GetVarName:CString(varIndex:asUINT,stackLevel:asUINT = 0) VirtualMethod GetVarDeclaration:CString(varIndex:asUINT,stackLevel:asUINT = 0,includeNamespace:bool = false) VirtualMethod GetVarTypeId:Int(varIndex:asUINT,stackLevel:asUINT = 0) VirtualMethod GetAddressOfVar:Void(varIndex:asUINT,stackLevel:asUINT = 0) VirtualMethod IsVarInScope:Bool(varIndex:asUINT,stackLevel:asUINT = 0) VirtualMethod GetThisTypeId:Int(stackLevel:asUINT = 0) VirtualMethod GetThisPointer:Void(stackLevel:asUINT = 0) VirtualMethod GetSystemFunction:asIScriptFunction() Virtual'// User dataMethod SetUserData:Void(data:Void,type:asPWORD = 0) VirtualMethod GetUserData:Void(type:asPWORD = 0) VirtualEnd Class''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asIScriptGeneric Extends Void'// MiscellaneousMethod GetEngine:asIScriptEngine() VirtualMethod GetFunction:asIScriptFunction() VirtualMethod GetAuxiliary:void() Virtual'// ObjectMethod GetObject:Void() VirtualMethod GetObjectTypeId:Int() Virtual'// ArgumentsMethod GetArgCount() VirtualMethod GetArgTypeId(arg:asUINT,flags:asDWORD = 0) VirtualMethod GetArgByte:asBYTE(arg:asUINT) VirtualMethod GetArgWord:asWORD(arg:asUINT) VirtualMethod GetArgDWord:asDWORD(arg:asUINT) VirtualMethod GetArgQWord:asQWORD(arg:asUINT) VirtualMethod GetArgFloat:Float(arg:asUINT) VirtualMethod GetArgDouble:Double(arg:asUINT) VirtualMethod GetArgAddress:Void(arg:asUINT) VirtualMethod GetArgObject:Void(arg:asUINT) VirtualMethod GetAddressOfArg:Void(arg:asUINT) Virtual'// Return valueMethod GetReturnTypeId:Int(flags:asDWORD = 0) VirtualMethod SetReturnByte:Int(val:asBYTE) VirtualMethod SetReturnWord:Int(val:asWORD) VirtualMethod SetReturnDWord:Int(val:asDWORD) VirtualMethod SetReturnQWord:Int(val:asQWORD) VirtualMethod SetReturnFloat:Int(val:float) VirtualMethod SetReturnDouble:Int(val:Double) VirtualMethod SetReturnAddress:Int(addr:Void) VirtualMethod SetReturnObject:Int(obj:void) VirtualMethod GetAddressOfReturnLocation:Void() VirtualEnd Class''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asIScriptObject Extends Void'// Memory managementMethod AddRef:Int() VirtualMethod Release:Int() VirtualMethod GetWeakRefFlag:asILockableSharedBool() Virtual'// Type infoMethod GetTypeId:Int() VirtualMethod GetObjectType:asITypeInfo() Virtual'// Class propertiesMethod GetPropertyCount:asUINT() VirtualMethod GetPropertyTypeId:Int(prop:asUINT) VirtualMethod GetPropertyName:CString(prop:asUINT) VirtualMethod GetAddressOfProperty:Void(prop:asUINT) Virtual'// MiscellaneousMethod GetEngine:asIScriptEngine() VirtualMethod CopyFrom:Int(other:asIScriptObject) Virtual'// User dataMethod SetUserData:Void(data:Void,type:asPWORD = 0) VirtualMethod GetUserData:Void(type:asPWORD = 0) VirtualEnd Class''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asITypeInfo Extends Void'// MiscellaneousMethod GetEngine:asIScriptEngine() VirtualMethod GetConfigGroup:cstring() VirtualMethod GetAccessMask:asDWORD() VirtualMethod GetModule:asIScriptModule() Virtual'// Memory managementMethod AddRef:Int() VirtualMethod Release:Int() Virtual'// Type infoMethod GetName:CString() VirtualMethod GetNamespace:CString() VirtualMethod GetBaseType:asITypeInfo() VirtualMethod DerivesFrom:Bool(objType:asITypeInfo) VirtualMethod GetFlags:asDWORD() VirtualMethod GetSize:asUINT() VirtualMethod GetTypeId:Int() VirtualMethod GetSubTypeId:Int(subTypeIndex:asUINT = 0) VirtualMethod GetSubType:asITypeInfo(subTypeIndex:asUINT = 0) VirtualMethod GetSubTypeCount:asUINT() Virtual'// InterfacesMethod GetInterfaceCount:asUINT() VirtualMethod GetInterface:asITypeInfo(index:asUINT) VirtualMethod _Implements:Bool(objType:asITypeInfo) Virtual'// FactoriesMethod GetFactoryCount:asUINT() VirtualMethod GetFactoryByIndex:asIScriptFunction(index:asUINT) VirtualMethod GetFactoryByDecl:asIScriptFunction(decl:CString) Virtual'// MethodsMethod GetMethodCount:asUINT() VirtualMethod GetMethodByIndex:asIScriptFunction(index:asUINT,getVirtual:bool = true) VirtualMethod GetMethodByName:asIScriptFunction(name:CString,getVirtual:bool = true) VirtualMethod GetMethodByDecl:asIScriptFunction(decl:CString,getVirtual:bool = true) Virtual'// PropertiesMethod GetPropertyCount:asUINT() VirtualMethod GetProperty:Int(index:asUINT,name:cstring,typeId:int = 0,isPrivate:bool = 0,isProtected:bool = 0,offset:int = 0,isReference:Bool = 0,accessMask:asDWORD = 0) VirtualMethod GetPropertyDeclaration:CString(index:asUINT,includeNamespace:bool = false) Virtual'// BehavioursMethod GetBehaviourCount:asUINT() VirtualMethod GetBehaviourByIndex:asIScriptFunction(index:asUINT,outBehaviour:asEBehaviours) Virtual'// Child typesMethod GetChildFuncdefCount:asUINT() VirtualMethod GetChildFuncdef:asITypeInfo(index:asUINT) VirtualMethod GetParentType:asITypeInfo() Virtual'// EnumsMethod GetEnumValueCount:asUINT() VirtualMethod GetEnumValueByIndex:CString(index:asUINT,outValue:Int) Virtual'// TypedefMethod GetTypedefTypeId:int() Virtual'// FuncdefMethod GetFuncdefSignature:asIScriptFunction() Virtual'// User dataMethod SetUserData:Void(data:void,type:asPWORD = 0) VirtualMethod GetUserData:Void(type:asPWORD = 0) VirtualEnd Class''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asIScriptFunction Extends VoidMethod GetEngine:asIScriptEngine()'// Memory managementMethod AddRef:int() VirtualMethod Release:int() Virtual'// MiscellaneousMethod GetId:Int() VirtualMethod GetFuncType:asEFuncType() VirtualMethod GetModuleName:CString() VirtualMethod GetModule:asIScriptModule() VirtualMethod GetScriptSectionName:CString() VirtualMethod GetConfigGroup:CString() VirtualMethod GetAccessMask:asDWORD() VirtualMethod GetAuxiliary:Void() Virtual'// Function signatureMethod GetObjectType:asITypeInfo() VirtualMethod GetObjectName:cstring() VirtualMethod GetName:CString() VirtualMethod GetNamespace:CString() VirtualMethod GetDeclaration:CString(includeObjectName:Bool = true,includeNamespace:bool = false,includeParamNames:bool = false) VirtualMethod IsReadOnly:Bool() VirtualMethod IsPrivate:Bool() VirtualMethod IsProtected:Bool() VirtualMethod IsFinal:Bool() VirtualMethod IsOverride:Bool() VirtualMethod IsShared:Bool() VirtualMethod GetParamCount:asUINT() VirtualMethod GetParam:Int(index:asUINT,typeId:Int,flags:asDWORD = 0,name:cstring = 0,defaultArg:CString = 0) VirtualMethod GetReturnTypeId:Int(flags:asDWORD = 0) Virtual'// Type id for Function pointersMethod GetTypeId:Int() VirtualMethod IsCompatibleWithTypeId:Bool(typeId:Int) Virtual'// DelegatesMethod GetDelegateObject:Void() VirtualMethod GetDelegateObjectType:asITypeInfo() VirtualMethod GetDelegateFunction:asIScriptFunction() Virtual'// Debug informationMethod GetVarCount:asUINT() VirtualMethod GetVar:Int(index:asUINT,name:CString,typeId:Int = 0) VirtualMethod GetVarDecl:CString(index:asUINT,includeNamespace:Bool = false) VirtualMethod FindNextLineWithCode:Int(line:Int) Virtual'// For JIT compilationMethod GetByteCode:asDWORD(length:asUINT = 0) Virtual'// User dataMethod SetUserData:Void(userData:Void,type:asPWORD = 0) VirtualMethod GetUserData:Void(type:asPWORD = 0) VirtualEnd Class''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asIBinaryStream Extends VoidMethod Read:Void(Void Ptr,size:asUINT) VirtualMethod Write:Void(Void Ptr,size:asUINT) VirtualEnd Class'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asIJITCompiler Extends VoidMethod CompileFunction:Int(afunction:asIScriptFunction,output:asIScriptFunction) VirtualMethod ReleaseJITFunction:Void(func:asIJITCompiler = 0) VirtualEnd Class'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asIThreadManager Extends VoidEnd Class''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Class asILockableSharedBool Extends Void'// Memory managementMethod AddRef:Int() VirtualMethod Release:Int() Virtual'// ValueMethod Get:Bool() VirtualMethod Set:Void(val:bool) Virtual'// Thread managementMethod Lock:Void() VirtualMethod Unlock:Void() VirtualEnd Class''''''''''''''''''''''''''''''''''''''''''''''''''''''Function asAcquireExclusiveLock:Void()Function asAcquireSharedLock:Void()Function asAllocMem:Void()Function asAtomicDec:Int()Function asAtomicInc:Int()Function asCreateLockableSharedBool:asILockableSharedBool()Function asCreateScriptEngine:asIScriptEngine(version:asDWORD = ANGELSCRIPT_VERSION)Function asFreeMem:void()Function asGetActiveContext:asIScriptContext()Function asGetLibraryOptions:CString()Function asGetLibraryVersion:CString()Function asGetThreadManager:asIThreadManager()Function asGetTypeTraits:asUINT()Function asPrepareMultithread:Int()Function asReleaseExclusiveLock:Void()Function asReleaseSharedLock:Void()Function asResetGlobalMemoryFunctions:int()Function asSetGlobalMemoryFunctions:int()Function asThreadCleanup:Int()Function asUnprepareMultithread:Void()'''''''''''''''''''''''''''''''''''''''''''''''''''''Public''''''''''''''''''''''''''''''''''''''''''''''''''''Class MyWindow Extends WindowMethod New()Super.New("App",640,480)End MethodEndClass angelscript Extends asIScriptEngineMethod New()End MethodEnd ClassFunction Main:Void()Global instance:=New AppInstanceGlobal window:=New MyWindow''pScriptEngine:= New angelscriptApp.Run()EndMarch 28, 2017 at 12:02 pm #7642so it has started doing it on small projects i was trying to convert some array functions i was typing and swaping back and forth from google chrome.
thats the example i was trying i know its still borked but cant keep the editor open now :/
i should just reinstall but i hate messing about rebuilding.
Mark i did load ted into vs2015 debug and saved a project file and dmp but i need some were to upload to if its any use to you(prolly not)
[/crayon]Monkey1234567891011121314151617181920212223242526272829303132333435363738394041424344454647[crayon-5cb9bc6d8ebfc378511328 inline="true" ]#Import "<std>"#Import "<libc>"#Import "<mojo>"Using std..Using libc..Using mojo..Enum stuffEnd EnumClass vArrayField x:Int,y:IntMethod New()End MethodMethod Swap(x:Int,y:Int)Local temp:= xx = y = tempEnd MethodMethod Partition:Int(a:Int[],left:Int,right:Int,pivotIndex:Int)Local pivot:Int = a[pivotIndex]Local pIndex:Int = leftLocal i:IntFor i = left+i Until right++iIf a[i] <= pivotSwap(a[i],a[pIndex])'Index = pIndex++End ifNextSwap(a[pIndex],a[right])Return pIndexEnd MethodEnd ClassFunction Main:void()End FunctionMarch 28, 2017 at 1:54 pm #7643Mystic. But maybe it crash even with empty workspace when no one file opened?
March 28, 2017 at 2:10 pm #7646I had a problem with crashing on my Mack because flash drive was some how incompatible with my operating system or faulty. It probably was just faulty. I would start typing and all of a sudden the IDE would just crash. I replaced the Flash Drive where I was storing the programs and it stopped doing it.
March 28, 2017 at 2:25 pm #7647no problems so far with nothing loaded
March 29, 2017 at 5:17 am #7652@day you on mac or windows?
-
AuthorPosts
You must be logged in to reply to this topic.

