torcs - 1.2.2

src/modules/graphic/ssggraph.sav/grloadac.cpp File Reference

#include <plib/ssg.h>
#include <zlib.h>
#include "grssgext.h"
#include "grvtxtable.h"
#include "grmultitexstate.h"
#include "grmain.h"

Include dependency graph for grloadac.cpp:

Include dependency graph

Compounds

struct  _ssgMaterial
struct  Tag

Defines

#define FGETS(buf, len, file)   gzgets(file, buf, len)
#define FGETC(file)   gzgetc(file)
#define FOPEN(path, mode)   gzopen(path, mode)
#define FCLOSE(fd)   gzclose(fd)
#define NOTEXTURE   "empty_texture_no_mapping"
#define MAX_MATERIALS   1000
#define PARSE_CONT   0
#define PARSE_POP   1
#define OBJ_WORLD   0
#define OBJ_POLY   1
#define OBJ_GROUP   2
#define OBJ_LIGHT   3
#define VTXARRAY_GUIONS

Functions

void myssgFlatten (ssgEntity *obj)
ssgEntity * grssgCarLoadAC3D (const char *fname, const ssgLoaderOptions *options, int index)
ssgEntity * grssgLoadAC3D (const char *fname, const ssgLoaderOptions *options)

Variables

int inGroup = 0
double shad_xmax
double shad_ymax
double shad_xmin
double shad_ymin
double carTrackRatioX = 0
double carTrackRatioY = 0

Define Documentation

#define FCLOSE fd   )     gzclose(fd)
 

#define FGETC file   )     gzgetc(file)
 

#define FGETS buf,
len,
file   )     gzgets(file, buf, len)
 

#define FOPEN path,
mode   )     gzopen(path, mode)
 

#define MAX_MATERIALS   1000
 

#define NOTEXTURE   "empty_texture_no_mapping"
 

#define OBJ_GROUP   2
 

#define OBJ_LIGHT   3
 

#define OBJ_POLY   1
 

#define OBJ_WORLD   0
 

#define PARSE_CONT   0
 

#define PARSE_POP   1
 

#define VTXARRAY_GUIONS
 


Function Documentation

ssgEntity* grssgCarLoadAC3D const char *  fname,
const ssgLoaderOptions *  options,
int  index
 

ssgEntity* grssgLoadAC3D const char *  fname,
const ssgLoaderOptions *  options
 

void myssgFlatten ssgEntity *  obj  ) 
 


Variable Documentation

double carTrackRatioX = 0
 

double carTrackRatioY = 0
 

int inGroup = 0
 

double shad_xmax
 

double shad_xmin
 

double shad_ymax
 

double shad_ymin
 


Generated at Thu Feb 26 21:53:16 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.