FLARE.C File Reference

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)


Define Documentation

#define frac ( z   )     fmod(z,1.0)

Definition at line 174 of file FLARE.C.

Referenced by _RenderImageProcess(), CreateVRMLfile(), and DrawAApixel().

#define DIST ( i,
 )     sqrt((double)i * (double)i + (double)j * (double)j)

Definition at line 228 of file FLARE.C.

Referenced by _RenderImageProcess().


Function Documentation

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 
)

Definition at line 117 of file FLARE.C.

References double, and Z.

Referenced by _RenderImageProcess().

double DistFromVisibleObject ( int  x,
int  y,
double  d,
double *  Zb,
int  border,
int  X,
int  Y 
)

Definition at line 134 of file FLARE.C.

References double, and Z.

Referenced by _RenderImageProcess().

double Grad ( double  x,
double  y1,
double  y2,
int  x1,
int  x2 
)

Definition at line 151 of file FLARE.C.

References double.

Referenced by _RenderImageProcess().

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 
)

BOOL CALLBACK DlgProc ( HWND  hwnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)

Definition at line 55 of file 3DSCON.C.

char* _SetExternalParameters ( char *  Op,
HWND  hWnd,
long  ruler,
char *  name,
X__MEMORY_MANAGER lpEVI 
)

Definition at line 1026 of file FLARE.C.

References angle, CALL_FREE, CALL_MALLOC, DLG_FLARE, DlgProc(), double, FALSE, and type.


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