#include <math.h>
#include <stdlib.h>
#include <sys/types.h>
#include <stdio.h>
#include <ctype.h>
#include <GL/glut.h>
#include <plib/ssg.h>
#include <tgfclient.h>
#include <portability.h>
#include "grutil.h"
#include "grmultitexstate.h"
#include "grscene.h"
#include "grtexture.h"
Go to the source code of this file.
|
| int | grGetFilename (const char *filename, char *filepath, char *buf, const int BUFSIZE) |
| |
| bool | grLoadPngTexture (const char *fname, ssgTextureInfo *info) |
| |
| static grManagedState * | grGetState (char *img) |
| |
| void | grRemoveState (char *img) |
| |
| void | grShutdownState (void) |
| |
| static void | grSetupState (grManagedState *st, char *buf) |
| |
| ssgState * | grSsgLoadTexState (const char *img) |
| |
| ssgState * | grSsgEnvTexState (const char *img) |
| |
| ssgState * | grSsgLoadTexStateEx (const char *img, char *filepath, int wrap, int mipmap) |
| |
| void | grWriteTime (float *color, int font, int x, int y, tdble sec, int sgn) |
| |
| float | grGetHOT (float x, float y) |
| |
◆ stlist
◆ grGetFilename()
| int grGetFilename |
( |
const char * |
filename, |
|
|
char * |
filepath, |
|
|
char * |
buf, |
|
|
const int |
BUFSIZE |
|
) |
| |
◆ grGetHOT()
| float grGetHOT |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
◆ grGetState()
◆ grLoadPngTexture()
| bool grLoadPngTexture |
( |
const char * |
fname, |
|
|
ssgTextureInfo * |
info |
|
) |
| |
◆ grRemoveState()
| void grRemoveState |
( |
char * |
img | ) |
|
◆ grSetupState()
◆ grShutdownState()
| void grShutdownState |
( |
void |
| ) |
|
◆ grSsgEnvTexState()
| ssgState* grSsgEnvTexState |
( |
const char * |
img | ) |
|
◆ grSsgLoadTexState()
| ssgState* grSsgLoadTexState |
( |
const char * |
img | ) |
|
◆ grSsgLoadTexStateEx()
| ssgState* grSsgLoadTexStateEx |
( |
const char * |
img, |
|
|
char * |
filepath, |
|
|
int |
wrap, |
|
|
int |
mipmap |
|
) |
| |
◆ grWriteTime()
| void grWriteTime |
( |
float * |
color, |
|
|
int |
font, |
|
|
int |
x, |
|
|
int |
y, |
|
|
tdble |
sec, |
|
|
int |
sgn |
|
) |
| |
◆ grFilePath
◆ grGammaValue
◆ grMipMap
◆ grTexturePath
| char* grTexturePath = NULL |
◆ stateList