TORCS  1.3.9
The Open Racing Car Simulator
grSGIHeader Class Reference

#include <grtexture.h>

Inheritance diagram for grSGIHeader:
Collaboration diagram for grSGIHeader:

Public Member Functions

 grSGIHeader (const char *fname, ssgTextureInfo *info)
 
- Public Member Functions inherited from ssgSGIHeader
 ssgSGIHeader ()
 
 ssgSGIHeader (const char *fname, ssgTextureInfo *info)
 
 ~ssgSGIHeader ()
 
bool openFile (const char *fname)
 
void makeConsistant ()
 
void getRow (unsigned char *buf, int y, int z)
 
void getPlane (unsigned char *buf, int z)
 
void getImage (unsigned char *buf)
 
void readHeader ()
 

Additional Inherited Members

- Public Attributes inherited from ssgSGIHeader
unsigned short magic
 
int max
 
int min
 
int colormap
 
char type
 
char bpp
 
unsigned int * start
 
int * leng
 
unsigned short dim
 
unsigned short xsize
 
unsigned short ysize
 
unsigned short zsize
 
int tablen
 
FILE * image_fd
 
char image_fname [512]
 
int isSwapped
 
unsigned char * rle_temp
 
bool loadSGI_bool
 
- Protected Member Functions inherited from ssgSGIHeader
void swab_short (unsigned short *x)
 
void swab_int (unsigned int *x)
 
void swab_int_array (int *x, int leng)
 
unsigned char readByte ()
 
unsigned short readShort ()
 
unsigned int readInt ()
 

Detailed Description

Definition at line 87 of file grtexture.h.

Constructor & Destructor Documentation

◆ grSGIHeader()

grSGIHeader::grSGIHeader ( const char *  fname,
ssgTextureInfo *  info 
)

Definition at line 118 of file grtexture.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: