|
Niotso
git revision 558726a9f13d7c3423a683dd2f4323589b66c310
The New Implementation of The Sims Online
|
Go to the source code of this file.
Classes | |
| struct | instruction_t |
| struct | variable_t |
| struct | ByteReaderContext |
Macros | |
| #define | min(x, y) ((x) < (y) ? (x) : (y)) |
| #define | max(x, y) ((x) > (y) ? (x) : (y)) |
| #define | read_uint32(x) (unsigned)(((x)[0]<<(8*0)) | ((x)[1]<<(8*1)) | ((x)[2]<<(8*2)) | ((x)[3]<<(8*3))) |
| #define | read_uint16(x) (unsigned)(((x)[0]<<(8*0)) | ((x)[1]<<(8*1))) |
| #define | write_uint32(dest, src) |
| #define | write_uint16(dest, src) |
| #define | OPERAND_BYTES(x) (x) |
| #define | OPERAND(x, y) ((y)<<((x)*4+4)) |
| #define | UNIMPLEMENTED ((uint32_t)~0) |
| #define | InstructionCount 96 |
| #define | TSOVariableCount 82 |
| #define | TS1VariableCount 87 |
| #define | ConstantCount 72 |
Enumerations | |
| enum | { VERSION_TS1 = 1, VERSION_TSO } |
| enum | operand_t { o_byte = 1, o_dword, o_address, o_variable, o_jump } |
Functions | |
| char * | strdup (const char *__s) |
| static void | Shutdown () |
| static void | Shutdown_M (const char *Message,...) |
Variables | |
| static const uint8_t | HITHeader [] = {'H','I','T','!',0x01,0x00,0x00,0x00,0x08,0x00,0x00,0x00,'T','R','A','X'} |
| static const instruction_t | Instructions [] |
| static const variable_t | TSOVariables [] |
| static const variable_t | TS1Variables [] |
| static const variable_t | Constants [] |
| static const char | SHStringTable [] |
| static const uint8_t | SymbolTableHeader [] |
| #define ConstantCount 72 |
| #define InstructionCount 96 |
| #define max | ( | x, | |
| y | |||
| ) | ((x) > (y) ? (x) : (y)) |
| #define min | ( | x, | |
| y | |||
| ) | ((x) < (y) ? (x) : (y)) |
| #define OPERAND | ( | x, | |
| y | |||
| ) | ((y)<<((x)*4+4)) |
| #define OPERAND_BYTES | ( | x) | (x) |
| #define read_uint16 | ( | x) | (unsigned)(((x)[0]<<(8*0)) | ((x)[1]<<(8*1))) |
| #define read_uint32 | ( | x) | (unsigned)(((x)[0]<<(8*0)) | ((x)[1]<<(8*1)) | ((x)[2]<<(8*2)) | ((x)[3]<<(8*3))) |
| #define TS1VariableCount 87 |
| #define TSOVariableCount 82 |
| #define UNIMPLEMENTED ((uint32_t)~0) |
| #define write_uint16 | ( | dest, | |
| src | |||
| ) |
| #define write_uint32 | ( | dest, | |
| src | |||
| ) |
| enum operand_t |
|
static |
|
static |
| char* strdup | ( | const char * | __s) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.4