mirror of
https://github.com/BOINC/boinc.git
synced 2025-02-26 20:45:07 +00:00
now using jpeglib source, not library
svn path=/trunk/boinc/; revision=2391
This commit is contained in:
parent
70b839eace
commit
be95b0e165
20
api/gutil.h
20
api/gutil.h
@ -120,15 +120,29 @@ extern void build_stars(int,float);
|
||||
extern void update_stars(int,float);
|
||||
extern void replaceStar(Star* tmpStar);
|
||||
|
||||
#include "image_config.h"
|
||||
struct tImageJPG
|
||||
{
|
||||
int rowSpan;
|
||||
int sizeX;
|
||||
int sizeY;
|
||||
unsigned char *data;
|
||||
};
|
||||
|
||||
//using indepenent jpeg group library - jpeglib.lib
|
||||
#ifdef _WIN32
|
||||
#include "jpeglib.h"
|
||||
#include "bmplib.h"
|
||||
#include "tgalib.h"
|
||||
#else
|
||||
#include <jpeglib.h>
|
||||
#endif
|
||||
|
||||
|
||||
#define MAX_TEXTURES 16
|
||||
#define MAX_FONTS 16
|
||||
extern UINT g_Texture[MAX_TEXTURES];
|
||||
extern UINT listBase[MAX_FONTS];
|
||||
//using indepenent jpeg group library - jpeglib.lib
|
||||
extern bool CreateTextureJPG(UINT textureArray[], LPSTR strFileName, int textureID);
|
||||
//
|
||||
extern bool CreateTextureBMP(UINT textureArray[], LPSTR strFileName, int textureID);
|
||||
extern bool CreateTexturePPM(UINT textureArray[], LPSTR strFileName, int textureID);
|
||||
extern bool CreateTextureTGA(UINT textureArray[], LPSTR strFileName, int textureID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user