00001 // Filename:- tags.h 00002 00003 // do NOT include-protect this file, or add any fields or labels, because it's included within enums and tables 00004 // 00005 // these macro args get "TAG_" prepended on them for enum purposes, and appear as literal strings for "meminfo" command 00006 00007 TAGDEF(ALL), 00008 TAGDEF(BOTLIB), 00009 TAGDEF(CLIENTS), // Memory used for client info 00010 #ifndef _XBOX 00011 TAGDEF(BOTGAME), 00012 TAGDEF(DOWNLOAD), // used by the downloading system 00013 TAGDEF(GENERAL), 00014 TAGDEF(CLIPBOARD), 00015 TAGDEF(SND_MP3STREAMHDR), // specific MP3 struct for decoding (about 18..22K each?), not the actual MP3 binary 00016 TAGDEF(SND_DYNAMICMUSIC), // in-mem MP3 files 00017 TAGDEF(BSP_DISKIMAGE), // temp during loading, to save both server and renderer fread()ing the same file. Only used if not low physical memory (currently 96MB) 00018 TAGDEF(VM), // stuff for VM, may be zapped later? 00019 TAGDEF(SPECIAL_MEM_TEST), // special usage for testing z_malloc recover only 00020 #endif 00021 TAGDEF(HUNK_MARK1), //hunk allocations before the mark is set 00022 TAGDEF(HUNK_MARK2), //hunk allocations after the mark is set 00023 TAGDEF(EVENT), 00024 TAGDEF(FILESYS), // general filesystem usage 00025 TAGDEF(GHOUL2), // Ghoul2 stuff 00026 TAGDEF(GHOUL2_GORE), // Ghoul2 gore stuff 00027 TAGDEF(LISTFILES), // for "*.blah" lists 00028 TAGDEF(AMBIENTSET), 00029 TAGDEF(STATIC), // special usage for 1-byte allocations from 0..9 to avoid CopyString() slowdowns during cvar value copies 00030 TAGDEF(SMALL), // used by S_Malloc, but probably more of a hint now. Will be dumped later 00031 TAGDEF(MODEL_MD3), // specific model types' disk images 00032 TAGDEF(MODEL_GLM), // " 00033 TAGDEF(MODEL_GLA), // " 00034 TAGDEF(ICARUS), // Memory used internally by the Icarus scripting system 00035 //sorry, I don't want to have to keep adding these and recompiling, so there may be more than I need 00036 TAGDEF(ICARUS2), //for debugging mem leaks in icarus -rww 00037 TAGDEF(ICARUS3), //for debugging mem leaks in icarus -rww 00038 TAGDEF(ICARUS4), //for debugging mem leaks in icarus -rww 00039 TAGDEF(ICARUS5), //for debugging mem leaks in icarus -rww 00040 TAGDEF(SHADERTEXT), 00041 TAGDEF(SND_RAWDATA), // raw sound data, either MP3 or WAV 00042 TAGDEF(TEMP_WORKSPACE), // anything like file loading or image workspace that's only temporary 00043 TAGDEF(TEMP_PNG), // image workspace that's only temporary 00044 TAGDEF(TEXTPOOL), // for some special text-pool class thingy 00045 TAGDEF(IMAGE_T), // an image_t struct (no longer on the hunk because of cached texture stuff) 00046 TAGDEF(INFLATE), // Temp memory used by zlib32 00047 TAGDEF(DEFLATE), // Temp memory used by zlib32// TAGDEF(SOUNDPOOL), // pool of mem for the sound system 00048 TAGDEF(BSP), // guess. 00049 TAGDEF(GRIDMESH), // some specific temp workspace that only seems to be in the MP codebase 00050 00051 //rwwRMG - following: 00052 TAGDEF(POINTCACHE), // weather system 00053 TAGDEF(TERRAIN), // RMG terrain management 00054 TAGDEF(R_TERRAIN), // terrain renderer 00055 TAGDEF(RESAMPLE), // terrain heightmap resampling (I think) 00056 TAGDEF(CM_TERRAIN), // common terrain data management 00057 TAGDEF(CM_TERRAIN_TEMP), // temporary terrain allocations 00058 TAGDEF(TEMP_IMAGE), // temporary allocations for image manipulation 00059 00060 TAGDEF(VM_ALLOCATED), // allocated by game or cgame via memory shifting 00061 00062 TAGDEF(TEMP_HUNKALLOC), 00063 #ifdef _XBOX 00064 TAGDEF(NEWDEL), // new / delete -> Z_Malloc on Xbox 00065 TAGDEF(UI_ALLOC), // UI DLL calls to UI_Alloc 00066 TAGDEF(CG_UI_ALLOC), // Cgame DLL calls to UI_Alloc 00067 TAGDEF(BG_ALLOC), 00068 TAGDEF(BINK), 00069 TAGDEF(XBL_FRIENDS), // friends list 00070 #endif 00071 TAGDEF(COUNT) 00072 00073 00074 00075