mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 08:30:58 +00:00
50af4984ad
git-svn-id: https://svn.eduke32.com/eduke32@1278 1a8010ca-5511-0410-912e-c29ae57300e0
40 lines
971 B
C
40 lines
971 B
C
#ifndef HIGHTILE_PRIV_H
|
|
#define HIGHTILE_PRIV_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, specpower, specfactor;
|
|
struct hicskybox_t *skybox;
|
|
} hicreplctyp;
|
|
|
|
extern palette_t hictinting[MAXPALOOKUPS];
|
|
extern hicreplctyp *hicreplc[MAXTILES];
|
|
extern char hicfirstinit;
|
|
|
|
typedef struct texcachehead_t
|
|
{
|
|
char magic[4]; // 'PMST', was 'Polymost'
|
|
int xdim, ydim; // of image, unpadded
|
|
int flags; // 1 = !2^x, 2 = has alpha, 4 = lzw compressed
|
|
int quality; // r_downsize at the time the cache was written
|
|
} texcacheheader;
|
|
|
|
typedef struct texcachepic_t
|
|
{
|
|
int size;
|
|
int format;
|
|
int xdim, ydim; // of mipmap (possibly padded)
|
|
int border, depth;
|
|
} texcachepicture;
|
|
|
|
hicreplctyp * hicfindsubst(int picnum, int palnum, int skybox);
|
|
#define HICEFFECTMASK (1|2|4|8)
|
|
|
|
#endif
|