|
Noble Ape
The Central Directories of the Noble Ape Simulation.
|
#include "noble.h"Go to the source code of this file.
Macros | |
| #define | BITS 16 |
| #define | HASHING_SHIFT (BITS-8) |
| #define | MAX_VALUE ((1<<BITS)-1) |
| #define | MAX_CODE (MAX_VALUE-1) |
| #define | TABLE_SIZE 99991 |
Functions | |
| unsigned int | input_code (n_file *input) |
| void | output_code (n_file *output, n_byte4 code) |
| void | compress_compress (n_file *input, n_file *output) |
| void | compress_expand (n_file *input, n_file *output) |
Variables | |
| n_c_int | code_value [TABLE_SIZE] |
| n_byte4 | prefix_code [TABLE_SIZE] |
| n_byte | append_character [TABLE_SIZE] |
| #define BITS 16 |
Definition at line 54 of file compress.c.
| #define HASHING_SHIFT (BITS-8) |
Definition at line 55 of file compress.c.
| #define MAX_CODE (MAX_VALUE-1) |
Definition at line 57 of file compress.c.
| #define MAX_VALUE ((1<<BITS)-1) |
Definition at line 56 of file compress.c.
| #define TABLE_SIZE 99991 |
Definition at line 60 of file compress.c.
| unsigned int input_code | ( | n_file * | input | ) |
Definition at line 136 of file compress.c.
Definition at line 155 of file compress.c.
| n_byte append_character[TABLE_SIZE] |
Definition at line 74 of file compress.c.
| n_c_int code_value[TABLE_SIZE] |
Definition at line 72 of file compress.c.
| n_byte4 prefix_code[TABLE_SIZE] |
Definition at line 73 of file compress.c.
1.8.1.1