Go to the source code of this file.
Defines | |
#define | frac(z) fmod(z,1.0) |
#define | DIST(i, j) sqrt((double)i * (double)i + (double)j * (double)j) |
Functions | |
BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
double | DistFromHidingObject (int x, int y, double d, double *Zb, int border, int X, int Y) |
double | DistFromVisibleObject (int x, int y, double d, double *Zb, int border, int X, int Y) |
double | Grad (double x, double y1, double y2, int x1, int x2) |
void | DrawInBuffer (fullscreenbuffer *Screen, int Xmax, int Ymax, int x, int y, unsigned char v, double rr, double gg, double bb) |
void | DrawAApixel (double x, double y, double w, double h, double C, fullscreenbuffer *S, int X, int Y, double r, double g, double b) |
long | _RenderImageProcess (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) |
Definition at line 174 of file FLARE.C.
Referenced by _RenderImageProcess(), CreateVRMLfile(), and DrawAApixel().
#define DIST | ( | i, | |||
j | ) | sqrt((double)i * (double)i + (double)j * (double)j) |
BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
DWORD | dwReason, | |||
LPVOID | lpReserved | |||
) |
Definition at line 56 of file FLARE.C.
References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, and TRUE.
double DistFromHidingObject | ( | int | x, | |
int | y, | |||
double | d, | |||
double * | Zb, | |||
int | border, | |||
int | X, | |||
int | Y | |||
) |
double DistFromVisibleObject | ( | int | x, | |
int | y, | |||
double | d, | |||
double * | Zb, | |||
int | border, | |||
int | X, | |||
int | Y | |||
) |
double Grad | ( | double | x, | |
double | y1, | |||
double | y2, | |||
int | x1, | |||
int | x2 | |||
) |
void DrawInBuffer | ( | fullscreenbuffer * | Screen, | |
int | Xmax, | |||
int | Ymax, | |||
int | x, | |||
int | y, | |||
unsigned char | v, | |||
double | rr, | |||
double | gg, | |||
double | bb | |||
) |
Definition at line 159 of file FLARE.C.
References double.
Referenced by _RenderImageProcess(), and DrawAApixel().
void DrawAApixel | ( | double | x, | |
double | y, | |||
double | w, | |||
double | h, | |||
double | C, | |||
fullscreenbuffer * | S, | |||
int | X, | |||
int | Y, | |||
double | r, | |||
double | g, | |||
double | b | |||
) |
Definition at line 176 of file FLARE.C.
References DrawInBuffer(), and frac.
Referenced by _RenderImageProcess(), RegularGridOfStars(), and RenderImageProcess().
long _RenderImageProcess | ( | char * | PrmList, | |
XIMAGE * | lpXimage | |||
) |
Definition at line 539 of file FLARE.C.
References angle, DIST, DistFromHidingObject(), DistFromVisibleObject(), double, DrawAApixel(), DUMMYL, FALSE, Grad(), TransformIntoView(), TRUE, type, X__Free, and X__Malloc.
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 | |||
) |