|
Noble Ape
The Central Directories of the Noble Ape Simulation.
|
#include <stdio.h>#include "../entity/entity.h"#include "universe_internal.h"#include <pthread.h>Go to the source code of this file.
Macros | |
| #define | CONSOLE_REQUIRED |
| #define | CONSOLE_ONLY |
| #define | MIN_BEINGS 4 |
| #define | MINIMAL_ALLOCATION (sizeof(n_land)+(MAP_AREA)+(2*HI_RES_MAP_AREA)+(HI_RES_MAP_AREA/8)+(512*512)+(TERRAIN_WINDOW_AREA)+(sizeof(noble_being) * MIN_BEINGS)+1+(sizeof(noble_simulation))) |
| #define | MAXIMUM_ALLOCATION (MINIMAL_ALLOCATION + (sizeof(noble_being) * 200)) |
Functions | |
| n_int | sim_new (void) |
| n_int | sim_thread_console_quit (void) |
| void | sim_thread_console (void) |
| noble_simulation * | sim_sim (void) |
| void | sim_realtime (n_uint time) |
| n_int | file_interpret (n_file *input_file) |
| void | sim_cycle (void) |
| void * | sim_init (KIND_OF_USE kind, n_uint randomise, n_uint offscreen_size, n_uint landbuffer_size) |
| void | sim_close (void) |
| void | sim_set_select (noble_being *select) |
| void | sim_flood (void) |
| void | sim_healthy_carrier (void) |
Variables | |
| n_byte * | offbuffer = 0L |
| #define MAXIMUM_ALLOCATION (MINIMAL_ALLOCATION + (sizeof(noble_being) * 200)) |
| #define MINIMAL_ALLOCATION (sizeof(n_land)+(MAP_AREA)+(2*HI_RES_MAP_AREA)+(HI_RES_MAP_AREA/8)+(512*512)+(TERRAIN_WINDOW_AREA)+(sizeof(noble_being) * MIN_BEINGS)+1+(sizeof(noble_simulation))) |
| void sim_close | ( | void | ) |
| void sim_cycle | ( | void | ) |
| void sim_flood | ( | void | ) |
| void sim_healthy_carrier | ( | void | ) |
| void* sim_init | ( | KIND_OF_USE | kind, |
| n_uint | randomise, | ||
| n_uint | offscreen_size, | ||
| n_uint | landbuffer_size | ||
| ) |
| n_int sim_new | ( | void | ) |
| void sim_realtime | ( | n_uint | time | ) |
| void sim_set_select | ( | noble_being * | select | ) |
| noble_simulation* sim_sim | ( | void | ) |
| void sim_thread_console | ( | void | ) |
| n_int sim_thread_console_quit | ( | void | ) |
1.8.1.1