2007-01-29 01:18:16 +00:00
|
|
|
#ifndef _polymost_h_
|
|
|
|
# define _polymost_h_
|
2006-08-30 23:32:39 +00:00
|
|
|
|
|
|
|
# include "glbuild.h"
|
|
|
|
|
|
|
|
struct hicskybox_t {
|
2007-12-12 17:42:14 +00:00
|
|
|
int ignore;
|
2006-08-30 23:32:39 +00:00
|
|
|
char *face[6];
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct hicreplc_t {
|
|
|
|
struct hicreplc_t *next;
|
|
|
|
char palnum, ignore, flags, filler;
|
|
|
|
char *filename;
|
2007-02-17 02:23:50 +00:00
|
|
|
float alphacut, xscale, yscale;
|
2006-08-30 23:32:39 +00:00
|
|
|
struct hicskybox_t *skybox;
|
|
|
|
} hicreplctyp;
|
|
|
|
|
|
|
|
typedef struct pthtyp_t
|
|
|
|
{
|
|
|
|
struct pthtyp_t *next;
|
|
|
|
GLuint glpic;
|
|
|
|
short picnum;
|
|
|
|
char palnum;
|
|
|
|
char effects;
|
|
|
|
char flags; // 1 = clamped (dameth&4), 2 = hightile, 4 = skybox face, 8 = hasalpha, 16 = hasfullbright, 128 = invalidated
|
|
|
|
char skyface;
|
|
|
|
hicreplctyp *hicr;
|
|
|
|
|
|
|
|
unsigned short sizx, sizy;
|
|
|
|
float scalex, scaley;
|
|
|
|
struct pthtyp_t *ofb; // only fullbright
|
2007-12-20 19:14:38 +00:00
|
|
|
|
|
|
|
char *palmap;int size;
|
2007-01-29 01:18:16 +00:00
|
|
|
} pthtyp;
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
pthtyp * gltexcache (int dapicnum, int dapalnum, int dameth);
|
2007-01-29 01:18:16 +00:00
|
|
|
|
2006-09-29 21:36:12 +00:00
|
|
|
extern palette_t hictinting[MAXPALOOKUPS];
|
2006-10-04 09:54:25 +00:00
|
|
|
extern float gtang;
|
2007-01-29 01:18:16 +00:00
|
|
|
|
|
|
|
#endif // !_polymost_h_
|