 |
torcs - 1.2.2 |
 |
src/modules/graphic/ssggraph.sav/grutil.cpp File Reference
#include <math.h>
#include <stdlib.h>
#include <sys/types.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <GL/glut.h>
#include <plib/ssg.h>
#include <tgfclient.h>
#include "grutil.h"
#include "grmultitexstate.h"
#include "grscene.h"
Include dependency graph for grutil.cpp:
|
Compounds |
struct | stlist |
Typedefs |
typedef stlist | stlist |
Functions |
int | grGetFilename (char *filename, char *filepath, char *buf) |
GLuint | grLoadTexture (char *filename, char *filepath, float screen_gamma, int mipmap) |
bool | grLoadPngTexture (const char *fname, ssgTextureInfo *info) |
void | grShutdownState (void) |
ssgState * | grSsgLoadTexState (char *img) |
ssgState * | grSsgEnvTexState (char *img) |
ssgState * | grSsgLoadTexStateEx (char *img, char *filepath, int wrap, int mipmap) |
int | grPruneTree (ssgEntity *start, bool init) |
void | grForceState (ssgEntity *start, ssgState *state) |
void | grWriteTime (float *color, int font, int x, int y, tdble sec, int sgn) |
float | grGetHOT (float x, float y) |
Variables |
float | grGammaValue = 1.8 |
int | grMipMap = 0 |
char * | grFilePath |
char * | grTexturePath = NULL |
Typedef Documentation
Function Documentation
void grForceState |
( |
ssgEntity * |
start, |
|
|
ssgState * |
state |
|
) |
|
|
Here is the call graph for this function:
int grGetFilename |
( |
char * |
filename, |
|
|
char * |
filepath, |
|
|
char * |
buf |
|
) |
|
|
float grGetHOT |
( |
float |
x, |
|
|
float |
y |
|
) |
|
|
bool grLoadPngTexture |
( |
const char * |
fname, |
|
|
ssgTextureInfo * |
info |
|
) |
|
|
Here is the call graph for this function:
GLuint grLoadTexture |
( |
char * |
filename, |
|
|
char * |
filepath, |
|
|
float |
screen_gamma, |
|
|
int |
mipmap |
|
) |
|
|
Here is the call graph for this function:
int grPruneTree |
( |
ssgEntity * |
start, |
|
|
bool |
init |
|
) |
|
|
Here is the call graph for this function:
void grShutdownState |
( |
void |
|
) |
|
|
ssgState* grSsgEnvTexState |
( |
char * |
img |
) |
|
|
Here is the call graph for this function:
ssgState* grSsgLoadTexState |
( |
char * |
img |
) |
|
|
Here is the call graph for this function:
ssgState* grSsgLoadTexStateEx |
( |
char * |
img, |
|
|
char * |
filepath, |
|
|
int |
wrap, |
|
|
int |
mipmap |
|
) |
|
|
Here is the call graph for this function:
void grWriteTime |
( |
float * |
color, |
|
|
int |
font, |
|
|
int |
x, |
|
|
int |
y, |
|
|
tdble |
sec, |
|
|
int |
sgn |
|
) |
|
|
Here is the call graph for this function:
Variable Documentation
Generated at Thu Feb 26 21:53:22 2004 for torcs by
1.3.3 written by Dimitri van Heesch,
© 1997-1999
TORCS © Eric Espié 1999, 2002.