Go to the source code of this file.
Defines | |
#define | RS (1.0/(double)RAND_MAX) |
#define | CF(c) ((double)(c)/(double)(255)) |
#define | FC(c) ((unsigned char)(c*255.0)) |
#define | VECCOPY(a, b) { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; } |
#define | INVERT(a) { a[0] = -a[0]; a[1] = -a[1]; a[2] = -a[2]; } |
#define | VECSUB(a, b, c) { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];} |
#define | VECSUM(a, b, c) { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];} |
#define | VECSCALE(a, b, c) { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];} |
#define | DOT(a, b) ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
#define | CROSS(v1, v2, r) |
#define | ONE_256 3.90625e-3 |
Functions | |
BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
double | NoiseFunc (vector p, double phase, double levels, int invert, XIMAGE *lpXimage) |
long | _RenderImageProcess (char *PrmList, XIMAGE *lpXimage) |
long | _RenderGLexternal (char *PrmList, XIMAGE *lpXimage) |
BOOL CALLBACK | DlgProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
char * | _SetExternalParameters (char *Op, HWND hWnd, long ruler, char *name, X__MEMORY_MANAGER *lpEVI) |
#define RS (1.0/(double)RAND_MAX) |
Definition at line 81 of file FIREBALL.C.
#define CF | ( | c | ) | ((double)(c)/(double)(255)) |
Definition at line 82 of file FIREBALL.C.
#define FC | ( | c | ) | ((unsigned char)(c*255.0)) |
Definition at line 83 of file FIREBALL.C.
#define VECCOPY | ( | a, | |||
b | ) | { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; } |
Definition at line 84 of file FIREBALL.C.
#define INVERT | ( | a | ) | { a[0] = -a[0]; a[1] = -a[1]; a[2] = -a[2]; } |
Definition at line 85 of file FIREBALL.C.
#define VECSUB | ( | a, | |||
b, | |||||
c | ) | { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];} |
Definition at line 86 of file FIREBALL.C.
#define VECSUM | ( | a, | |||
b, | |||||
c | ) | { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];} |
Definition at line 87 of file FIREBALL.C.
#define VECSCALE | ( | a, | |||
b, | |||||
c | ) | { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];} |
Definition at line 88 of file FIREBALL.C.
#define DOT | ( | a, | |||
b | ) | ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
Definition at line 89 of file FIREBALL.C.
#define CROSS | ( | v1, | |||
v2, | |||||
r | ) |
Value:
{ \ r[0] = (v1[1]*v2[2]) - (v2[1]*v1[2]); \ r[1] = (v1[2]*v2[0]) - (v1[0]*v2[2]); \ r[2] = (v1[0]*v2[1]) - (v2[0]*v1[1]); \ }
Definition at line 90 of file FIREBALL.C.
#define ONE_256 3.90625e-3 |
Definition at line 95 of file FIREBALL.C.
BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
DWORD | dwReason, | |||
LPVOID | lpReserved | |||
) |
Definition at line 59 of file FIREBALL.C.
References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, and TRUE.
long _RenderImageProcess | ( | char * | PrmList, | |
XIMAGE * | lpXimage | |||
) |
Definition at line 266 of file FIREBALL.C.
References Renderer_LIGHT_tag::AnimatorID, Renderer_LIGHT_tag::dc, Renderer_LIGHT_tag::dc_l, df, double, DUMMYL, FALSE, Renderer_XIMAGE_tag::first_frame, Renderer_XIMAGE_tag::fp_Terminate, Renderer_XIMAGE_tag::fp_Yield, L, Renderer_XIMAGE_tag::last_frame, Renderer_XIMAGE_tag::Lights, min, Renderer_XIMAGE_tag::Morph, Renderer_XIMAGE_tag::MorphRatio, Renderer_XIMAGE_tag::mParameters, Renderer_XIMAGE_tag::Nlights, normalize, ONE_256, Renderer_LIGHT_tag::p, Renderer_XIMAGE_tag::Screen, SPOTLIGHT, Renderer_XIMAGE_tag::this_frame, TRUE, Renderer_LIGHT_tag::type, type, version, Renderer_XIMAGE_tag::Xmax, Renderer_XIMAGE_tag::Xscale, Renderer_XIMAGE_tag::Ymax, Renderer_XIMAGE_tag::Yscale, and Renderer_XIMAGE_tag::Zbuffer.
long _RenderGLexternal | ( | char * | PrmList, | |
XIMAGE * | lpXimage | |||
) |
Definition at line 348 of file FIREBALL.C.
BOOL CALLBACK DlgProc | ( | HWND | hwnd, | |
UINT | msg, | |||
WPARAM | wparam, | |||
LPARAM | lparam | |||
) |
char* _SetExternalParameters | ( | char * | Op, | |
HWND | hWnd, | |||
long | ruler, | |||
char * | name, | |||
X__MEMORY_MANAGER * | lpEVI | |||
) |
Definition at line 369 of file FIREBALL.C.
References CALL_FREE, CALL_MALLOC, DLG_FIREBALL, DlgProc(), FALSE, type, and version.