mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-05 20:41:06 +00:00
2f4725e0f2
git-svn-id: https://svn.eduke32.com/eduke32@301 1a8010ca-5511-0410-912e-c29ae57300e0
43 lines
948 B
C
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_
|