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 MODULE_PARTICLES |
Definition at line 3 of file particles.c.
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 |
#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.
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().
GLuint g_check_texture |
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.
GLuint g_bump_texture |
Definition at line 69 of file GLDESIGN.C.
GLuint g_tran_texture |
Definition at line 70 of file GLDESIGN.C.
GLuint g_movie_texture |
Definition at line 71 of file GLDESIGN.C.
GLuint g_env_texture |
Definition at line 72 of file GLDESIGN.C.
GLuint g_envB_texture |
Definition at line 73 of file GLDESIGN.C.
GLuint g_envN_texture |
Definition at line 26 of file rendergl.C.
Referenced by CloseGlWindow(), and DrawExternalMaterialPolys().
GLuint g_noise_texture |
Definition at line 74 of file GLDESIGN.C.
GLuint g_env3D_texture |
Definition at line 24 of file rendergl.C.
Referenced by CloseGlWindow(), and DrawExternalMaterialPolys().
GLuint g_sky_texture |
double DepthScalingGL |
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[] |
double GlobalScale |