2006-08-29 02:02:28 +00:00
|
|
|
// blah
|
|
|
|
|
|
|
|
#ifndef _polymer_h_
|
2006-08-30 23:32:39 +00:00
|
|
|
# define _polymer_h_
|
2006-08-29 02:02:28 +00:00
|
|
|
|
2006-08-30 23:32:39 +00:00
|
|
|
# include "compat.h"
|
|
|
|
# include "build.h"
|
|
|
|
# include "glbuild.h"
|
|
|
|
# include "osd.h"
|
|
|
|
# include "polymost.h"
|
2006-08-29 02:02:28 +00:00
|
|
|
|
|
|
|
void polymer_glinit(void);
|
2006-08-30 23:32:39 +00:00
|
|
|
int polymer_init(void);
|
2006-08-29 02:02:28 +00:00
|
|
|
void polymer_drawrooms(long daposx, long daposy, long daposz, short daang, long dahoriz, short dacursectnum);
|
|
|
|
|
2006-08-30 23:32:39 +00:00
|
|
|
typedef struct s_prvertex {
|
|
|
|
double v[3];
|
|
|
|
short wallnum;
|
|
|
|
} _prvertex;
|
|
|
|
|
|
|
|
typedef struct s_prsector {
|
|
|
|
_prvertex* verts;
|
|
|
|
short wallcount;
|
|
|
|
char invalidate;
|
|
|
|
} _prsector;
|
|
|
|
|
|
|
|
extern _prsector* prsectors[MAXSECTORS];
|
|
|
|
|
|
|
|
// Polymer cvars
|
|
|
|
extern char pr_verbosity;
|
|
|
|
extern char pr_wireframe;
|
|
|
|
|
2006-08-29 02:02:28 +00:00
|
|
|
#endif // !_polymer_h_
|