Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gfxlib_struct_server.cpp File Reference
#include "gfxlib_struct.h"
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

GFXBOOL GFXGetMaterial (const unsigned int number, GFXMaterial &material)
 Gets the statistics of the material stored in number. More...
 
void GFXSetMaterial (unsigned int &number, const GFXMaterial &material)
 Creates a new material given a material struct. Will search through already made materials for matching materials to minimize switching. More...
 
int GFXCreateList ()
 Creates a Display list. 0 is returned if no memory is avail for a display list. More...
 
GFXBOOL GFXEndList ()
 Ends the display list call. Returns false if unsuccessful. More...
 
void GFXDeleteList (int list)
 Removes a display list from application memory. More...
 

Function Documentation

int GFXCreateList ( )

Creates a Display list. 0 is returned if no memory is avail for a display list.

Definition at line 73 of file gfxlib_struct_server.cpp.

74 {
75  return 0;
76 }
void GFXDeleteList ( int  list)

Removes a display list from application memory.

Definition at line 83 of file gfxlib_struct_server.cpp.

83 {}
GFXBOOL GFXEndList ( )

Ends the display list call. Returns false if unsuccessful.

Definition at line 78 of file gfxlib_struct_server.cpp.

References GFXFALSE.

79 {
80  return GFXFALSE;
81 }
GFXBOOL GFXGetMaterial ( const unsigned int  number,
GFXMaterial material 
)

Gets the statistics of the material stored in number.

Definition at line 67 of file gfxlib_struct_server.cpp.

References GFXFALSE.

68 {
69  return GFXFALSE;
70 }
void GFXSetMaterial ( unsigned int number,
const GFXMaterial material 
)

Creates a new material given a material struct. Will search through already made materials for matching materials to minimize switching.

Definition at line 71 of file gfxlib_struct_server.cpp.

71 {}