Go to the source code of this file.
Defines | |
#define | DIST(i, j) sqrt((double)(i) * (double)(i) + (double)(j) * (double)(j)) |
#define | frac(z) fmod(z,1.0) |
Functions | |
BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
void | Hsv2Rgb (double h, double s, double v, double *r, double *g, double *b) |
void | DrawInBuffer (fullscreenbuffer *Screen, int Xmax, int Ymax, int x, int y, double 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) |
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 DIST | ( | i, | |||
j | ) | sqrt((double)(i) * (double)(i) + (double)(j) * (double)(j)) |
BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
DWORD | dwReason, | |||
LPVOID | lpReserved | |||
) |
Definition at line 126 of file STARFLD.C.
References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, and TRUE.
void Hsv2Rgb | ( | double | h, | |
double | s, | |||
double | v, | |||
double * | r, | |||
double * | g, | |||
double * | b | |||
) |
Definition at line 149 of file STARFLD.C.
References double.
Referenced by _ExternalTextureProcedure(), and _RenderImageProcess().
void DrawInBuffer | ( | fullscreenbuffer * | Screen, | |
int | Xmax, | |||
int | Ymax, | |||
int | x, | |||
int | y, | |||
double | 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 | |||
) |
Definition at line 367 of file STARFLD.C.
References double, DrawAApixel(), Renderer_XIMAGE_tag::first_frame, frac, Hsv2Rgb(), Renderer_XIMAGE_tag::last_frame, Renderer_XIMAGE_tag::Screen, Renderer_XIMAGE_tag::this_frame, TRUE, type, version, Renderer_XIMAGE_tag::Xmax, Renderer_XIMAGE_tag::Ymax, and z.
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 | |||
) |
Definition at line 506 of file STARFLD.C.
References CALL_FREE, CALL_MALLOC, DLG_STARFIELD, DlgProc(), FALSE, type, and version.