mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 17:32:13 +00:00
d9867cfaaf
git-svn-id: https://svn.eduke32.com/eduke32@1105 1a8010ca-5511-0410-912e-c29ae57300e0
51 lines
1.2 KiB
C
51 lines
1.2 KiB
C
#ifndef _polymost_h_
|
|
# define _polymost_h_
|
|
|
|
# include "glbuild.h"
|
|
|
|
struct hicskybox_t {
|
|
int ignore;
|
|
char *face[6];
|
|
};
|
|
|
|
typedef struct hicreplc_t {
|
|
struct hicreplc_t *next;
|
|
char palnum, ignore, flags, filler;
|
|
char *filename;
|
|
float alphacut, xscale, yscale;
|
|
struct hicskybox_t *skybox;
|
|
} hicreplctyp;
|
|
|
|
typedef struct pthtyp_t
|
|
{
|
|
struct pthtyp_t *next;
|
|
unsigned int 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
|
|
|
|
char *palmap;int size;
|
|
} pthtyp;
|
|
|
|
pthtyp * gltexcache (int dapicnum, int dapalnum, int dameth);
|
|
|
|
extern palette_t hictinting[MAXPALOOKUPS];
|
|
extern float gtang;
|
|
extern int globalposx, globalposy, globalposz, globalhoriz;
|
|
extern short globalang, globalcursectnum;
|
|
extern int globalpal, cosglobalang, singlobalang;
|
|
extern int cosviewingrangeglobalang, sinviewingrangeglobalang;
|
|
extern float shadescale;
|
|
extern int globalnoeffect;
|
|
extern int drawingskybox;
|
|
|
|
#define HICEFFECTMASK (1|2|4|8)
|
|
|
|
#endif // !_polymost_h_
|