mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
41 lines
919 B
C
41 lines
919 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;
|
||
|
struct hicskybox_t *skybox;
|
||
|
} hicreplctyp;
|
||
|
|
||
|
extern palette_t hictinting[MAXPALOOKUPS];
|
||
|
extern hicreplctyp *hicreplc[MAXTILES];
|
||
|
extern char hicfirstinit;
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
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
|
||
|
{
|
||
|
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
|