REDRIVER2/src_rebuild/GAME/C/TEXTURE.H

56 lines
1.3 KiB
C++
Raw Normal View History

#ifndef TEXTURE_H
#define TEXTURE_H
extern char carTpages[4][8];
extern char* texturename_buffer;
extern char* palette_lump;
2020-04-10 01:29:12 +02:00
extern SXYPAIR tpagepos[20];
extern short texture_pages[128];
extern short texture_cluts[128][32];
2020-04-10 01:29:12 +02:00
extern int tpage_texamts[128];
extern RECT16 clutpos;
extern RECT16 fontclutpos;
2020-04-09 19:10:34 +02:00
extern unsigned char tpageloaded[128];
extern unsigned char tpageslots[19];
2020-04-10 01:29:12 +02:00
extern DVECTOR slot_clutpos[19];
extern DVECTOR slot_tpagepos[19];
extern RECT16 tpage;
extern short specialSlot;
2020-04-09 19:10:34 +02:00
extern int slotsused;
extern int NoTextureMemory;
2020-04-10 01:29:12 +02:00
extern char specTpages[4][12];
extern void IncrementClutNum(RECT16 *clut); // 0x00080DDC
extern void IncrementTPageNum(RECT16 *tpage); // 0x00080528
extern int LoadTPageAndCluts(RECT16 *tpage, RECT16 *cluts, int tpage2send, char *tpageaddress); // 0x00080E14
extern int Find_TexID(MODEL *model, int t_id); // 0x000805EC
extern TEXINF * GetTEXINFName(char *name, int *tpagenum, int *texturenum); // 0x00080F3C
extern TEXINF * GetTextureInfoName(char *name, TPAN *result); // 0x00080DA0
extern void update_slotinfo(int tpage, int slot, RECT16 *pos); // 0x00081038
extern void ProcessTextureInfo(char *lump_ptr); // 0x00081080
extern void LoadPermanentTPages(int *sector); // 0x00080688
extern void ReloadIcons(); // 0x00081118
extern void GetTextureDetails(char *name, TEXTURE_DETAILS *info); // 0x00080BB0
#endif