raze-gles/polymer/build/include/polymer.h
Plagman 2f4725e0f2 Blood and sand.
git-svn-id: https://svn.eduke32.com/eduke32@301 1a8010ca-5511-0410-912e-c29ae57300e0
2006-09-27 17:55:49 +00:00

43 lines
948 B
C

// blah
#ifndef _polymer_h_
# define _polymer_h_
# ifdef _WIN32
# define PR_CALLBACK __stdcall
# else
# define PR_CALLBACK
# endif
# include "compat.h"
# include "build.h"
# include "glbuild.h"
# include "osd.h"
# include "polymost.h"
# include "pragmas.h"
void polymer_glinit(void);
int polymer_init(void);
void polymer_drawrooms(long daposx, long daposy, long daposz, short daang, long dahoriz, short dacursectnum);
typedef struct s_prsector {
// geometry
GLdouble* verts;
GLfloat* floorbuffer;
GLfloat* ceilbuffer;
// elements
GLushort* indices;
short curindice;
int indicescount;
short wallcount;
char invalidate;
} _prsector;
extern _prsector* prsectors[MAXSECTORS];
// Polymer cvars
extern char pr_verbosity;
extern char pr_wireframe;
#endif // !_polymer_h_