Noble Ape
The Central Directories of the Noble Ape Simulation.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
shared.c File Reference
#include <stdio.h>
#include "gui.h"
#include "shared.h"
Include dependency graph for shared.c:

Go to the source code of this file.

Macros

#define Y_DELTA   36
#define X_DELTA   20

Functions

void shared_script_debug_handle (n_string cStringFileName)
shared_cycle_state shared_cycle (n_uint ticks, n_byte fIdentification, n_int dim_x, n_int dim_y)
n_int shared_init (n_byte view, n_uint random)
void shared_close (void)
void shared_keyReceived (n_byte2 value, n_byte fIdentification)
void shared_keyUp (void)
void shared_mouseOption (n_byte option)
void shared_mouseReceived (n_int valX, n_int valY, n_byte fIdentification)
void shared_mouseUp (void)
void shared_about (n_constant_string value)
void shared_clearErrors (void)
n_int shared_new (n_uint seed)
n_byte shared_openFileName (n_string cStringFileName, n_byte isScript)
void shared_saveFileName (n_string cStringFileName)
void shared_rotate (n_double num, n_byte wwind)
n_uint shared_max_fps (void)
n_int shared_menu (n_int menuVal)
void shared_saved_string (shared_saved_string_type ssst, n_string value)
void shared_draw (n_byte *outputBuffer, n_byte fIdentification, n_int dim_x, n_int dim_y)

Variables

n_byte check_about
n_uint tilt_z
n_byte terrain_turn

Macro Definition Documentation

#define X_DELTA   20

Definition at line 56 of file shared.c.

#define Y_DELTA   36

Definition at line 55 of file shared.c.


Function Documentation

void shared_about ( n_constant_string  value)

Definition at line 456 of file shared.c.

Here is the call graph for this function:

void shared_clearErrors ( void  )

Definition at line 472 of file shared.c.

Here is the call graph for this function:

void shared_close ( void  )

Definition at line 420 of file shared.c.

Here is the call graph for this function:

shared_cycle_state shared_cycle ( n_uint  ticks,
n_byte  fIdentification,
n_int  dim_x,
n_int  dim_y 
)

Definition at line 325 of file shared.c.

Here is the call graph for this function:

void shared_draw ( n_byte outputBuffer,
n_byte  fIdentification,
n_int  dim_x,
n_int  dim_y 
)

Definition at line 560 of file shared.c.

Here is the call graph for this function:

n_int shared_init ( n_byte  view,
n_uint  random 
)

Definition at line 403 of file shared.c.

Here is the call graph for this function:

void shared_keyReceived ( n_byte2  value,
n_byte  fIdentification 
)

Definition at line 425 of file shared.c.

void shared_keyUp ( void  )

Definition at line 432 of file shared.c.

n_uint shared_max_fps ( void  )

Definition at line 516 of file shared.c.

n_int shared_menu ( n_int  menuVal)

Definition at line 521 of file shared.c.

Here is the call graph for this function:

void shared_mouseOption ( n_byte  option)

Definition at line 437 of file shared.c.

void shared_mouseReceived ( n_int  valX,
n_int  valY,
n_byte  fIdentification 
)

Definition at line 442 of file shared.c.

void shared_mouseUp ( void  )

Definition at line 450 of file shared.c.

n_int shared_new ( n_uint  seed)

Definition at line 477 of file shared.c.

n_byte shared_openFileName ( n_string  cStringFileName,
n_byte  isScript 
)

Definition at line 490 of file shared.c.

Here is the call graph for this function:

void shared_rotate ( n_double  num,
n_byte  wwind 
)

Definition at line 507 of file shared.c.

void shared_saved_string ( shared_saved_string_type  ssst,
n_string  value 
)

Definition at line 555 of file shared.c.

void shared_saveFileName ( n_string  cStringFileName)

Definition at line 501 of file shared.c.

Here is the call graph for this function:

void shared_script_debug_handle ( n_string  cStringFileName)

Definition at line 289 of file shared.c.

Here is the call graph for this function:


Variable Documentation

n_byte check_about

Definition at line 149 of file draw.c.

n_byte terrain_turn

Definition at line 151 of file draw.c.

n_uint tilt_z

Definition at line 150 of file draw.c.