![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | lumpinfo_t |
| struct | qpic_t |
| struct | wadinfo_t |
Macros | |
| #define | CMP_LZSS 1 |
| #define | CMP_NONE 0 |
| #define | TYP_LABEL 1 |
| #define | TYP_LUMPY 64 |
| #define | TYP_MIPTEX 68 |
| #define | TYP_NONE 0 |
| #define | TYP_PALETTE 64 |
| #define | TYP_QPIC 66 |
| #define | TYP_QTEX 65 |
| #define | TYP_SOUND 67 |
Functions | |
| unsigned char * | W_ConvertWAD3TextureBGRA (struct sizebuf_s *sb) |
| unsigned char * | W_GetLumpName (const char *name, int64_t *returnfilesize) |
| unsigned char * | W_GetTextureBGRA (char *name) |
| void | W_LoadTextureWadFile (char *filename, int complain) |
| void | W_UnloadAll (void) |
| unsigned char * W_ConvertWAD3TextureBGRA | ( | struct sizebuf_s * | sb | ) |
| unsigned char * W_GetLumpName | ( | const char * | name, |
| int64_t * | returnfilesize ) |
Definition at line 114 of file wad.c.
References cls, Con_Print(), lumpinfo_t::filepos, FS_LoadFile(), wadinfo_t::infotableofs, LittleLong, Mem_Free, lumpinfo_t::name, name, NULL, wadinfo_t::numlumps, lumpinfo_t::size, W_CleanupName(), W_SwapLumps(), and wad.
Referenced by Image_GetStockPicSize(), and loadimagepixelsbgra().
| unsigned char * W_GetTextureBGRA | ( | char * | name | ) |
Definition at line 277 of file wad.c.
References cls, Con_Print(), data, sizebuf_t::data, FS_Read(), FS_Seek(), image_height, image_width, int(), Mem_Alloc, Mem_ExpandableArray_IndexRange(), Mem_ExpandableArray_NewArray(), Mem_ExpandableArray_RecordAtIndex(), Mem_Free, MSG_InitReadBuffer(), name, NULL, tempmempool, w, W_CleanupName(), W_ConvertWAD3TextureBGRA(), and wad.
Referenced by Mod_Q1BSP_LoadTextures().
Definition at line 165 of file wad.c.
References cls, CON_ERROR, Con_Print(), Con_Printf(), FS_Close(), FS_OpenVirtualFile(), FS_Read(), FS_Seek(), wadinfo_t::identification, wadinfo_t::infotableofs, LittleLong, Mem_Alloc, Mem_ExpandableArray_AllocRecord(), Mem_ExpandableArray_NewArray(), Mem_Free, NULL, wadinfo_t::numlumps, w, W_SwapLumps(), and wad.
Referenced by Mod_Q1BSP_ParseWadsFromEntityLump().
Definition at line 87 of file wad.c.
References FS_Close(), Mem_ExpandableArray_FreeArray(), Mem_ExpandableArray_IndexRange(), Mem_ExpandableArray_RecordAtIndex(), Mem_Free, NULL, w, and wad.
Referenced by FS_Rescan().