Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "vsfilesystem.h"
Go to the source code of this file.
Classes | |
struct | BITMAPINFOHEADER |
struct | BITMAPFILEHEADER |
struct | RGBQUAD |
struct | pxlformat |
struct | ddsHeader |
struct | TPngFileBuffer |
class | VSImage |
Macros | |
#define | GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 |
#define | GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 |
#define | GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 |
#define | GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 |
#define | GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF |
Typedefs | |
typedef unsigned int | DWORD |
typedef int | LONG |
typedef unsigned short | WORD |
typedef unsigned char | BYTE |
typedef unsigned char *( | textureTransform )(int &bpp, int &color_type, unsigned long &width, unsigned long &height, unsigned char **row_pointers) |
Enumerations | |
enum | VSImageType { PngImage, BmpImage, JpegImage, DdsImage, Unrecognized } |
Functions | |
void | png_write (const char *myfile, unsigned char *data, unsigned int width, unsigned int height, bool alpha, char bpp) |
Variables | |
int | PNG_HAS_PALETTE |
int | PNG_HAS_COLOR |
int | PNG_HAS_ALPHA |
textureTransform | heightmapTransform |
textureTransform | terrainTransform |
textureTransform | texTransform |
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 |
Definition at line 71 of file vsimage.h.
Referenced by GetTextureFormat(), and RGBCompressed().
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 |
Definition at line 74 of file vsimage.h.
Referenced by GetTextureFormat(), and RGBACompressed().
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 |
Definition at line 77 of file vsimage.h.
Referenced by GetTextureFormat(), and RGBACompressed().
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 |
Definition at line 80 of file vsimage.h.
Referenced by GetTextureFormat(), and RGBACompressed().
enum VSImageType |
void png_write | ( | const char * | myfile, |
unsigned char * | data, | ||
unsigned int | width, | ||
unsigned int | height, | ||
bool | alpha, | ||
char | bpp | ||
) |
Definition at line 128 of file bmp_to_png.cpp.
References height, i, VSFileSystem::vs_close(), VSFileSystem::vs_open(), and width.
Referenced by main().
textureTransform heightmapTransform |
int PNG_HAS_ALPHA |
Definition at line 58 of file vsimage.cpp.
Referenced by LoadTex(), and texTransform().
int PNG_HAS_COLOR |
Definition at line 57 of file vsimage.cpp.
Referenced by LoadTex(), and texTransform().
int PNG_HAS_PALETTE |
Definition at line 56 of file vsimage.cpp.
Referenced by texTransform().
textureTransform terrainTransform |
textureTransform texTransform |