tga_map.c File Reference

Go to the source code of this file.

Defines

#define UPSIDEDOWN   {l++; if(l == wi){l=0; pr -= wi*2; pg -= wi*2; pb -= wi*2; }}

Typedefs

typedef struct SCREENBUFFER fullscreenbuffer

Functions

BOOL WINAPI DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
BOOL _GetExternalImageSize (char *filename, long *x, long *y, unsigned char *source_buffer)
BOOL _GetExternalImage (char *filename, long x, long y, unsigned char *Red, unsigned char *Green, unsigned char *Blue, unsigned char *source_buffer)
BOOL _PutExternalImage (char *szOutFileName, long nx, long ny, long quality, fullscreenbuffer *image)


Define Documentation

#define UPSIDEDOWN   {l++; if(l == wi){l=0; pr -= wi*2; pg -= wi*2; pb -= wi*2; }}

Definition at line 79 of file tga_map.c.


Typedef Documentation

typedef struct SCREENBUFFER fullscreenbuffer


Function Documentation

BOOL WINAPI DllMain ( HANDLE  hDLL,
DWORD  dwReason,
LPVOID  lpReserved 
)

Definition at line 26 of file tga_map.c.

References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, hThisInstance, and TRUE.

BOOL _GetExternalImageSize ( char *  filename,
long *  x,
long *  y,
unsigned char *  source_buffer 
)

Definition at line 40 of file tga_map.c.

BOOL _GetExternalImage ( char *  filename,
long  x,
long  y,
unsigned char *  Red,
unsigned char *  Green,
unsigned char *  Blue,
unsigned char *  source_buffer 
)

Definition at line 48 of file tga_map.c.

BOOL _PutExternalImage ( char *  szOutFileName,
long  nx,
long  ny,
long  quality,
fullscreenbuffer image 
)

Definition at line 58 of file tga_map.c.

References FALSE.


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