|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| static void | race_add_corpse (shstr *race_name, archetype *at) |
| static void | race_add (shstr *race_name, object *ob) |
| static int | race_compare (const void *one, const void *two) |
| ob_race * | race_find (shstr *name) |
| ob_race * | race_get_random () |
| void | race_init () |
| void | race_dump () |
| void | race_free () |
Variables | |
| const char * | item_races [NROF_ITEM_RACES] |
| static ob_race * | races = NULL |
| static size_t | num_races = 0 |
Handles code related to races.
Definition in file race.c.
| static int race_compare | ( | const void * | one, |
| const void * | two | ||
| ) | [static] |
Comparison function for binary search in race_find().
| ob_race* race_get_random | ( | ) |
| void race_init | ( | ) |
| const char* item_races[NROF_ITEM_RACES] |
size_t num_races = 0 [static] |
1.7.4