|
UFO: Alien Invasion
|
Client particle parsing and rendering functions. More...
#include "../client.h"#include "cl_particle.h"#include "cl_localentity.h"#include "cl_hud.h"#include "../renderer/r_light.h"#include "../renderer/r_particle.h"#include "../../shared/parse.h"
Go to the source code of this file.
Data Structures | |
| struct | mapParticle_t |
| map particles More... | |
| struct | timedParticle_t |
| struct | ptlTraceCache_t |
Macros | |
| #define | MAX_MAPPARTICLES 1024 |
| #define | MAX_TIMEDPARTICLES 16 |
| #define | PTL_INTENSITY_TO_RADIUS 256 /** @todo better scale factor: is 256 too big or not? */ |
| #define | V_VECS ((1 << V_FLOAT) | (1 << V_POS) | (1 << V_VECTOR) | (1 << V_COLOR)) |
| #define | PTL_ONLY_ONE_TYPE (1<<31) |
| #define | V_UNTYPED 0x7FFF |
| #define | MAX_PTLDEFS 256 |
| #define | MAX_PTLCMDS (MAX_PTLDEFS * 32) |
| #define | MAX_PCMD_DATA (MAX_PTLCMDS * 8) |
| #define | MAX_STACK_DEPTH 8 |
| #define | MAX_STACK_DATA 512 |
Enumerations | |
| enum | pf_t { PF_INIT , PF_RUN , PF_THINK , PF_ROUND , PF_PHYSICS , PF_NUM_PTLFUNCS } |
| particle functions enums - see pf_strings and pf_values More... | |
| enum | pc_t { PC_END , PC_PUSH , PC_POP , PC_KPOP , PC_ADD , PC_SUB , PC_MUL , PC_DIV , PC_SIN , PC_COS , PC_TAN , PC_RAND , PC_CRAND , PC_V2 , PC_V3 , PC_V4 , PC_KILL , PC_SPAWN , PC_NSPAWN , PC_TNSPAWN , PC_CHILD , PC_NUM_PTLCMDS } |
| particle commands - see pc_strings More... | |
Functions | |
| CASSERT (lengthof(pf_strings)==PF_NUM_PTLFUNCS) | |
| CASSERT (lengthof(pf_values)==PF_NUM_PTLFUNCS) | |
| CASSERT (lengthof(pc_strings)==PC_NUM_PTLCMDS) | |
| CASSERT (lengthof(pc_types)==PC_NUM_PTLCMDS) | |
| static void | CL_ParticleSpawnTimed (const char *name, ptl_t *parent, bool children, int deltaTime, int n) |
Will spawn a n particles deltaTime ms after the parent was spawned. | |
| void | CL_AddMapParticle (const char *ptl, const vec3_t origin, const vec2_t wait, const char *info, int levelflags) |
| Spawns the map particle. | |
| static void | CL_ParticleLoadArt (ptlArt_t *a) |
| Loads the image or model for a given particle art. | |
| void | CL_ParticleRegisterArt (void) |
| static ptlArt_t * | CL_ParticleGetArt (const char *name, int frame, artType_t type) |
| Register art (pics, models) for each particle. | |
| static void * | CL_ParticleCommandGetDataLocation (ptl_t *p, const ptlCmd_t *cmd) |
| Determine the memory location where the command accesses and stores its data. | |
| static void | CL_ParticleFunction (ptl_t *p, ptlCmd_t *cmd) |
| ptlDef_t * | CL_ParticleGet (const char *name) |
| ptl_t * | CL_ParticleSpawn (const char *name, int levelFlags, const vec3_t s, const vec3_t v, const vec3_t a) |
| Spawn a new particle to the map. | |
| void | CL_ParticleFree (ptl_t *p) |
| Free a particle and all it's children. | |
| static void | CL_Fading (vec4_t color, fade_t fade, float frac, bool onlyAlpha) |
| Color fade function. | |
| void | CL_ParticleCheckRounds (void) |
| checks whether a particle is still active in the current round | |
| static trace_t | PTL_Trace (ptl_t *ptl, const AABB &aabb) |
| Particle tracing with caching. | |
| static void | CL_ParticleRun2 (ptl_t *p) |
| Prepares the particle rendering, calculate new position, velocity and all the other particle values that are needed to display it. | |
| static void | CL_ParticleRunTimed (void) |
| Called every frame and checks whether a timed particle should be spawned. | |
| static void | CL_ParseMapParticle (ptl_t *ptl, const char *es, bool afterwards) |
| Parses particle used on maps. | |
| static void | CL_RunMapParticles (void) |
| void | CL_ParticleRun (void) |
| General system for particle running during the game. | |
| static void | CL_ParsePtlCmds (const char *name, const char **text) |
| void | CL_ParseParticle (const char *name, const char **text) |
| Parses particle definitions from UFO-script files. | |
| void | PTL_InitStartup (void) |
| Clears particle data. | |
Variables | |
| static cvar_t * | cl_particleweather |
| static mapParticle_t | mapParticles [MAX_MAPPARTICLES] |
| static timedParticle_t | timedParticles [MAX_TIMEDPARTICLES] |
| static ptlArt_t | r_particlesArt [MAX_PTL_ART] |
| static int | r_numParticlesArt |
| static char const *const | pf_strings [] |
| valid particle functions - see pf_t and pf_values | |
| static const size_t | pf_values [] |
| particle functions offsets - see pf_strings and pf_t | |
| static char const *const | pc_strings [] |
| particle commands - see pc_t | |
| static const unsigned int | pc_types [PC_NUM_PTLCMDS] |
| particle commands parameter and types | |
| static const value_t | pps [] |
| particle script values | |
| static ptlDef_t | ptlDef [MAX_PTLDEFS] |
| static ptlCmd_t | ptlCmd [MAX_PTLCMDS] |
| static int | numPtlDefs |
| static int | numPtlCmds |
| static byte | pcmdData [MAX_PCMD_DATA] |
| static byte * | pcmdPos = pcmdData |
| static const int | RSTACK = -(MAX_PCMD_DATA) |
| static byte | cmdStack [MAX_STACK_DATA] |
| static void * | stackPtr [MAX_STACK_DEPTH] |
| static byte | stackType [MAX_STACK_DEPTH] |
Client particle parsing and rendering functions.
Definition in file cl_particle.cpp.
| #define MAX_MAPPARTICLES 1024 |
Definition at line 34 of file cl_particle.cpp.
Referenced by CL_AddMapParticle().
| #define MAX_PCMD_DATA (MAX_PTLCMDS * 8) |
Definition at line 219 of file cl_particle.cpp.
| #define MAX_PTLCMDS (MAX_PTLDEFS * 32) |
Definition at line 211 of file cl_particle.cpp.
Referenced by CL_ParsePtlCmds().
| #define MAX_PTLDEFS 256 |
Definition at line 210 of file cl_particle.cpp.
Referenced by CL_ParseParticle().
| #define MAX_STACK_DATA 512 |
Definition at line 228 of file cl_particle.cpp.
| #define MAX_STACK_DEPTH 8 |
Definition at line 227 of file cl_particle.cpp.
Referenced by CL_ParticleFunction().
| #define MAX_TIMEDPARTICLES 16 |
Definition at line 35 of file cl_particle.cpp.
| #define PTL_INTENSITY_TO_RADIUS 256 /** @todo better scale factor: is 256 too big or not? */ |
Definition at line 37 of file cl_particle.cpp.
Referenced by CL_ParticleRun2().
| #define PTL_ONLY_ONE_TYPE (1<<31) |
Definition at line 73 of file cl_particle.cpp.
Referenced by CL_ParsePtlCmds().
| #define V_UNTYPED 0x7FFF |
Definition at line 74 of file cl_particle.cpp.
Definition at line 72 of file cl_particle.cpp.
Referenced by CL_ParsePtlCmds(), and CL_ParticleFunction().
| enum pc_t |
particle commands - see pc_strings
| Enumerator | |
|---|---|
| PC_END | |
| PC_PUSH | |
| PC_POP | |
| PC_KPOP | |
| PC_ADD | |
| PC_SUB | |
| PC_MUL | |
| PC_DIV | |
| PC_SIN | |
| PC_COS | |
| PC_TAN | |
| PC_RAND | |
| PC_CRAND | |
| PC_V2 | |
| PC_V3 | |
| PC_V4 | |
| PC_KILL | |
| PC_SPAWN | |
| PC_NSPAWN | |
| PC_TNSPAWN | |
| PC_CHILD | |
| PC_NUM_PTLCMDS | |
Definition at line 108 of file cl_particle.cpp.
| enum pf_t |
particle functions enums - see pf_strings and pf_values
| Enumerator | |
|---|---|
| PF_INIT | |
| PF_RUN | |
| PF_THINK | |
| PF_ROUND | |
| PF_PHYSICS | if a particle hits the ground |
| PF_NUM_PTLFUNCS | |
Definition at line 77 of file cl_particle.cpp.
| CASSERT | ( | lengthof(pc_strings) | = =PC_NUM_PTLCMDS | ) |
References PC_NUM_PTLCMDS, and pc_strings.
| CASSERT | ( | lengthof(pc_types) | = =PC_NUM_PTLCMDS | ) |
References PC_NUM_PTLCMDS, and pc_types.
| CASSERT | ( | lengthof(pf_strings) | = =PF_NUM_PTLFUNCS | ) |
References PF_NUM_PTLFUNCS, and pf_strings.
| CASSERT | ( | lengthof(pf_values) | = =PF_NUM_PTLFUNCS | ) |
References PF_NUM_PTLFUNCS, and pf_values.
| void CL_AddMapParticle | ( | const char * | ptl, |
| const vec3_t | origin, | ||
| const vec2_t | wait, | ||
| const char * | info, | ||
| int | levelflags ) |
Spawns the map particle.
| [in] | ptl | Particle name |
| [in] | origin | The position in the world |
| [in] | wait | |
| [in] | info | |
| [in] | levelflags | The levelflag mask to show the particle on |
Definition at line 276 of file cl_particle.cpp.
References cl, Com_DPrintf(), Com_Printf(), DEBUG_CLIENT, frand(), mapParticle_t::info, mapParticle_t::levelflags, mapParticles, MAX_MAPPARTICLES, mapParticle_t::nextTime, mapParticle_t::origin, mapParticle_t::ptl, Q_strncpyz(), VectorCopy, and mapParticle_t::wait.
Referenced by SP_misc_particle().
Color fade function.
| [in,out] | color | The color vector to fade. |
| [in] | fade | The type of the fade. |
| [in] | frac | The fraction to fade the color with. |
| [in] | onlyAlpha | Only fade the alpha channel of the given RGBA color. |
Definition at line 792 of file cl_particle.cpp.
References FADE_IN, FADE_LAST, FADE_NONE, FADE_OUT, FADE_SAW, FADE_SIN, i, and M_PI.
Referenced by CL_ParticleRun2().
Parses particle used on maps.
| [in,out] | ptl | Pointer to particle being parsed and updated. |
| [in] | es | Entity string to parse the particle from |
| [in] | afterwards | If this is true you can modify the particle after the init function for the particle was already called |
Definition at line 1062 of file cl_particle.cpp.
References ART_MODEL, ART_PIC, CL_ParticleGetArt(), Com_EParseValue(), Com_Error(), Com_Parse(), ERR_DROP, ptl_t::frame, key, MAX_VAR, ptl_t::model, value_t::ofs, ptl_t::pic, pps, ptl_t::program, Q_streq, Q_strncpyz(), R_InitParticleProgram(), R_LoadProgram(), R_UseParticleProgram(), value_t::size, value_t::string, value_t::type, and r_program_t::userdata.
Referenced by CL_RunMapParticles().
| void CL_ParseParticle | ( | const char * | name, |
| const char ** | text ) |
Parses particle definitions from UFO-script files.
| [in] | name | particle name/id |
| [in] | text | pointer to the buffer to parse from |
Definition at line 1355 of file cl_particle.cpp.
References CL_ParsePtlCmds(), Com_EParse(), Com_Parse(), Com_Printf(), i, ptlDef_t::init, MAX_PTLDEFS, name, ptlDef_t::name, numPtlCmds, numPtlDefs, OBJZERO, PF_NUM_PTLFUNCS, pf_strings, pf_values, ptlCmd, ptlDef, Q_streq, and Q_strncpyz().
Referenced by CL_ParseClientData().
|
static |
Definition at line 1161 of file cl_particle.cpp.
References ptlCmd_t::cmd, Com_AlignPtr(), Com_EParse(), Com_EParseValue(), Com_Error(), Com_Parse(), Com_Printf(), ERR_DROP, i, int(), len, MAX_PTLCMDS, MAX_VAR, name, numPtlCmds, OBJZERO, value_t::ofs, PC_NUM_PTLCMDS, PC_POP, PC_PUSH, pc_strings, pc_types, pcmdData, pcmdPos, pps, PTL_ONLY_ONE_TYPE, ptlCmd, Q_streq, Q_strncpyz(), ptlCmd_t::ref, RSTACK, value_t::string, ptlCmd_t::type, value_t::type, V_FLOAT, V_NUM_TYPES, V_VECS, and vt_names.
Referenced by CL_ParseParticle().
checks whether a particle is still active in the current round
Definition at line 827 of file cl_particle.cpp.
References CL_ParticleFree(), CL_ParticleFunction(), ptl_t::ctrl, i, ptl_t::inuse, r_numParticles, r_particleArray, ptlDef_t::round, ptl_t::rounds, and ptl_t::roundsCnt.
Referenced by CL_DoEndRound().
Determine the memory location where the command accesses and stores its data.
| p | The particle that is used to get local command data locations. |
| cmd | The command to get the data location for. |
Definition at line 377 of file cl_particle.cpp.
References pcmdData, and ptlCmd_t::ref.
Referenced by CL_ParticleFunction().
Free a particle and all it's children.
| [in] | p | the particle to free |
Definition at line 776 of file cl_particle.cpp.
References ptl_t::children, CL_ParticleFree(), ptl_t::inuse, and ptl_t::invis.
Referenced by CL_ActorDie(), CL_ActorRevitalised(), CL_EntPerish(), CL_ParticleCheckRounds(), CL_ParticleFree(), CL_ParticleFunction(), CL_ParticleRun2(), and LET_Projectile().
Definition at line 386 of file cl_particle.cpp.
References ptl_t::a, ART_MODEL, ART_PIC, ptl_t::children, CL_ParticleCommandGetDataLocation(), CL_ParticleFree(), CL_ParticleGetArt(), CL_ParticleSpawn(), CL_ParticleSpawnTimed(), ptlCmd_t::cmd, cmdStack, Com_DPrintf(), Com_Error(), Com_SetValue(), crand(), ptl_t::ctrl, DEBUG_CLIENT, ERR_DROP, ptl_t::frame, frand(), i, int(), ptl_t::levelFlags, M_PI, MAX_STACK_DEPTH, ptl_t::model, ptlDef_t::name, ptl_t::next, ptl_t::parent, PC_ADD, PC_CHILD, PC_COS, PC_CRAND, PC_DIV, PC_END, PC_KILL, PC_KPOP, PC_MUL, PC_NSPAWN, PC_POP, PC_PUSH, PC_RAND, PC_SIN, PC_SPAWN, PC_SUB, PC_TAN, PC_TNSPAWN, PC_V2, PC_V3, PC_V4, ptl_t::pic, ptl_t::program, R_InitParticleProgram(), R_LoadProgram(), R_UseParticleProgram(), ptlCmd_t::ref, RSTACK, ptl_t::s, stackPtr, stackType, ptlCmd_t::type, type, r_program_t::userdata, ptl_t::v, V_FLOAT, V_INT, V_STRING, V_VECS, and vt_names.
Referenced by CL_ParticleCheckRounds(), CL_ParticleRun2(), CL_ParticleSpawn(), and CL_RunMapParticles().
| ptlDef_t * CL_ParticleGet | ( | const char * | name | ) |
Definition at line 678 of file cl_particle.cpp.
References i, name, ptlDef_t::name, numPtlDefs, ptlDef, Q_streq, and Q_strnull().
Referenced by CL_ParticleSpawn(), TEST_CheckParticle(), and TEST_F().
Register art (pics, models) for each particle.
Definition at line 339 of file cl_particle.cpp.
References ptlArt_t::art, ART_PIC, CL_ParticleLoadArt(), Com_Error(), ERR_DROP, ptlArt_t::frame, i, ptlArt_t::image, MAX_PTL_ART, name, ptlArt_t::name, Q_streq, Q_strncpyz(), r_numParticlesArt, r_particlesArt, ptlArt_t::skin, ptlArt_t::type, and type.
Referenced by CL_ParseMapParticle(), CL_ParticleFunction(), and CL_ParticleRun2().
Loads the image or model for a given particle art.
Definition at line 298 of file cl_particle.cpp.
References ptlArt_t::art, ART_MODEL, ART_PIC, Com_Error(), Com_Printf(), ERR_DROP, ptlArt_t::frame, ptlArt_t::image, ptlArt_t::model, ptlArt_t::name, R_FindModel(), R_FindPics(), ptlArt_t::type, and va().
Referenced by CL_ParticleGetArt(), and CL_ParticleRegisterArt().
Definition at line 324 of file cl_particle.cpp.
References CL_ParticleLoadArt(), i, r_numParticlesArt, and r_particlesArt.
Referenced by CL_ViewLoadMedia().
General system for particle running during the game.
Definition at line 1148 of file cl_particle.cpp.
References CL_ParticleRun2(), CL_ParticleRunTimed(), CL_RunMapParticles(), i, ptl_t::inuse, r_numParticles, and r_particleArray.
Referenced by CL_Frame(), and TEST_F().
Prepares the particle rendering, calculate new position, velocity and all the other particle values that are needed to display it.
| [in,out] | p | The particle to handle |
Definition at line 882 of file cl_particle.cpp.
References ptl_t::a, ptl_t::angles, ART_PIC, ptl_t::autohide, ptl_t::blend, BLEND_BLEND, ptl_t::bounce, cl, CL_Fading(), CL_ParticleFree(), CL_ParticleFunction(), CL_ParticleGetArt(), cl_particleweather, cl_worldlevel, cls, ptl_t::color, ptl_t::ctrl, DotProduct, ptl_t::dt, ptl_t::endFrame, ptl_t::fps, ptl_t::frame, ptl_t::frameFade, ptl_t::hitSolid, int(), ptl_t::invis, ptl_t::lastFrame, ptl_t::lastThink, ptl_t::life, ptl_t::lightColor, ptl_t::lightIntensity, ptl_t::lightSustain, ptlArt_t::name, ptl_t::oldV, ptl_t::omega, ptl_t::origin, ptl_t::parent, ptl_t::physics, ptlDef_t::physics, ptl_t::pic, PTL_INTENSITY_TO_RADIUS, PTL_Trace(), R_AddLight(), R_AddSustainedLight(), ptl_t::rounds, ptl_t::roundsCnt, ptlDef_t::run, ptl_t::s, ptl_t::size, ptl_t::startTime, ptl_t::stayalive, ptl_t::stick, ptl_t::style, STYLE_LINE, ptl_t::t, ptlDef_t::think, ptl_t::thinkFade, ptl_t::tps, tr, UNIT_HEIGHT, ptl_t::v, Vector4Set, VectorAdd, VectorClear, VectorCopy, VectorMA(), VectorNegate, VectorNotEmpty, VectorScale, and ptl_t::weather.
Referenced by CL_ParticleRun().
Called every frame and checks whether a timed particle should be spawned.
Definition at line 1023 of file cl_particle.cpp.
References ptl_t::a, timedParticle_t::a, ptl_t::children, timedParticle_t::children, CL_Milliseconds(), CL_ParticleSpawn(), timedParticle_t::dt, i, ptl_t::inuse, timedParticle_t::lastTime, length, lengthof, timedParticle_t::levelFlags, timedParticle_t::max, timedParticle_t::n, ptl_t::next, ptl_t::parent, timedParticle_t::parent, timedParticle_t::ptl, ptl_t::s, timedParticle_t::s, timedParticles, ptl_t::v, timedParticle_t::v, and VectorCopy.
Referenced by CL_ParticleRun().
| ptl_t * CL_ParticleSpawn | ( | const char * | name, |
| int | levelFlags, | ||
| const vec3_t | s, | ||
| const vec3_t | v, | ||
| const vec3_t | a ) |
Spawn a new particle to the map.
| [in] | name | The id of the particle (see ptl_*.ufo script files in base/ufos) |
| [in] | levelFlags | Show at which levels |
| [in] | s | starting/location vector |
| [in] | v | velocity vector |
| [in] | a | acceleration vector |
Definition at line 705 of file cl_particle.cpp.
References ptl_t::a, cl, CL_ParticleFunction(), CL_ParticleGet(), ptl_t::color, Com_DPrintf(), Com_Printf(), ptl_t::ctrl, DEBUG_CLIENT, i, ptlDef_t::init, ptl_t::inuse, ptl_t::levelFlags, ptl_t::life, MAX_PTLS, ptl_t::model, name, OBJZERO, ptl_t::origin, ptl_t::pic, Q_strnull(), r_numParticles, r_particleArray, ptl_t::s, ptl_t::startTime, ptl_t::tps, ptl_t::v, v, Vector4Set, and VectorCopy.
Referenced by CL_ActorTraceMove(), CL_AddActor(), CL_DrawLineOfSight(), CL_NextAlienVisibleFromActor_f(), CL_ParticleAppear(), CL_ParticleFunction(), CL_ParticleRunTimed(), CL_ParticleSpawnEvent(), CL_RunMapParticles(), CL_TargetingGrenade(), CL_TargetingRadius(), CL_TargetingStraight(), LE_ActorBodyHit(), LE_AddGrenade(), LE_AddProjectile(), LE_AddToScene(), LE_PlaySoundFileAndParticleForSurface(), LET_Projectile(), R_DrawAliasModel(), and TEST_F().
|
static |
Will spawn a n particles deltaTime ms after the parent was spawned.
| [in] | name | The id of the particle (see ptl_*.ufo script files in base/ufos) |
| [in] | parent | The parent particle |
| [in] | children | Spawn as children |
| [in] | deltaTime | The time to wait until this particle should get spawned |
| [in] | n | The amount of particles to spawn (each after deltaTime of its predecessor) |
Definition at line 242 of file cl_particle.cpp.
References timedParticle_t::children, Com_Error(), Com_Printf(), timedParticle_t::dt, ERR_DROP, i, length, lengthof, ptl_t::levelFlags, timedParticle_t::levelFlags, timedParticle_t::max, timedParticle_t::n, name, timedParticle_t::parent, timedParticle_t::ptl, Q_strncpyz(), and timedParticles.
Referenced by CL_ParticleFunction().
Definition at line 1115 of file cl_particle.cpp.
References cl, CL_ParseMapParticle(), CL_ParticleFunction(), CL_ParticleSpawn(), Com_Printf(), ptl_t::ctrl, frand(), i, mapParticle_t::info, ptlDef_t::init, mapParticle_t::levelflags, mapParticles, mapParticle_t::nextTime, mapParticle_t::origin, mapParticle_t::ptl, S_COLOR_YELLOW, Vector2NotEmpty, and mapParticle_t::wait.
Referenced by CL_ParticleRun().
Clears particle data.
Definition at line 1475 of file cl_particle.cpp.
References cl_particleweather, Cmd_AddCommand(), CVAR_ARCHIVE, Cvar_Get(), numPtlCmds, numPtlDefs, OBJZERO, ptlCmd, ptlDef, r_numParticles, r_numParticlesArt, and r_particlesArt.
Referenced by CL_InitLocal(), ParticleTest::SetUpTestCase(), and TEST_Shutdown().
Particle tracing with caching.
Definition at line 856 of file cl_particle.cpp.
References cl, CL_Trace(), ptlTraceCache_t::count, ptlTraceCache_t::end, MASK_SOLID, AABB::maxs, AABB::mins, ptl_t::origin, ptlTraceCache_t::pBox, ptl_t::s, AABB::set(), ptlTraceCache_t::start, ptlTraceCache_t::trace, VectorCompareEps(), and VectorCopy.
Referenced by CL_ParticleRun2().
|
static |
Definition at line 39 of file cl_particle.cpp.
Referenced by CL_ParticleRun2(), and PTL_InitStartup().
|
static |
Definition at line 230 of file cl_particle.cpp.
Referenced by CL_ParticleFunction().
|
static |
Definition at line 66 of file cl_particle.cpp.
Referenced by CL_AddMapParticle(), and CL_RunMapParticles().
|
static |
Definition at line 217 of file cl_particle.cpp.
Referenced by CL_ParseParticle(), CL_ParsePtlCmds(), and PTL_InitStartup().
|
static |
Definition at line 216 of file cl_particle.cpp.
Referenced by CL_ParseParticle(), CL_ParticleGet(), and PTL_InitStartup().
|
static |
particle commands - see pc_t
Definition at line 125 of file cl_particle.cpp.
Referenced by CASSERT(), and CL_ParsePtlCmds().
|
static |
particle commands parameter and types
Definition at line 141 of file cl_particle.cpp.
Referenced by CASSERT(), and CL_ParsePtlCmds().
|
static |
Definition at line 222 of file cl_particle.cpp.
Referenced by CL_ParsePtlCmds(), and CL_ParticleCommandGetDataLocation().
Definition at line 223 of file cl_particle.cpp.
Referenced by CL_ParsePtlCmds().
|
static |
valid particle functions - see pf_t and pf_values
Definition at line 88 of file cl_particle.cpp.
Referenced by CASSERT(), and CL_ParseParticle().
|
static |
particle functions offsets - see pf_strings and pf_t
Definition at line 98 of file cl_particle.cpp.
Referenced by CASSERT(), and CL_ParseParticle().
|
static |
particle script values
CL_ParticleFunction Definition at line 160 of file cl_particle.cpp.
Referenced by CL_ParseMapParticle(), and CL_ParsePtlCmds().
|
static |
Definition at line 214 of file cl_particle.cpp.
Referenced by CL_ParseParticle(), CL_ParsePtlCmds(), and PTL_InitStartup().
|
static |
Definition at line 213 of file cl_particle.cpp.
Referenced by CL_ParseParticle(), CL_ParticleGet(), and PTL_InitStartup().
|
static |
Definition at line 70 of file cl_particle.cpp.
Referenced by CL_ParticleGetArt(), CL_ParticleRegisterArt(), and PTL_InitStartup().
|
static |
Definition at line 69 of file cl_particle.cpp.
Referenced by CL_ParticleGetArt(), CL_ParticleRegisterArt(), and PTL_InitStartup().
|
static |
Definition at line 225 of file cl_particle.cpp.
Referenced by CL_ParsePtlCmds(), and CL_ParticleFunction().
|
static |
Definition at line 231 of file cl_particle.cpp.
Referenced by CL_ParticleFunction().
|
static |
Definition at line 232 of file cl_particle.cpp.
Referenced by CL_ParticleFunction().
|
static |
Definition at line 67 of file cl_particle.cpp.
Referenced by CL_ParticleRunTimed(), and CL_ParticleSpawnTimed().