Noble Ape
The Central Directories of the Noble Ape Simulation.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Macros | Functions
drives.c File Reference

Functions related to biological drives. More...

#include "entity.h"
#include "entity_internal.h"
Include dependency graph for drives.c:

Go to the source code of this file.

Data Structures

struct  drives_sociability_data

Macros

#define GENE_MATE_SEEK(gene)   GENE_VAL_REG(gene, 8, 9, 14, 2)

Functions

void drives_cycle (noble_simulation *local_sim, noble_being *local_being, void *data)
 Update biological drives.

Detailed Description

Functions related to biological drives.

Definition in file drives.c.


Macro Definition Documentation

#define GENE_MATE_SEEK (   gene)    GENE_VAL_REG(gene, 8, 9, 14, 2)

Mate seeking

Definition at line 45 of file drives.c.


Function Documentation

void drives_cycle ( noble_simulation local_sim,
noble_being local_being,
void *  data 
)

Update biological drives.

Parameters:
localPointer to the ape
beings_in_vicinityThe number of other apes within the vicinity
awakeWhether the ape is awake
simPointer to the simulation

Definition at line 287 of file drives.c.

Here is the call graph for this function:

Here is the caller graph for this function: