namespace
ScriptingScripting-related classes, compiled only if WITH_ANGELSCRIPT
Classes
- class CScriptArray
- AngelScript array
- class CScriptDictionary
- AngelScript dictionary
- class CScriptDictValue
- AngelScript dictionary value
- class CScriptHandle
- AngelScript reference handle
- class jjANIMATION
- class jjANIMFRAME
- class jjANIMSET
- struct jjBEHAVIOR
- struct jjCANVAS
- class jjCHARACTER
- class jjLAYER
- class jjMASKMAP
- class jjOBJ
- class jjPAL
- struct jjPALCOLOR
- class jjPARTICLE
- struct jjPARTICLEFIRE
- struct jjPARTICLEFLOWER
- struct jjPARTICLEICETRAIL
- struct jjPARTICLELEAF
- struct jjPARTICLEPIXEL
- struct jjPARTICLERAIN
- struct jjPARTICLESMOKE
- struct jjPARTICLESNOW
- struct jjPARTICLESPARK
- struct jjPARTICLESTAR
- struct jjPARTICLESTRING
- class jjPIXELMAP
- class jjPLAYER
- class jjRNG
- class jjSTREAM
- struct jjTEXTAPPEARANCE
- class jjWEAPON
- class LevelScriptLoader
- Binds an AngelScript script file to LevelHandler and executes the script.
- class ScriptActorWrapper
- class ScriptCollectibleWrapper
- class ScriptLoader
- Generic AngelScript script loader with
#include
and#pragma
directive support. - class ScriptPlayerWrapper
Enums
- enum airjump { airjumpNONE, airjumpHELICOPTER, airjumpSPAZ }
- enum ambientLighting { ambientLighting_OPTIONAL, ambientLighting_BASIC, ambientLighting_COMPLETE }
- enum anim { mAMMO, mBAT, mBEEBOY, mBEES, mBIGBOX, mBIGROCK, mBIGTREE, mBILSBOSS, mBIRD, mBIRD3D, mBOLLPLAT, mBONUS, mBOSS, mBRIDGE, mBUBBA, mBUMBEE, mBUTTERFLY, mCARROTPOLE, mCAT, mCAT2, mCATERPIL, mCHUCK, mCOMMON, mCONTINUE, mDEMON, mDESTSCEN, mDEVAN, mDEVILDEVAN, mDIAMPOLE, mDOG, mDOOR, mDRAGFLY, mDRAGON, mEVA, mFACES, mFATCHK, mFENCER, mFISH, mFLAG, mFLARE, mFONT, mFROG, mFRUITPLAT, mGEMRING, mGLOVE, mGRASSPLAT, mHATTER, mHELMUT, mJAZZ, mJAZZ3D, mJUNGLEPOLE, mLABRAT, mLIZARD, mLORI, mLORI2, mMENU, mMENUFONT, mMONKEY, mMOTH, mPICKUPS, mPINBALL, mPINKPLAT, mPSYCHPOLE, mQUEEN, mRAPIER, mRAVEN, mROBOT, mROCK, mROCKTURT, mSKELETON, mSMALTREE, mSNOW, mSONCSHIP, mSONICPLAT, mSPARK, mSPAZ, mSPAZ2, mSPAZ3D, mSPIKEBOLL, mSPIKEBOLL3D, mSPIKEPLAT, mSPRING, mSTEAM, mSUCKER, mTUBETURT, mTUFBOSS, mTUFTURT, mTURTLE, mTWEEDLE, mUTERUS, mVINE, mWARP10, mWARP100, mWARP20, mWARP50, mWITCH, mXBILSY, mXLIZARD, mXTURTLE, mZDOG, mZSPARK, mZZAMMO, mZZBETA, mZZCOMMON, mZZCONTINUE, mZZFONT, mZZMENUFONT, mZZREPLACEMENTS, mZZRETICLES, mZZSCENERY, mZZWARP, mCOUNT }
- enum dir { dirRIGHT, dirLEFT, dirUP, dirCURRENT }
- enum gameState { gameSTOPPED, gameSTARTED, gamePAUSED, gamePREGAME, gameOVERTIME }
- enum gameConnection { gameLOCAL, gameINTERNET, gameLAN_TCP }
- enum GM_ { GM_SP, GM_COOP, GM_BATTLE, GM_CTF, GM_TREASURE, GM_RACE }
- enum groundjump { groundjumpNONE, groundjumpREGULARJUMP, groundjumpJAZZ, groundjumpSPAZ, groundjumpLORI }
- enum object { aUNKNOWN, aPLAYERBULLET1, aPLAYERBULLET2, aPLAYERBULLET3, aPLAYERBULLET4, aPLAYERBULLET5, aPLAYERBULLET6, aPLAYERBULLET8, aPLAYERBULLET9, aPLAYERBULLETP1, aPLAYERBULLETP2, aPLAYERBULLETP3, aPLAYERBULLETP4, aPLAYERBULLETP5, aPLAYERBULLETP6, aPLAYERBULLETP8, aPLAYERBULLETP9, aPLAYERBULLETC1, aPLAYERBULLETC2, aPLAYERBULLETC3, aBULLET, aCATSMOKE, aSHARD, aEXPLOSION, aBOUNCEONCE, aREDGEMTEMP, aPLAYERLASER, aUTERUSEL, aBIRD, aBUBBLE, aGUN3AMMO3, aGUN2AMMO3, aGUN4AMMO3, aGUN5AMMO3, aGUN6AMMO3, aGUN7AMMO3, aGUN8AMMO3, aGUN9AMMO3, aTURTLESHELL, aSWINGVINE, aBOMB, aSILVERCOIN, aGOLDCOIN, aGUNCRATE, aCARROTCRATE, a1UPCRATE, aGEMBARREL, aCARROTBARREL, a1UPBARREL, aBOMBCRATE, aGUN3AMMO15, aGUN2AMMO15, aGUN4AMMO15, aGUN5AMMO15, aGUN6AMMO15, aTNT, aAIRBOARDGENERATOR, aFROZENGREENSPRING, aGUNFASTFIRE, aSPRINGCRATE, aREDGEM, aGREENGEM, aBLUEGEM, aPURPLEGEM, aSUPERREDGEM, aBIRDCAGE, aGUNBARREL, aGEMCRATE, aMORPHMONITOR, aENERGYUP, aFULLENERGY, aFIRESHIELD, aWATERSHIELD, aLIGHTSHIELD, aFASTFEET, aEXTRALIFE, aENDOFLEVELPOST, aSAVEPOST, aBONUSLEVELPOST, aREDSPRING, aGREENSPRING, aBLUESPRING, aINVINCIBILITY, aEXTRATIME, aFREEZER, aHREDSPRING, aHGREENSPRING, aHBLUESPRING, aBIRDMORPHMONITOR, aTRIGGERCRATE, aFLYCARROT, aRECTREDGEM, aRECTGREENGEM, aRECTBLUEGEM, aTUFTURT, aTUFBOSS, aLABRAT, aDRAGON, aLIZARD, aBUMBEE, aRAPIER, aSPARK, aBAT, aSUCKER, aCATERPILLAR, aCHESHIRE1, aCHESHIRE2, aHATTER, aBILSYBOSS, aSKELETON, aDOGGYDOGG, aNORMTURTLE, aHELMUT, aDEMON, aDRAGONFLY, aMONKEY, aFATCHK, aFENCER, aFISH, aMOTH, aSTEAM, aROCK, aGUN1POWER, aGUN2POWER, aGUN3POWER, aGUN4POWER, aGUN5POWER, aGUN6POWER, aPINLEFTPADDLE, aPINRIGHTPADDLE, aPIN500BUMP, aPINCARROTBUMP, aAPPLE, aBANANA, aCHERRY, aORANGE, aPEAR, aPRETZEL, aSTRAWBERRY, aSTEADYLIGHT, aPULZELIGHT, aFLICKERLIGHT, aQUEENBOSS, aFLOATSUCKER, aBRIDGE, aLEMON, aLIME, aTHING, aWMELON, aPEACH, aGRAPES, aLETTUCE, aEGGPLANT, aCUCUMB, aCOKE, aPEPSI, aMILK, aPIE, aCAKE, aDONUT, aCUPCAKE, aCHIPS, aCANDY1, aCHOCBAR, aICECREAM, aBURGER, aPIZZA, aFRIES, aCHICKLEG, aSANDWICH, aTACOBELL, aWEENIE, aHAM, aCHEESE, aFLOATLIZARD, aSTANDMONKEY, aDESTRUCTSCENERY, aDESTRUCTSCENERYBOMB, aCOLLAPSESCENERY, aSTOMPSCENERY, aGEMSTOMP, aRAVEN, aTUBETURTLE, aGEMRING, aROTSMALLTREE, aAMBIENTSOUND, aUTERUS, aCRAB, aWITCH, aROCKTURT, aBUBBA, aDEVILDEVAN, aDEVANROBOT, aROBOT, aCARROTUSPOLE, aPSYCHPOLE, aDIAMONDUSPOLE, aFRUITPLATFORM, aBOLLPLATFORM, aGRASSPLATFORM, aPINKPLATFORM, aSONICPLATFORM, aSPIKEPLATFORM, aSPIKEBOLL, aGENERATOR, aEVA, aBUBBLER, aTNTPOWER, aGUN8POWER, aGUN9POWER, aSPIKEBOLL3D, aSPRINGCORD, aBEES, aCOPTER, aLASERSHIELD, aSTOPWATCH, aJUNGLEPOLE, aBIGROCK, aBIGBOX, aTRIGGERSCENERY, aSONICBOSS, aBUTTERFLY, aBEEBOY, aSNOW, aTWEEDLEBOSS, aAIRBOARD, aFLAG, aXNORMTURTLE, aXLIZARD, aXFLOATLIZARD, aXBILSYBOSS, aZCAT, aZGHOST, areaONEWAY, areaHURT, areaVINE, areaHOOK, areaSLIDE, areaHPOLE, areaVPOLE, areaFLYOFF, areaRICOCHET, areaBELTRIGHT, areaBELTLEFT, areaBELTACCRIGHT, areaBELTACCLEFT, areaSTOPENEMY, areaWINDLEFT, areaWINDRIGHT, areaEOL, areaWARPEOL, areaENDMORPH, areaFLOATUP, areaROCKTRIGGER, areaDIMLIGHT, areaSETLIGHT, areaLIMITXSCROLL, areaRESETLIGHT, areaWARPSECRET, areaECHO, areaBOSSTRIGGER, areaJAZZLEVELSTART, areaSPAZLEVELSTART, areaMPLEVELSTART, areaLORILEVELSTART, areaWARP, areaWARPTARGET, areaAREAID, areaNOFIREZONE, areaTRIGGERZONE, aSUCKERTUBE, aTEXT, aWATERLEVEL, aMORPHFROG, aWATERBLOCK, aCOUNT }
- enum particle { particleNONE, particlePIXEL, particleFIRE, particleSMOKE, particleICETRAIL, particleSPARK, particleSCORE, particleSNOW, particleRAIN, particleFLOWER, particleLEAF, particleSTAR, particleTILE }
- enum playerAnim { mJAZZ_AIRBOARD, mJAZZ_AIRBOARDTURN, mJAZZ_BUTTSTOMPLAND, mJAZZ_CORPSE, mJAZZ_DIE, mJAZZ_DIVE, mJAZZ_DIVEFIREQUIT, mJAZZ_DIVEFIRERIGHT, mJAZZ_DIVEUP, mJAZZ_EARBRACHIATE, mJAZZ_ENDOFLEVEL, mJAZZ_FALL, mJAZZ_FALLBUTTSTOMP, mJAZZ_FALLLAND, mJAZZ_FIRE, mJAZZ_FIREUP, mJAZZ_FIREUPQUIT, mJAZZ_FROG, mJAZZ_HANGFIREQUIT, mJAZZ_HANGFIREREST, mJAZZ_HANGFIREUP, mJAZZ_HANGIDLE1, mJAZZ_HANGIDLE2, mJAZZ_HANGINGFIREQUIT, mJAZZ_HANGINGFIRERIGHT, mJAZZ_HELICOPTER, mJAZZ_HELICOPTERFIREQUIT, mJAZZ_HELICOPTERFIRERIGHT, mJAZZ_HPOLE, mJAZZ_HURT, mJAZZ_IDLE1, mJAZZ_IDLE2, mJAZZ_IDLE3, mJAZZ_IDLE4, mJAZZ_IDLE5, mJAZZ_JUMPFIREQUIT, mJAZZ_JUMPFIRERIGHT, mJAZZ_JUMPING1, mJAZZ_JUMPING2, mJAZZ_JUMPING3, mJAZZ_LEDGEWIGGLE, mJAZZ_LIFT, mJAZZ_LIFTJUMP, mJAZZ_LIFTLAND, mJAZZ_LOOKUP, mJAZZ_LOOPY, mJAZZ_PUSH, mJAZZ_QUIT, mJAZZ_REV1, mJAZZ_REV2, mJAZZ_REV3, mJAZZ_RIGHTFALL, mJAZZ_RIGHTJUMP, mJAZZ_ROLLING, mJAZZ_RUN1, mJAZZ_RUN2, mJAZZ_RUN3, mJAZZ_SKID1, mJAZZ_SKID2, mJAZZ_SKID3, mJAZZ_SPRING, mJAZZ_STAND, mJAZZ_STATIONARYJUMP, mJAZZ_STATIONARYJUMPEND, mJAZZ_STATIONARYJUMPSTART, mJAZZ_STONED, mJAZZ_SWIMDOWN, mJAZZ_SWIMRIGHT, mJAZZ_SWIMTURN1, mJAZZ_SWIMTURN2, mJAZZ_SWIMUP, mJAZZ_SWINGINGVINE, mJAZZ_TELEPORT, mJAZZ_TELEPORTFALL, mJAZZ_TELEPORTFALLING, mJAZZ_TELEPORTFALLTELEPORT, mJAZZ_TELEPORTSTAND, mJAZZ_VPOLE }
- enum spriteType { spriteType_NORMAL, spriteType_TRANSLUCENT, spriteType_TINTED, spriteType_GEM, spriteType_INVISIBLE, spriteType_SINGLECOLOR, spriteType_RESIZED, spriteType_NEONGLOW, spriteType_FROZEN, spriteType_PLAYER, spriteType_PALSHIFT, spriteType_SHADOW, spriteType_SINGLEHUE, spriteType_BRIGHTNESS, spriteType_TRANSLUCENTCOLOR, spriteType_TRANSLUCENTPLAYER, spriteType_TRANSLUCENTPALSHIFT, spriteType_TRANSLUCENTSINGLEHUE, spriteType_ALPHAMAP, spriteType_MENUPLAYER, spriteType_BLENDNORMAL, spriteType_BLENDDARKEN, spriteType_BLENDLIGHTEN, spriteType_BLENDHUE, spriteType_BLENDSATURATION, spriteType_BLENDCOLOR, spriteType_BLENDLUMINANCE, spriteType_BLENDMULTIPLY, spriteType_BLENDSCREEN, spriteType_BLENDDISSOLVE, spriteType_BLENDOVERLAY, spriteType_BLENDHARDLIGHT, spriteType_BLENDSOFTLIGHT, spriteType_BLENDDIFFERENCE, spriteType_BLENDDODGE, spriteType_BLENDBURN, spriteType_BLENDEXCLUSION, spriteType_TRANSLUCENTTILE, spriteType_CHROMAKEY, spriteType_MAPPING, spriteType_TRANSLUCENTMAPPING }
- enum sound { sAMMO_BLUB1, sAMMO_BLUB2, sAMMO_BMP1, sAMMO_BMP2, sAMMO_BMP3, sAMMO_BMP4, sAMMO_BMP5, sAMMO_BMP6, sAMMO_BOEM1, sAMMO_BUL1, sAMMO_BULFL1, sAMMO_BULFL2, sAMMO_BULFL3, sAMMO_FIREGUN1A, sAMMO_FIREGUN2A, sAMMO_FUMP, sAMMO_GUN1, sAMMO_GUN2, sAMMO_GUN3PLOP, sAMMO_GUNFLP, sAMMO_GUNFLP1, sAMMO_GUNFLP2, sAMMO_GUNFLP3, sAMMO_GUNFLP4, sAMMO_GUNFLPL, sAMMO_GUNJAZZ, sAMMO_GUNVELOCITY, sAMMO_ICEGUN, sAMMO_ICEGUN2, sAMMO_ICEGUNPU, sAMMO_ICEPU1, sAMMO_ICEPU2, sAMMO_ICEPU3, sAMMO_ICEPU4, sAMMO_LASER, sAMMO_LASER2, sAMMO_LASER3, sAMMO_LAZRAYS, sAMMO_MISSILE, sAMMO_SPZBL1, sAMMO_SPZBL2, sAMMO_SPZBL3, sBAT_BATFLY1, sBILSBOSS_BILLAPPEAR, sBILSBOSS_FINGERSNAP, sBILSBOSS_FIRE, sBILSBOSS_FIRESTART, sBILSBOSS_SCARY3, sBILSBOSS_THUNDER, sBILSBOSS_ZIP, sBONUS_BONUS1, sBONUS_BONUSBLUB, sBUBBA_BUBBABOUNCE1, sBUBBA_BUBBABOUNCE2, sBUBBA_BUBBAEXPLO, sBUBBA_FROG2, sBUBBA_FROG3, sBUBBA_FROG4, sBUBBA_FROG5, sBUBBA_SNEEZE2, sBUBBA_TORNADOATTACK2, sBUMBEE_BEELOOP, sCATERPIL_RIDOE, sCOMMON_AIRBOARD, sCOMMON_AIRBTURN, sCOMMON_AIRBTURN2, sCOMMON_BASE1, sCOMMON_BELL_FIRE, sCOMMON_BELL_FIRE2, sCOMMON_BENZIN1, sCOMMON_BIRDFLY, sCOMMON_BIRDFLY2, sCOMMON_BLOKPLOP, sCOMMON_BLUB1, sCOMMON_BUBBLGN1, sCOMMON_BURN, sCOMMON_BURNIN, sCOMMON_CANSPS, sCOMMON_CLOCK, sCOMMON_COIN, sCOMMON_COLLAPS, sCOMMON_CUP, sCOMMON_DAMPED1, sCOMMON_DOWN, sCOMMON_DOWNFL2, sCOMMON_DRINKSPAZZ1, sCOMMON_DRINKSPAZZ2, sCOMMON_DRINKSPAZZ3, sCOMMON_DRINKSPAZZ4, sCOMMON_EAT1, sCOMMON_EAT2, sCOMMON_EAT3, sCOMMON_EAT4, sCOMMON_ELECTRIC1, sCOMMON_ELECTRIC2, sCOMMON_ELECTRICHIT, sCOMMON_EXPL_TNT, sCOMMON_EXPSM1, sCOMMON_FLAMER, sCOMMON_FLAP, sCOMMON_FOEW1, sCOMMON_FOEW2, sCOMMON_FOEW3, sCOMMON_FOEW4, sCOMMON_FOEW5, sCOMMON_GEMSMSH1, sCOMMON_GLASS2, sCOMMON_GUNSM1, sCOMMON_HARP1, sCOMMON_HEAD, sCOMMON_HELI1, sCOMMON_HIBELL, sCOMMON_HOLYFLUT, sCOMMON_HORN1, sCOMMON_ICECRUSH, sCOMMON_IMPACT1, sCOMMON_IMPACT2, sCOMMON_IMPACT3, sCOMMON_IMPACT4, sCOMMON_IMPACT5, sCOMMON_IMPACT6, sCOMMON_IMPACT7, sCOMMON_IMPACT8, sCOMMON_IMPACT9, sCOMMON_ITEMTRE, sCOMMON_JUMP, sCOMMON_JUMP2, sCOMMON_LAND, sCOMMON_LAND1, sCOMMON_LAND2, sCOMMON_LANDCAN1, sCOMMON_LANDCAN2, sCOMMON_LANDPOP, sCOMMON_LOADJAZZ, sCOMMON_LOADSPAZ, sCOMMON_METALHIT, sCOMMON_MONITOR, sCOMMON_NOCOIN, sCOMMON_PICKUP1, sCOMMON_PICKUPW1, sCOMMON_PISTOL1, sCOMMON_PLOOP1, sCOMMON_PLOP1, sCOMMON_PLOP2, sCOMMON_PLOP3, sCOMMON_PLOP4, sCOMMON_PLOPKORK, sCOMMON_PREEXPL1, sCOMMON_PREHELI, sCOMMON_REVUP, sCOMMON_RINGGUN, sCOMMON_RINGGUN2, sCOMMON_SHIELD1, sCOMMON_SHIELD4, sCOMMON_SHIELD_ELEC, sCOMMON_SHLDOF3, sCOMMON_SLIP, sCOMMON_SMASH, sCOMMON_SPLAT1, sCOMMON_SPLAT2, sCOMMON_SPLAT3, sCOMMON_SPLAT4, sCOMMON_SPLUT, sCOMMON_SPRING1, sCOMMON_STEAM, sCOMMON_STEP, sCOMMON_STRETCH, sCOMMON_SWISH1, sCOMMON_SWISH2, sCOMMON_SWISH3, sCOMMON_SWISH4, sCOMMON_SWISH5, sCOMMON_SWISH6, sCOMMON_SWISH7, sCOMMON_SWISH8, sCOMMON_TELPORT1, sCOMMON_TELPORT2, sCOMMON_UP, sCOMMON_WATER, sCOMMON_WOOD1, sDEMON_RUN, sDEVILDEVAN_DRAGONFIRE, sDEVILDEVAN_FLAP, sDEVILDEVAN_FROG4, sDEVILDEVAN_JUMPUP, sDEVILDEVAN_LAUGH, sDEVILDEVAN_PHASER2, sDEVILDEVAN_STRECH2, sDEVILDEVAN_STRECHTAIL, sDEVILDEVAN_STRETCH1, sDEVILDEVAN_STRETCH3, sDEVILDEVAN_VANISH1, sDEVILDEVAN_WHISTLEDESCENDING2, sDEVILDEVAN_WINGSOUT, sDOG_AGRESSIV, sDOG_SNIF1, sDOG_WAF1, sDOG_WAF2, sDOG_WAF3, sDRAGFLY_BEELOOP, sENDING_OHTHANK, sENDTUNEJAZZ_TUNE, sENDTUNELORI_CAKE, sENDTUNESPAZ_TUNE, sEPICLOGO_EPIC1, sEPICLOGO_EPIC2, sEVA_KISS1, sEVA_KISS2, sEVA_KISS3, sEVA_KISS4, sFAN_FAN, sFATCHK_HIT1, sFATCHK_HIT2, sFATCHK_HIT3, sFENCER_FENCE1, sFROG_FROG, sFROG_FROG1, sFROG_FROG2, sFROG_FROG3, sFROG_FROG4, sFROG_FROG5, sFROG_JAZZ2FROG, sFROG_TONG, sGLOVE_HIT, sHATTER_CUP, sHATTER_HAT, sHATTER_PTOEI, sHATTER_SPLIN, sHATTER_SPLOUT, sINTRO_BLOW, sINTRO_BOEM1, sINTRO_BOEM2, sINTRO_BRAKE, sINTRO_END, sINTRO_GRAB, sINTRO_GREN1, sINTRO_GREN2, sINTRO_GREN3, sINTRO_GUNM0, sINTRO_GUNM1, sINTRO_GUNM2, sINTRO_HELI, sINTRO_HITSPAZ, sINTRO_HITTURT, sINTRO_IFEEL, sINTRO_INHALE, sINTRO_INSECT, sINTRO_KATROL, sINTRO_LAND, sINTRO_MONSTER, sINTRO_MONSTER2, sINTRO_ROCK, sINTRO_ROPE1, sINTRO_ROPE2, sINTRO_RUN, sINTRO_SHOT1, sINTRO_SHOTGRN, sINTRO_SKI, sINTRO_STRING, sINTRO_SWISH1, sINTRO_SWISH2, sINTRO_SWISH3, sINTRO_SWISH4, sINTRO_UHTURT, sINTRO_UP1, sINTRO_UP2, sINTRO_WIND_01, sJAZZSOUNDS_BALANCE, sJAZZSOUNDS_HEY1, sJAZZSOUNDS_HEY2, sJAZZSOUNDS_HEY3, sJAZZSOUNDS_HEY4, sJAZZSOUNDS_IDLE, sJAZZSOUNDS_JAZZV1, sJAZZSOUNDS_JAZZV2, sJAZZSOUNDS_JAZZV3, sJAZZSOUNDS_JAZZV4, sJAZZSOUNDS_JUMMY, sJAZZSOUNDS_PFOE, sLABRAT_BITE, sLABRAT_EYE2, sLABRAT_EYE3, sLABRAT_MOUSE1, sLABRAT_MOUSE2, sLABRAT_MOUSE3, sLIZARD_LIZ1, sLIZARD_LIZ2, sLIZARD_LIZ4, sLIZARD_LIZ6, sLORISOUNDS_DIE1, sLORISOUNDS_HURT0, sLORISOUNDS_HURT1, sLORISOUNDS_HURT2, sLORISOUNDS_HURT3, sLORISOUNDS_HURT4, sLORISOUNDS_HURT5, sLORISOUNDS_HURT6, sLORISOUNDS_HURT7, sLORISOUNDS_LORI1, sLORISOUNDS_LORI2, sLORISOUNDS_LORIBOOM, sLORISOUNDS_LORIFALL, sLORISOUNDS_LORIJUMP, sLORISOUNDS_LORIJUMP2, sLORISOUNDS_LORIJUMP3, sLORISOUNDS_LORIJUMP4, sLORISOUNDS_TOUCH, sLORISOUNDS_WEHOO, sMENUSOUNDS_SELECT0, sMENUSOUNDS_SELECT1, sMENUSOUNDS_SELECT2, sMENUSOUNDS_SELECT3, sMENUSOUNDS_SELECT4, sMENUSOUNDS_SELECT5, sMENUSOUNDS_SELECT6, sMENUSOUNDS_TYPE, sMENUSOUNDS_TYPEENTER, sMONKEY_SPLUT, sMONKEY_THROW, sMOTH_FLAPMOTH, sORANGE_BOEML, sORANGE_BOEMR, sORANGE_BUBBELSL, sORANGE_BUBBELSR, sORANGE_GLAS1L, sORANGE_GLAS1R, sORANGE_GLAS2L, sORANGE_GLAS2R, sORANGE_MERGE, sORANGE_SWEEP0L, sORANGE_SWEEP0R, sORANGE_SWEEP1L, sORANGE_SWEEP1R, sORANGE_SWEEP2L, sORANGE_SWEEP2R, sP2_CRUNCH, sP2_FART, sP2_FOEW1, sP2_FOEW4, sP2_FOEW5, sP2_FROG1, sP2_FROG2, sP2_FROG3, sP2_FROG4, sP2_FROG5, sP2_KISS4, sP2_OPEN, sP2_PINCH1, sP2_PINCH2, sP2_PLOPSEQ1, sP2_PLOPSEQ2, sP2_PLOPSEQ3, sP2_PLOPSEQ4, sP2_POEP, sP2_PTOEI, sP2_SPLOUT, sP2_SPLUT, sP2_THROW, sP2_TONG, sPICKUPS_BOING_CHECK, sPICKUPS_HELI2, sPICKUPS_STRETCH1A, sPINBALL_BELL, sPINBALL_FLIP1, sPINBALL_FLIP2, sPINBALL_FLIP3, sPINBALL_FLIP4, sQUEEN_LADYUP, sQUEEN_SCREAM, sRAPIER_GOSTDIE, sRAPIER_GOSTLOOP, sRAPIER_GOSTOOOH, sRAPIER_GOSTRIP, sRAPIER_HITCHAR, sROBOT_BIG1, sROBOT_BIG2, sROBOT_CAN1, sROBOT_CAN2, sROBOT_HYDRO, sROBOT_HYDRO2, sROBOT_HYDROFIL, sROBOT_HYDROPUF, sROBOT_IDLE1, sROBOT_IDLE2, sROBOT_JMPCAN1, sROBOT_JMPCAN10, sROBOT_JMPCAN2, sROBOT_JMPCAN3, sROBOT_JMPCAN4, sROBOT_JMPCAN5, sROBOT_JMPCAN6, sROBOT_JMPCAN7, sROBOT_JMPCAN8, sROBOT_JMPCAN9, sROBOT_METAL1, sROBOT_METAL2, sROBOT_METAL3, sROBOT_METAL4, sROBOT_METAL5, sROBOT_OPEN, sROBOT_OUT, sROBOT_POEP, sROBOT_POLE, sROBOT_SHOOT, sROBOT_STEP1, sROBOT_STEP2, sROBOT_STEP3, sROCK_ROCK1, sRUSH_RUSH, sSCIENCE_PLOPKAOS, sSKELETON_BONE1, sSKELETON_BONE2, sSKELETON_BONE3, sSKELETON_BONE5, sSKELETON_BONE6, sSKELETON_BONE7, sSMALTREE_FALL, sSMALTREE_GROUND, sSMALTREE_HEAD, sSONCSHIP_METAL1, sSONCSHIP_MISSILE2, sSONCSHIP_SCRAPE, sSONCSHIP_SHIPLOOP, sSONCSHIP_TARGETLOCK, sSPAZSOUNDS_AUTSCH1, sSPAZSOUNDS_AUTSCH2, sSPAZSOUNDS_BIRDSIT, sSPAZSOUNDS_BURP, sSPAZSOUNDS_CHIRP, sSPAZSOUNDS_EATBIRD, sSPAZSOUNDS_HAHAHA, sSPAZSOUNDS_HAHAHA2, sSPAZSOUNDS_HAPPY, sSPAZSOUNDS_HIHI, sSPAZSOUNDS_HOHOHO1, sSPAZSOUNDS_HOOO, sSPAZSOUNDS_KARATE7, sSPAZSOUNDS_KARATE8, sSPAZSOUNDS_OHOH, sSPAZSOUNDS_OOOH, sSPAZSOUNDS_WOOHOO, sSPAZSOUNDS_YAHOO, sSPAZSOUNDS_YAHOO2, sSPRING_BOING_DOWN, sSPRING_SPRING1, sSTEAM_STEAM, sSTONED_STONED, sSUCKER_FART, sSUCKER_PINCH1, sSUCKER_PINCH2, sSUCKER_PINCH3, sSUCKER_PLOPSEQ1, sSUCKER_PLOPSEQ2, sSUCKER_PLOPSEQ3, sSUCKER_PLOPSEQ4, sSUCKER_UP, sTUFBOSS_CATCH, sTUFBOSS_RELEASE, sTUFBOSS_SWING, sTURTLE_BITE3, sTURTLE_HIDE, sTURTLE_HITSHELL, sTURTLE_IDLE1, sTURTLE_IDLE2, sTURTLE_NECK, sTURTLE_SPK1TURT, sTURTLE_SPK2TURT, sTURTLE_SPK3TURT, sTURTLE_SPK4TURT, sTURTLE_TURN, sUTERUS_CRABCLOSE, sUTERUS_CRABOPEN2, sUTERUS_SCISSORS1, sUTERUS_SCISSORS2, sUTERUS_SCISSORS3, sUTERUS_SCISSORS4, sUTERUS_SCISSORS5, sUTERUS_SCISSORS6, sUTERUS_SCISSORS7, sUTERUS_SCISSORS8, sUTERUS_SCREAM1, sUTERUS_STEP1, sUTERUS_STEP2, sWIND_WIND2A, sWITCH_LAUGH, sWITCH_MAGIC, sXBILSY_BILLAPPEAR, sXBILSY_FINGERSNAP, sXBILSY_FIRE, sXBILSY_FIRESTART, sXBILSY_SCARY3, sXBILSY_THUNDER, sXBILSY_ZIP, sXLIZARD_LIZ1, sXLIZARD_LIZ2, sXLIZARD_LIZ4, sXLIZARD_LIZ6, sXTURTLE_BITE3, sXTURTLE_HIDE, sXTURTLE_HITSHELL, sXTURTLE_IDLE1, sXTURTLE_IDLE2, sXTURTLE_NECK, sXTURTLE_SPK1TURT, sXTURTLE_SPK2TURT, sXTURTLE_SPK3TURT, sXTURTLE_SPK4TURT, sXTURTLE_TURN, sZDOG_AGRESSIV, sZDOG_SNIF1, sZDOG_WAF1, sZDOG_WAF2, sZDOG_WAF3 }
- enum state { sSTART, sSLEEP, sWAKE, sKILL, sDEACTIVATE, sWALK, sJUMP, sFIRE, sFLY, sBOUNCE, sEXPLODE, sROCKETFLY, sSTILL, sFLOAT, sHIT, sSPRING, sACTION, sDONE, sPUSH, sFALL, sFLOATFALL, sCIRCLE, sATTACK, sFREEZE, sFADEIN, sFADEOUT, sHIDE, sTURN, sIDLE, sEXTRA, sSTOP, sWAIT, sLAND, sDELAYEDSTART, sROTATE, sDUCK }
- enum tbgMode { tbgModeWARPHORIZON, tbgModeTUNNEL, tbgModeMENU, tbgModeTILEMENU, tbgModeWAVE, tbgModeCYLINDER, tbgModeREFLECTION }
- enum waterInteraction_ { waterInteraction_POSITIONBASED, waterInteraction_SWIM, waterInteraction_LOWGRAVITY }
- enum ws { wsNORMAL, wsMISSILE, wsPOPCORN, wsCAPPED }
- enum wsp { wspNORMAL, wspNORMALORDIRECTIONANDAIM, wspDIRECTIONANDAIM, wspDOUBLEORTRIPLE, wspDOUBLE, wspTRIPLE, wspREFLECTSFASTFIRE, wspNORMALORBBGUN, wspBBGUN }
- enum class DrawType { WeaponAmmo, Health, Lives, PlayerTimer, Score, GameModeHUD }
- Specifies a part to be drawn in LevelScriptLoader::
OnDraw() - enum class ScriptContextType { Unknown, AlreadyIncluded, Legacy, Standard }
- Script context type.
- enum class ScriptBuildResult { Success = asSUCCESS, InvalidConfiguration = asINVALID_CONFIGURATION, BuildFailed = asERROR, BuildInProgress = asBUILD_IN_PROGRESS, InitGlobalVarsFailed = asINIT_GLOBAL_VARS_FAILED, NotSupported = asNOT_SUPPORTED, ModuleIsInUse = asMODULE_IS_IN_USE }
- Result of ScriptLoader::
Build()
Typedefs
- using jjVOIDFUNCOBJ = void(*)(jjOBJ*obj)
- using dictKey_t = String
-
using dictMap_t = HashMap<dictKey_
t, CScriptDictValue>
Functions
-
auto get_jjObjects(std::
int32_t index) -> jjOBJ* -
auto get_jjObjectPresets(std::
int8_t id) -> jjOBJ* -
void jjAddParticleTileExplosion(std::
uint16_t xTile, std:: uint16_t yTile, std:: uint16_t tile, bool collapseSceneryStyle) - void jjAddParticlePixelExplosion(float xPixel, float yPixel, int curFrame, int direction, int mode)
-
auto GetParticle(std::
int32_t index) -> jjPARTICLE* -
auto AddParticle(std::
int32_t particleType) -> jjPARTICLE* -
auto get_jjPlayerCount() -> std::
int32_t -
auto get_jjLocalPlayerCount() -> std::
int32_t - auto get_jjP() -> jjPLAYER*
-
auto get_jjPlayers(std::
uint8_t index) -> jjPLAYER* -
auto get_jjLocalPlayers(std::
uint8_t index) -> jjPLAYER* - auto mlleSetup() -> bool
-
auto get_sinTable(std::
uint32_t angle) -> float -
auto get_cosTable(std::
uint32_t angle) -> float -
auto RandWord32() -> std::
uint32_t -
auto unixTimeSec() -> std::
uint64_t -
auto unixTimeMs() -> std::
uint64_t - auto jjRegexIsValid(const String& expression) -> bool
- auto jjRegexMatch(const String& text, const String& expression, bool ignoreCase) -> bool
- auto jjRegexMatchWithResults(const String& text, const String& expression, CScriptArray& results, bool ignoreCase) -> bool
- auto jjRegexSearch(const String& text, const String& expression, bool ignoreCase) -> bool
- auto jjRegexSearchWithResults(const String& text, const String& expression, CScriptArray& results, bool ignoreCase) -> bool
- auto jjRegexReplace(const String& text, const String& expression, const String& replacement, bool ignoreCase) -> String
-
auto GetFPS() -> std::
int32_t - auto isAdmin() -> bool
- auto getLevelFileName() -> String
- auto getCurrLevelName() -> String
- void setCurrLevelName(const String& in)
- auto get_jjTilesetFileName() -> String
-
auto get_gameState() -> std::
int32_t -
auto getBorderWidth() -> std::
int32_t -
auto getBorderHeight() -> std::
int32_t - auto getSplitscreenType() -> bool
- auto setSplitscreenType() -> bool
-
auto get_teamScore(std::
int32_t color) -> std:: int32_t -
auto GetMaxHealth() -> std::
int32_t -
auto GetStartHealth() -> std::
int32_t -
void jjDrawPixel(float xPixel,
float yPixel,
std::
uint8_t color, spriteType mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawRectangle(float xPixel,
float yPixel,
std::
int32_t width, std:: int32_t height, std:: uint8_t color, spriteType mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawSprite(float xPixel,
float yPixel,
std::
int32_t setID, std:: uint8_t animation, std:: uint8_t frame, std:: int8_t direction, spriteType mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawSpriteFromCurFrame(float xPixel,
float yPixel,
std::
uint32_t sprite, std:: int8_t direction, spriteType mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawResizedSprite(float xPixel,
float yPixel,
std::
int32_t setID, std:: uint8_t animation, std:: uint8_t frame, float xScale, float yScale, spriteType mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawResizedSpriteFromCurFrame(float xPixel,
float yPixel,
std::
uint32_t sprite, float xScale, float yScale, spriteType mode, std:: uint8_t param, int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawRotatedSprite(float xPixel,
float yPixel,
std::
int32_t setID, std:: uint8_t animation, std:: uint8_t frame, std:: int32_t angle, float xScale, float yScale, spriteType mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawRotatedSpriteFromCurFrame(float xPixel,
float yPixel,
std::
uint32_t sprite, std:: int32_t angle, float xScale, float yScale, spriteType mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawSwingingVineSpriteFromCurFrame(float xPixel,
float yPixel,
std::
uint32_t sprite, std:: int32_t length, std:: int32_t curvature, spriteType mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawTile(float xPixel,
float yPixel,
std::
uint16_t tile, std:: uint32_t tileQuadrant, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawString(float xPixel,
float yPixel,
const String& text,
std::
uint32_t size, std:: uint32_t mode, std:: uint8_t param, std:: int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
void jjDrawStringEx(float xPixel,
float yPixel,
const String& text,
std::
uint32_t size, const jjTEXTAPPEARANCE& appearance, std:: uint8_t param1, spriteType spriteMode, std:: uint8_t param2, int8_t layerZ, std:: uint8_t layerXY, std:: int8_t playerID) -
auto jjGetStringWidth(const String& text,
std::
uint32_t size, const jjTEXTAPPEARANCE& style) -> std:: int32_t - void jjSetDarknessColor(jjPALCOLOR color)
-
void jjSetFadeColors(std::
uint8_t red, std:: uint8_t green, std:: uint8_t blue) -
void jjSetFadeColorsFromPalette(std::
uint8_t paletteColorID) - void jjSetFadeColorsFromPalcolor(jjPALCOLOR color)
- auto jjGetFadeColors() -> jjPALCOLOR
- void jjUpdateTexturedBG()
-
auto get_jjTexturedBGTexture(jjPALCOLOR color) -> std::
int32_t -
auto set_jjTexturedBGTexture(std::
int32_t texture) -> std:: int32_t -
auto get_jjTexturedBGStyle() -> std::
int32_t -
auto set_jjTexturedBGStyle(std::
int32_t style) -> std:: int32_t - auto get_jjTexturedBGUsed(jjPALCOLOR color) -> bool
- auto set_jjTexturedBGUsed(bool used) -> bool
- auto get_jjTexturedBGStars(bool used) -> bool
- auto set_jjTexturedBGStars(bool used) -> bool
- auto get_jjTexturedBGFadePositionX() -> float
- auto set_jjTexturedBGFadePositionX(float value) -> float
- auto get_jjTexturedBGFadePositionY() -> float
- auto set_jjTexturedBGFadePositionY(float value) -> float
-
auto getEnabledTeam(std::
uint8_t team) -> bool -
auto getKeyDown(std::
uint8_t key) -> bool -
auto getCursorX() -> std::
int32_t -
auto getCursorY() -> std::
int32_t -
void playSample(float xPixel,
float yPixel,
std::
int32_t sample, std:: int32_t volume, std:: int32_t frequency) -
auto playLoopedSample(float xPixel,
float yPixel,
std::
int32_t sample, std:: int32_t volume, std:: int32_t frequency) -> std:: int32_t -
void playPrioritySample(std::
int32_t sample) -
auto isSampleLoaded(std::
int32_t sample) -> bool -
auto loadSample(std::
int32_t sample, const String& filename) -> bool - auto getUseLayer8Speeds() -> bool
- auto setUseLayer8Speeds(bool value) -> bool
-
auto GetEvent(std::
uint16_t tx, std:: uint16_t ty) -> std:: int32_t -
auto GetEventParamWrapper(std::
uint16_t tx, std:: uint16_t ty, std:: int32_t offset, std:: int32_t length) -> std:: int32_t -
void SetEventByte(std::
uint16_t tx, std:: uint16_t ty, std:: uint8_t newEventId) -
void SetEventParam(std::
uint16_t tx, std:: uint16_t ty, int8_t offset, std:: int8_t length, std:: int32_t newValue) -
auto GetTileType(std::
uint16_t tile) -> std:: int8_t -
auto SetTileType(std::
uint16_t tile, std:: uint16_t value) -> std:: int8_t -
auto jjGetStaticTile(std::
uint16_t tileID) -> std:: uint16_t -
auto jjTileGet(std::
uint8_t layer, std:: int32_t xTile, std:: int32_t yTile) -> std:: uint16_t -
auto jjTileSet(std::
uint8_t layer, std:: int32_t xTile, std:: int32_t yTile, std:: uint16_t newTile) -> std:: uint16_t -
void jjGenerateSettableTileArea(std::
uint8_t layer, std:: int32_t xTile, std:: int32_t yTile, std:: int32_t width, std:: int32_t height) -
auto jjMaskedPixel(std::
int32_t xPixel, std:: int32_t yPixel) -> bool -
auto jjMaskedPixelLayer(std::
int32_t xPixel, std:: int32_t yPixel, std:: uint8_t layer) -> bool -
auto jjMaskedHLine(std::
int32_t xPixel, std:: int32_t lineLength, std:: int32_t yPixel) -> bool -
auto jjMaskedHLineLayer(std::
int32_t xPixel, std:: int32_t lineLength, std:: int32_t yPixel, std:: uint8_t layer) -> bool -
auto jjMaskedVLine(std::
int32_t xPixel, std:: int32_t yPixel, std:: int32_t lineLength) -> bool -
auto jjMaskedVLineLayer(std::
int32_t xPixel, std:: int32_t yPixel, std:: int32_t lineLength, std:: uint8_t layer) -> bool -
auto jjMaskedTopVLine(std::
int32_t xPixel, std:: int32_t yPixel, std:: int32_t lineLength) -> bool -
auto jjMaskedTopVLineLayer(std::
int32_t xPixel, std:: int32_t yPixel, std:: int32_t lineLength, std:: uint8_t layer) -> bool -
void jjSetModPosition(std::
int32_t order, std:: int32_t row, bool reset) -
void jjSlideModChannelVolume(std::
int32_t channel, float volume, std:: int32_t milliseconds) -
auto jjGetModOrder() -> std::
int32_t -
auto jjGetModRow() -> std::
int32_t -
auto jjGetModTempo() -> std::
int32_t -
void jjSetModTempo(std::
uint8_t speed) -
auto jjGetModSpeed() -> std::
int32_t -
void jjSetModSpeed(std::
uint8_t speed) -
auto getCustomSetID(std::
uint8_t index) -> std:: uint32_t - void RegisterArray(asIScriptEngine* engine)
- Registers
array
type to AngelScript engine. - void RegisterDictionary(asIScriptEngine* engine)
- Registers
dictionary
type to AngelScript engine. - void RegisterImGuiBindings(asIScriptEngine* engine)
- Registers ImGui bindings to AngelScript engine.
- void RegisterMath(asIScriptEngine* engine)
- Registers
vec2
/vec3
/vec4
/vec2i
/vec3i
/vec4i
/Color
types to AngelScript engine. - void RegisterRef(asIScriptEngine* engine)
- Registers
ref
type to AngelScript engine. - void RegisterString(asIScriptEngine* engine)
- Registers
string
type to AngelScript engine.
Enum documentation
enum Jazz2:: Scripting:: airjump
enum Jazz2:: Scripting:: ambientLighting
enum Jazz2:: Scripting:: anim
enum Jazz2:: Scripting:: dir
enum Jazz2:: Scripting:: gameState
enum Jazz2:: Scripting:: gameConnection
enum Jazz2:: Scripting:: GM_
enum Jazz2:: Scripting:: groundjump
enum Jazz2:: Scripting:: object
enum Jazz2:: Scripting:: particle
enum Jazz2:: Scripting:: playerAnim
enum Jazz2:: Scripting:: spriteType
enum Jazz2:: Scripting:: sound
enum Jazz2:: Scripting:: state
enum Jazz2:: Scripting:: tbgMode
enum Jazz2:: Scripting:: waterInteraction_
enum Jazz2:: Scripting:: ws
enum Jazz2:: Scripting:: wsp
enum class Jazz2:: Scripting:: DrawType
Specifies a part to be drawn in LevelScriptLoader::
enum class Jazz2:: Scripting:: ScriptContextType
#include <Jazz2/Scripting/ScriptLoader.h>
Script context type.
Enumerators | |
---|---|
Unknown |
Unknown/unsupported script part. |
AlreadyIncluded |
Already included script part. |
Legacy |
Legacy (JJ2+ compatible) script part. |
Standard |
Standard (Jazz² Resurrection compatible) script part. |
enum class Jazz2:: Scripting:: ScriptBuildResult
#include <Jazz2/Scripting/ScriptLoader.h>
Result of ScriptLoader::
Enumerators | |
---|---|
Success |
The engine succeeded. |
InvalidConfiguration |
The engine configuration is invalid. |
BuildFailed |
The script failed to build. |
BuildInProgress |
Another thread is currently building. |
InitGlobalVarsFailed |
It was not possible to initialize at least one of the global variables. |
NotSupported |
Compiler support is disabled in the engine. |
ModuleIsInUse |
The code in the module is still being used and and cannot be removed. |
Typedef documentation
using Jazz2:: Scripting:: jjVOIDFUNCOBJ = void(*)(jjOBJ*obj)
typedef HashMap<dictKey_ t, CScriptDictValue> Jazz2:: Scripting:: dictMap_t
Function documentation
jjOBJ* Jazz2:: Scripting:: get_jjObjects(std:: int32_t index)
jjOBJ* Jazz2:: Scripting:: get_jjObjectPresets(std:: int8_t id)
void Jazz2:: Scripting:: jjAddParticleTileExplosion(std:: uint16_t xTile,
std:: uint16_t yTile,
std:: uint16_t tile,
bool collapseSceneryStyle)
void Jazz2:: Scripting:: jjAddParticlePixelExplosion(float xPixel,
float yPixel,
int curFrame,
int direction,
int mode)
jjPARTICLE* Jazz2:: Scripting:: GetParticle(std:: int32_t index)
jjPARTICLE* Jazz2:: Scripting:: AddParticle(std:: int32_t particleType)
std:: int32_t Jazz2:: Scripting:: get_jjPlayerCount()
std:: int32_t Jazz2:: Scripting:: get_jjLocalPlayerCount()
jjPLAYER* Jazz2:: Scripting:: get_jjPlayers(std:: uint8_t index)
jjPLAYER* Jazz2:: Scripting:: get_jjLocalPlayers(std:: uint8_t index)
bool Jazz2:: Scripting:: mlleSetup()
float Jazz2:: Scripting:: get_sinTable(std:: uint32_t angle)
float Jazz2:: Scripting:: get_cosTable(std:: uint32_t angle)
std:: uint32_t Jazz2:: Scripting:: RandWord32()
std:: uint64_t Jazz2:: Scripting:: unixTimeSec()
std:: uint64_t Jazz2:: Scripting:: unixTimeMs()
bool Jazz2:: Scripting:: jjRegexIsValid(const String& expression)
bool Jazz2:: Scripting:: jjRegexMatch(const String& text,
const String& expression,
bool ignoreCase)
bool Jazz2:: Scripting:: jjRegexMatchWithResults(const String& text,
const String& expression,
CScriptArray& results,
bool ignoreCase)
bool Jazz2:: Scripting:: jjRegexSearch(const String& text,
const String& expression,
bool ignoreCase)
bool Jazz2:: Scripting:: jjRegexSearchWithResults(const String& text,
const String& expression,
CScriptArray& results,
bool ignoreCase)
String Jazz2:: Scripting:: jjRegexReplace(const String& text,
const String& expression,
const String& replacement,
bool ignoreCase)
std:: int32_t Jazz2:: Scripting:: GetFPS()
bool Jazz2:: Scripting:: isAdmin()
String Jazz2:: Scripting:: getLevelFileName()
String Jazz2:: Scripting:: getCurrLevelName()
void Jazz2:: Scripting:: setCurrLevelName(const String& in)
String Jazz2:: Scripting:: get_jjTilesetFileName()
std:: int32_t Jazz2:: Scripting:: get_gameState()
std:: int32_t Jazz2:: Scripting:: getBorderWidth()
std:: int32_t Jazz2:: Scripting:: getBorderHeight()
bool Jazz2:: Scripting:: getSplitscreenType()
bool Jazz2:: Scripting:: setSplitscreenType()
std:: int32_t Jazz2:: Scripting:: get_teamScore(std:: int32_t color)
std:: int32_t Jazz2:: Scripting:: GetMaxHealth()
std:: int32_t Jazz2:: Scripting:: GetStartHealth()
void Jazz2:: Scripting:: jjDrawPixel(float xPixel,
float yPixel,
std:: uint8_t color,
spriteType mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawRectangle(float xPixel,
float yPixel,
std:: int32_t width,
std:: int32_t height,
std:: uint8_t color,
spriteType mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawSprite(float xPixel,
float yPixel,
std:: int32_t setID,
std:: uint8_t animation,
std:: uint8_t frame,
std:: int8_t direction,
spriteType mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawSpriteFromCurFrame(float xPixel,
float yPixel,
std:: uint32_t sprite,
std:: int8_t direction,
spriteType mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawResizedSprite(float xPixel,
float yPixel,
std:: int32_t setID,
std:: uint8_t animation,
std:: uint8_t frame,
float xScale,
float yScale,
spriteType mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawResizedSpriteFromCurFrame(float xPixel,
float yPixel,
std:: uint32_t sprite,
float xScale,
float yScale,
spriteType mode,
std:: uint8_t param,
int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawRotatedSprite(float xPixel,
float yPixel,
std:: int32_t setID,
std:: uint8_t animation,
std:: uint8_t frame,
std:: int32_t angle,
float xScale,
float yScale,
spriteType mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawRotatedSpriteFromCurFrame(float xPixel,
float yPixel,
std:: uint32_t sprite,
std:: int32_t angle,
float xScale,
float yScale,
spriteType mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawSwingingVineSpriteFromCurFrame(float xPixel,
float yPixel,
std:: uint32_t sprite,
std:: int32_t length,
std:: int32_t curvature,
spriteType mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawTile(float xPixel,
float yPixel,
std:: uint16_t tile,
std:: uint32_t tileQuadrant,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawString(float xPixel,
float yPixel,
const String& text,
std:: uint32_t size,
std:: uint32_t mode,
std:: uint8_t param,
std:: int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
void Jazz2:: Scripting:: jjDrawStringEx(float xPixel,
float yPixel,
const String& text,
std:: uint32_t size,
const jjTEXTAPPEARANCE& appearance,
std:: uint8_t param1,
spriteType spriteMode,
std:: uint8_t param2,
int8_t layerZ,
std:: uint8_t layerXY,
std:: int8_t playerID)
std:: int32_t Jazz2:: Scripting:: jjGetStringWidth(const String& text,
std:: uint32_t size,
const jjTEXTAPPEARANCE& style)
void Jazz2:: Scripting:: jjSetDarknessColor(jjPALCOLOR color)
void Jazz2:: Scripting:: jjSetFadeColors(std:: uint8_t red,
std:: uint8_t green,
std:: uint8_t blue)
void Jazz2:: Scripting:: jjSetFadeColorsFromPalette(std:: uint8_t paletteColorID)
void Jazz2:: Scripting:: jjSetFadeColorsFromPalcolor(jjPALCOLOR color)
jjPALCOLOR Jazz2:: Scripting:: jjGetFadeColors()
void Jazz2:: Scripting:: jjUpdateTexturedBG()
std:: int32_t Jazz2:: Scripting:: get_jjTexturedBGTexture(jjPALCOLOR color)
std:: int32_t Jazz2:: Scripting:: set_jjTexturedBGTexture(std:: int32_t texture)
std:: int32_t Jazz2:: Scripting:: get_jjTexturedBGStyle()
std:: int32_t Jazz2:: Scripting:: set_jjTexturedBGStyle(std:: int32_t style)
bool Jazz2:: Scripting:: get_jjTexturedBGUsed(jjPALCOLOR color)
bool Jazz2:: Scripting:: set_jjTexturedBGUsed(bool used)
bool Jazz2:: Scripting:: get_jjTexturedBGStars(bool used)
bool Jazz2:: Scripting:: set_jjTexturedBGStars(bool used)
float Jazz2:: Scripting:: get_jjTexturedBGFadePositionX()
float Jazz2:: Scripting:: set_jjTexturedBGFadePositionX(float value)
float Jazz2:: Scripting:: get_jjTexturedBGFadePositionY()
float Jazz2:: Scripting:: set_jjTexturedBGFadePositionY(float value)
bool Jazz2:: Scripting:: getEnabledTeam(std:: uint8_t team)
bool Jazz2:: Scripting:: getKeyDown(std:: uint8_t key)
std:: int32_t Jazz2:: Scripting:: getCursorX()
std:: int32_t Jazz2:: Scripting:: getCursorY()
void Jazz2:: Scripting:: playSample(float xPixel,
float yPixel,
std:: int32_t sample,
std:: int32_t volume,
std:: int32_t frequency)
std:: int32_t Jazz2:: Scripting:: playLoopedSample(float xPixel,
float yPixel,
std:: int32_t sample,
std:: int32_t volume,
std:: int32_t frequency)
void Jazz2:: Scripting:: playPrioritySample(std:: int32_t sample)
bool Jazz2:: Scripting:: isSampleLoaded(std:: int32_t sample)
bool Jazz2:: Scripting:: loadSample(std:: int32_t sample,
const String& filename)
bool Jazz2:: Scripting:: getUseLayer8Speeds()
bool Jazz2:: Scripting:: setUseLayer8Speeds(bool value)
std:: int32_t Jazz2:: Scripting:: GetEvent(std:: uint16_t tx,
std:: uint16_t ty)
std:: int32_t Jazz2:: Scripting:: GetEventParamWrapper(std:: uint16_t tx,
std:: uint16_t ty,
std:: int32_t offset,
std:: int32_t length)
void Jazz2:: Scripting:: SetEventByte(std:: uint16_t tx,
std:: uint16_t ty,
std:: uint8_t newEventId)
void Jazz2:: Scripting:: SetEventParam(std:: uint16_t tx,
std:: uint16_t ty,
int8_t offset,
std:: int8_t length,
std:: int32_t newValue)
std:: int8_t Jazz2:: Scripting:: GetTileType(std:: uint16_t tile)
std:: int8_t Jazz2:: Scripting:: SetTileType(std:: uint16_t tile,
std:: uint16_t value)
std:: uint16_t Jazz2:: Scripting:: jjGetStaticTile(std:: uint16_t tileID)
std:: uint16_t Jazz2:: Scripting:: jjTileGet(std:: uint8_t layer,
std:: int32_t xTile,
std:: int32_t yTile)
std:: uint16_t Jazz2:: Scripting:: jjTileSet(std:: uint8_t layer,
std:: int32_t xTile,
std:: int32_t yTile,
std:: uint16_t newTile)
void Jazz2:: Scripting:: jjGenerateSettableTileArea(std:: uint8_t layer,
std:: int32_t xTile,
std:: int32_t yTile,
std:: int32_t width,
std:: int32_t height)
bool Jazz2:: Scripting:: jjMaskedPixel(std:: int32_t xPixel,
std:: int32_t yPixel)
bool Jazz2:: Scripting:: jjMaskedPixelLayer(std:: int32_t xPixel,
std:: int32_t yPixel,
std:: uint8_t layer)
bool Jazz2:: Scripting:: jjMaskedHLine(std:: int32_t xPixel,
std:: int32_t lineLength,
std:: int32_t yPixel)
bool Jazz2:: Scripting:: jjMaskedHLineLayer(std:: int32_t xPixel,
std:: int32_t lineLength,
std:: int32_t yPixel,
std:: uint8_t layer)
bool Jazz2:: Scripting:: jjMaskedVLine(std:: int32_t xPixel,
std:: int32_t yPixel,
std:: int32_t lineLength)
bool Jazz2:: Scripting:: jjMaskedVLineLayer(std:: int32_t xPixel,
std:: int32_t yPixel,
std:: int32_t lineLength,
std:: uint8_t layer)
bool Jazz2:: Scripting:: jjMaskedTopVLine(std:: int32_t xPixel,
std:: int32_t yPixel,
std:: int32_t lineLength)
bool Jazz2:: Scripting:: jjMaskedTopVLineLayer(std:: int32_t xPixel,
std:: int32_t yPixel,
std:: int32_t lineLength,
std:: uint8_t layer)
void Jazz2:: Scripting:: jjSetModPosition(std:: int32_t order,
std:: int32_t row,
bool reset)
void Jazz2:: Scripting:: jjSlideModChannelVolume(std:: int32_t channel,
float volume,
std:: int32_t milliseconds)
std:: int32_t Jazz2:: Scripting:: jjGetModOrder()
std:: int32_t Jazz2:: Scripting:: jjGetModRow()
std:: int32_t Jazz2:: Scripting:: jjGetModTempo()
void Jazz2:: Scripting:: jjSetModTempo(std:: uint8_t speed)
std:: int32_t Jazz2:: Scripting:: jjGetModSpeed()
void Jazz2:: Scripting:: jjSetModSpeed(std:: uint8_t speed)
std:: uint32_t Jazz2:: Scripting:: getCustomSetID(std:: uint8_t index)
void Jazz2:: Scripting:: RegisterArray(asIScriptEngine* engine)
#include <Jazz2/Scripting/RegisterArray.h>
Registers array
type to AngelScript engine.
void Jazz2:: Scripting:: RegisterDictionary(asIScriptEngine* engine)
Registers dictionary
type to AngelScript engine.
void Jazz2:: Scripting:: RegisterImGuiBindings(asIScriptEngine* engine)
Registers ImGui bindings to AngelScript engine.
void Jazz2:: Scripting:: RegisterMath(asIScriptEngine* engine)
#include <Jazz2/Scripting/RegisterMath.h>
Registers vec2
/vec3
/vec4
/vec2i
/vec3i
/vec4i
/Color
types to AngelScript engine.
void Jazz2:: Scripting:: RegisterRef(asIScriptEngine* engine)
#include <Jazz2/Scripting/RegisterRef.h>
Registers ref
type to AngelScript engine.
void Jazz2:: Scripting:: RegisterString(asIScriptEngine* engine)
#include <Jazz2/Scripting/RegisterString.h>
Registers string
type to AngelScript engine.