TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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 90 of file grtexture.h.

Constructor & Destructor Documentation

◆ grSGIHeader()

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

Definition at line 139 of file grtexture.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/graphic/ssggraph/grtexture.h
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/graphic/ssggraph/grtexture.cpp