particles.c File Reference

Go to the source code of this file.

Defines

#define MODULE_PARTICLES
#define Clamp(x, min, max)   x = (x<min ? min : x<max ? x : max);
#define RAND_N   ((float)(rand())/(float)(RAND_MAX))
#define FRAME_TIME   0.04
#define PARTICLE_SCALE   4096.0
#define SIZE_SCALE   2500.0

Functions

void LoadParticleImages (void)
void UnloadParticleImages (void)
void MakeParticleTextures (void)
void ReleaseParticleTextures (void)
void SetUpSingleParticle (ParticleSystem *ps)
void SetUpParticles (ParticleSystem *ps)
void RenderParticlesGL (BOOL clip)
void RenderParticles (void)

Variables

int RENDERBUFFER_WIDTH
int RENDERBUFFER_HEIGHT
int TEXTUREBUFFER_WIDTH
int TEXTUREBUFFER_HEIGHT
GLuint g_check_texture
GLuint g_map_texture
GLuint g_ref_texture
GLuint g_bump_texture
GLuint g_tran_texture
GLuint g_movie_texture
GLuint g_env_texture
GLuint g_envB_texture
GLuint g_envN_texture
GLuint g_noise_texture
GLuint g_env3D_texture
GLuint g_sky_texture
double DepthScalingGL
double FrontDepthGL
double BackDepthGL
char gszHomeDir []
double GlobalScale


Define Documentation

#define MODULE_PARTICLES

Definition at line 3 of file particles.c.

#define Clamp ( x,
min,
max   )     x = (x<min ? min : x<max ? x : max);

Definition at line 34 of file particles.c.

#define RAND_N   ((float)(rand())/(float)(RAND_MAX))

Definition at line 36 of file particles.c.

#define FRAME_TIME   0.04

Definition at line 38 of file particles.c.

Referenced by SetUpParticles().

#define PARTICLE_SCALE   4096.0

Definition at line 43 of file particles.c.

Referenced by SetUpParticles(), and SetUpSingleParticle().

#define SIZE_SCALE   2500.0

Definition at line 44 of file particles.c.


Variable Documentation

Definition at line 71 of file rendergl.C.

Referenced by CopyGLtoFSB(), and SetUpGlWindow().

Definition at line 72 of file rendergl.C.

Referenced by SetUpGlWindow().

Definition at line 73 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), RenderCameraView(), and SetUpGlWindow().

Definition at line 74 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), RenderCameraView(), and SetUpGlWindow().

Definition at line 66 of file GLDESIGN.C.

GLuint g_map_texture

Definition at line 67 of file GLDESIGN.C.

GLuint g_ref_texture

Definition at line 68 of file GLDESIGN.C.

Definition at line 69 of file GLDESIGN.C.

Definition at line 70 of file GLDESIGN.C.

Definition at line 71 of file GLDESIGN.C.

GLuint g_env_texture

Definition at line 72 of file GLDESIGN.C.

Definition at line 73 of file GLDESIGN.C.

Definition at line 26 of file rendergl.C.

Referenced by CloseGlWindow(), and DrawExternalMaterialPolys().

Definition at line 74 of file GLDESIGN.C.

Definition at line 24 of file rendergl.C.

Referenced by CloseGlWindow(), and DrawExternalMaterialPolys().

GLuint g_sky_texture

Definition at line 28 of file rendergl.C.

Referenced by CloseGlWindow().

Definition at line 32 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().

double FrontDepthGL

Definition at line 32 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().

double BackDepthGL

Definition at line 32 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().

char gszHomeDir[]

Definition at line 186 of file ANIMATE.H.

double GlobalScale

Definition at line 38 of file rendergl1.c.

Referenced by RenderCameraView().


Generated on Sun Apr 27 14:20:17 2014 for OpenFX by  doxygen 1.5.6