![]() |
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(), wadstate_t::gfx, wadstate_t::gfx_base, i, wadinfo_t::infotableofs, LittleLong, mwad_t::lumps, Mem_Free, lumpinfo_t::name, name, NULL, mwad_t::numlumps, wadinfo_t::numlumps, client_static_t::permanentmempool, 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(), wadstate_t::hlwads, i, image_height, image_width, int(), Mem_Alloc, Mem_ExpandableArray_IndexRange(), Mem_ExpandableArray_NewArray(), Mem_ExpandableArray_RecordAtIndex(), Mem_Free, memexpandablearray_t::mempool, MSG_InitReadBuffer(), name, NULL, client_static_t::permanentmempool, 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(), wadstate_t::hlwads, wadinfo_t::identification, wadinfo_t::infotableofs, LittleLong, Mem_Alloc, Mem_ExpandableArray_AllocRecord(), Mem_ExpandableArray_NewArray(), Mem_Free, memexpandablearray_t::mempool, NULL, wadinfo_t::numlumps, client_static_t::permanentmempool, w, W_SwapLumps(), and wad.
Referenced by Mod_Q1BSP_ParseWadsFromEntityLump().
Definition at line 87 of file wad.c.
References FS_Close(), wadstate_t::gfx_base, wadstate_t::hlwads, i, Mem_ExpandableArray_FreeArray(), Mem_ExpandableArray_IndexRange(), Mem_ExpandableArray_RecordAtIndex(), Mem_Free, NULL, w, and wad.
Referenced by FS_Rescan().