doom3-gpl
Doom 3 GPL source release
|
#include "../idlib/precompiled.h"
Go to the source code of this file.
Classes | |
class | idDeclType |
class | idDeclFolder |
class | idDeclLocal |
class | idDeclFile |
class | idDeclManagerLocal |
struct | huffmanNode_s |
struct | huffmanCode_s |
Macros | |
#define | USE_COMPRESSED_DECLS |
Typedefs | |
typedef struct huffmanNode_s | huffmanNode_t |
typedef struct huffmanCode_s | huffmanCode_t |
Functions | |
void | ClearHuffmanFrequencies (void) |
huffmanNode_t * | InsertHuffmanNode (huffmanNode_t *firstNode, huffmanNode_t *node) |
void | BuildHuffmanCode_r (huffmanNode_t *node, huffmanCode_t code, huffmanCode_t codes[MAX_HUFFMAN_SYMBOLS]) |
void | FreeHuffmanTree_r (huffmanNode_t *node) |
int | HuffmanHeight_r (huffmanNode_t *node) |
void | SetupHuffman (void) |
void | ShutdownHuffman (void) |
int | HuffmanCompressText (const char *text, int textLength, byte *compressed, int maxCompressedSize) |
int | HuffmanDecompressText (char *text, int textLength, const byte *compressed, int compressedSize) |
void | ListHuffmanFrequencies_f (const idCmdArgs &args) |
Variables | |
idDeclManagerLocal | declManagerLocal |
idDeclManager * | declManager = &declManagerLocal |
const int | MAX_HUFFMAN_SYMBOLS = 256 |
int | c_savedMemory = 0 |
const char * | listDeclStrings [] = { "current", "all", "ever", NULL } |
#define USE_COMPRESSED_DECLS |
Definition at line 64 of file DeclManager.cpp.
typedef struct huffmanCode_s huffmanCode_t |
typedef struct huffmanNode_s huffmanNode_t |
void BuildHuffmanCode_r | ( | huffmanNode_t * | node, |
huffmanCode_t | code, | ||
huffmanCode_t | codes[MAX_HUFFMAN_SYMBOLS] | ||
) |
Definition at line 360 of file DeclManager.cpp.
Definition at line 322 of file DeclManager.cpp.
void FreeHuffmanTree_r | ( | huffmanNode_t * | node | ) |
Definition at line 382 of file DeclManager.cpp.
int HuffmanCompressText | ( | const char * | text, |
int | textLength, | ||
byte * | compressed, | ||
int | maxCompressedSize | ||
) |
Definition at line 464 of file DeclManager.cpp.
int HuffmanDecompressText | ( | char * | text, |
int | textLength, | ||
const byte * | compressed, | ||
int | compressedSize | ||
) |
Definition at line 492 of file DeclManager.cpp.
int HuffmanHeight_r | ( | huffmanNode_t * | node | ) |
Definition at line 395 of file DeclManager.cpp.
huffmanNode_t* InsertHuffmanNode | ( | huffmanNode_t * | firstNode, |
huffmanNode_t * | node | ||
) |
Definition at line 335 of file DeclManager.cpp.
Definition at line 517 of file DeclManager.cpp.
Definition at line 412 of file DeclManager.cpp.
Definition at line 453 of file DeclManager.cpp.
int c_savedMemory = 0 |
Definition at line 600 of file DeclManager.cpp.
idDeclManager* declManager = &declManagerLocal |
Definition at line 249 of file DeclManager.cpp.
idDeclManagerLocal declManagerLocal |
Definition at line 248 of file DeclManager.cpp.
const char* listDeclStrings[] = { "current", "all", "ever", NULL } |
Definition at line 784 of file DeclManager.cpp.
Definition at line 259 of file DeclManager.cpp.