This commit is contained in:
parent
4b8f6991e9
commit
ffdd5e3d14
15 changed files with 406 additions and 80 deletions
|
@ -6,11 +6,31 @@
|
|||
#define __UTILS_HEADER__
|
||||
|
||||
#include "maths.h"
|
||||
//#include <gl\gl.h>
|
||||
//#include <gl\glu.h>
|
||||
//#include <gl\glut.h>
|
||||
//#include <gl\glaux.h> // Header File For The Glaux Library
|
||||
#include <gl\gl.h>
|
||||
#include <gl\glu.h>
|
||||
#include <gl\glut.h>
|
||||
#include <gl\glaux.h> // Header File For The Glaux Library
|
||||
|
||||
/**************************************************************************************/
|
||||
typedef signed char s8;
|
||||
typedef signed short s16;
|
||||
typedef signed long s32;
|
||||
//typedef long long s64;
|
||||
|
||||
typedef unsigned char u8;
|
||||
typedef unsigned short u16;
|
||||
typedef unsigned long u32;
|
||||
//typedef unsigned long long u64;
|
||||
|
||||
typedef s8 S8;
|
||||
typedef s16 S16;
|
||||
typedef s32 S32;
|
||||
//typedef s64 S64;
|
||||
|
||||
typedef u8 U8;
|
||||
typedef u16 U16;
|
||||
typedef u32 U32;
|
||||
//typedef u64 U64;
|
||||
|
||||
/**************************************************************************************/
|
||||
void DbgMsg(const char * pszFmt,...);
|
||||
|
@ -31,8 +51,10 @@ int PointToID(CPoint &Pnt,int Width);
|
|||
|
||||
|
||||
//void SaveTGA(char *Filename,int SX,int SY,int SW,int SH);
|
||||
void SaveTGA(char *Filename,int W,int H,char *Data);
|
||||
void BGR2RGB(int W,int H,char *Data);
|
||||
void SaveTGA(char *Filename,int W,int H,u8 *Data);
|
||||
void SaveBmp(char *Filename,int Width,int Height,RGBQUAD *Pal,u8 *Image);
|
||||
|
||||
void BGR2RGB(int W,int H,u8 *Data);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue