File: race.h

package info (click to toggle)
crossfire 1.75.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,168 kB
  • sloc: ansic: 83,169; sh: 4,659; perl: 1,736; lex: 1,443; makefile: 1,199; python: 43
file content (19 lines) | stat: -rw-r--r-- 512 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef RACE_H
#define RACE_H

/**
 * @file
 * Race-related structure.
 */

/**
 * Contains information about a race.
 * Used to link the race lists together, first item is ::first_race. */
typedef struct ralnk {
    const char *name;     /**< Name of this race entry. */
    int nrof;             /**< Number of things belonging to this race. */
    struct oblnk *member; /**< Linked object list of things belonging to this race. */
    struct ralnk *next;   /**< Next race. */
} racelink;

#endif /* RACE_H */