Objects.h file
Namespaces
- namespace Jazz2
- Root namespace of Jazz² Resurrection.
- namespace Jazz2::Scripting
- Scripting-related classes, compiled only if
WITH_ANGELSCRIPT. - namespace Jazz2::Scripting::Legacy
- Legacy JJ2+ definitions.
Classes
- struct Jazz2::Scripting::Legacy::jjBEHAVIOR
- What drives an object every tick.
- class Jazz2::Scripting::Legacy::jjOBJ
- An object of the level.
- struct Jazz2::Scripting::Legacy::jjCONTROLPOINT
- Control point of Domination, read only, an unused one is empty and neutral.
- struct Jazz2::Scripting::Legacy::jjPARTICLEPIXEL
- Per-particle data for a pixel particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLEFIRE
- Per-particle data for a fire particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLESMOKE
- Per-particle data for a smoke particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLEICETRAIL
- Per-particle data for an ice trail particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLESPARK
- Per-particle data for a spark particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLESTRING
- Per-particle data for a text (score) particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLESNOW
- Per-particle data for a snow particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLERAIN
- Per-particle data for a rain particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLEFLOWER
- Per-particle data for a flower particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLESTAR
- Per-particle data for a star particle.
- struct Jazz2::Scripting::Legacy::jjPARTICLELEAF
- Per-particle data for a leaf particle.
- class Jazz2::Scripting::Legacy::jjPARTICLE
- A simple visual effect in the level.
Typedefs
- using jjVOIDFUNCOBJ = asIScriptFunction*
Functions
-
auto get_jjObjects(std::
int32_t index) -> jjOBJ* - Returns all objects of the level, indexed by object ID.
-
auto get_jjObjectPresets(std::
int8_t id) -> jjOBJ* - Returns the templates of new objects, indexed by event ID.
-
void jjAddParticleTileExplosion(std::
uint16_t xTile, std:: uint16_t yTile, std:: uint16_t tile, bool collapseSceneryStyle) partially supported - Breaks a tile into falling pieces, like destroyed scenery.
- void jjAddParticlePixelExplosion(float xPixel, float yPixel, int curFrame, int direction, int mode) partially supported
- Bursts a sprite frame into pixel particles.
-
auto GetParticle(std::
int32_t index) -> jjPARTICLE* - Returns all particles of the level, indexed from 0 to 1023.
-
auto AddParticle(std::
int32_t particleType) -> jjPARTICLE* - Creates a new particle.