2020-03-27 21:47:29 +01:00
|
|
|
#ifndef TEXTURE_H
|
|
|
|
#define TEXTURE_H
|
|
|
|
|
2020-04-07 12:56:13 +02:00
|
|
|
extern char carTpages[4][8];
|
2020-04-05 15:53:08 +02:00
|
|
|
extern char* texturename_buffer;
|
2020-04-06 01:06:00 +02:00
|
|
|
extern char* palette_lump;
|
2020-04-07 12:56:13 +02:00
|
|
|
|
2020-04-10 01:29:12 +02:00
|
|
|
extern SXYPAIR tpagepos[20];
|
|
|
|
|
2020-04-09 17:36:53 +02:00
|
|
|
extern short texture_pages[128];
|
|
|
|
extern short texture_cluts[128][32];
|
2020-04-10 01:29:12 +02:00
|
|
|
extern int tpage_texamts[128];
|
2020-04-09 17:36:53 +02:00
|
|
|
|
2020-04-07 12:56:13 +02:00
|
|
|
extern RECT16 clutpos;
|
2020-04-06 01:06:00 +02:00
|
|
|
extern RECT16 fontclutpos;
|
2020-03-27 21:47:29 +01:00
|
|
|
|
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;
|
|
|
|
|
2020-04-11 23:02:26 +02:00
|
|
|
extern int NoTextureMemory;
|
|
|
|
|
2020-04-10 01:29:12 +02:00
|
|
|
extern char specTpages[4][12];
|
|
|
|
|
2020-04-06 01:06:00 +02:00
|
|
|
extern void IncrementClutNum(RECT16 *clut); // 0x00080DDC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-06 01:06:00 +02:00
|
|
|
extern void IncrementTPageNum(RECT16 *tpage); // 0x00080528
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-06 01:06:00 +02:00
|
|
|
extern int LoadTPageAndCluts(RECT16 *tpage, RECT16 *cluts, int tpage2send, char *tpageaddress); // 0x00080E14
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-06 01:06:00 +02:00
|
|
|
extern int Find_TexID(MODEL *model, int t_id); // 0x000805EC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-06 01:06:00 +02:00
|
|
|
extern TEXINF * GetTEXINFName(char *name, int *tpagenum, int *texturenum); // 0x00080F3C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-06 01:06:00 +02:00
|
|
|
extern TEXINF * GetTextureInfoName(char *name, TPAN *result); // 0x00080DA0
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-06 01:06:00 +02:00
|
|
|
extern void update_slotinfo(int tpage, int slot, RECT16 *pos); // 0x00081038
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void ProcessTextureInfo(char *lump_ptr); // 0x00081080
|
|
|
|
|
|
|
|
extern void LoadPermanentTPages(int *sector); // 0x00080688
|
|
|
|
|
|
|
|
extern void ReloadIcons(); // 0x00081118
|
|
|
|
|
2020-04-06 01:06:00 +02:00
|
|
|
extern void GetTextureDetails(char *name, TEXTURE_DETAILS *info); // 0x00080BB0
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|