Particle.h File Reference

#include <memory>
#include <string>
#include "imodel.h"
#include "texturelib.h"
#include "renderable.h"
#include "math/Vector2.h"
#include "math/Vector3.h"
#include "math/Vector4.h"
#include <time.h>
#include "../common/ScriptValues.h"
#include "../common/ScriptValues.h"
Include dependency graph for Particle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  scripts::ParticleCommand
class  scripts::ParticleDefinition
struct  scripts::ParticleData
class  scripts::Particle

Namespaces

namespace  scripts

Defines

#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
#define RADR(x)   ((x < 0) ? (byte*)p - x : (byte*) pcmdData + x)
#define RSTACK   -0xFFF0
#define F(x)   (1<<x)
#define V_VECS   (F(V_FLOAT) | F(V_POS) | F(V_VECTOR) | F(V_COLOR))
#define PTL_ONLY_ONE_TYPE   (1<<31)
#define V_UNTYPED   0x7FFF

Typedefs

typedef std::auto_ptr
< scripts::Particle
scripts::IParticlePtr
typedef std::auto_ptr
< scripts::ParticleCommand
scripts::IParticleCommandPtr
typedef std::auto_ptr
< scripts::ParticleDefinition
scripts::IParticleDefinitionPtr

Enumerations

enum  
enum  pc_s

Functions

scripts::IParticlePtr scripts::loadParticle (const std::string &particleID)

Define Documentation

#define F (  )     (1<<x)

Definition at line 23 of file Particle.h.

#define MAX_PCMD_DATA   (MAX_PTLCMDS * 8)

Definition at line 17 of file Particle.h.

#define MAX_PTLCMDS   (MAX_PTLDEFS * 32)

Definition at line 16 of file Particle.h.

#define MAX_PTLDEFS   256

Definition at line 15 of file Particle.h.

#define MAX_STACK_DATA   512

Definition at line 19 of file Particle.h.

#define MAX_STACK_DEPTH   8

Definition at line 18 of file Particle.h.

#define PTL_ONLY_ONE_TYPE   (1<<31)

Definition at line 25 of file Particle.h.

#define RADR (  )     ((x < 0) ? (byte*)p - x : (byte*) pcmdData + x)

Definition at line 21 of file Particle.h.

#define RSTACK   -0xFFF0

Definition at line 22 of file Particle.h.

#define V_UNTYPED   0x7FFF

Definition at line 26 of file Particle.h.

#define V_VECS   (F(V_FLOAT) | F(V_POS) | F(V_VECTOR) | F(V_COLOR))

Definition at line 24 of file Particle.h.


Variable Documentation

const size_t ofs

Definition at line 119 of file Particle.h.

Referenced by CopyLump(), FS_CreatePath(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().

const char* string
const int type

Definition at line 118 of file Particle.h.


Generated by  doxygen 1.6.2