File: team.h

package info (click to toggle)
conquest 8.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,984 kB
  • ctags: 3,086
  • sloc: ansic: 39,393; sh: 8,540; yacc: 446; makefile: 296; lex: 146
file content (27 lines) | stat: -rw-r--r-- 777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* 
 * Team structure
 *
 * $Id: team.h,v 1.4 2003/11/02 20:53:00 jon Exp $
 *
 * Copyright 1999-2004 Jon Trulson under the ARTISTIC LICENSE. (See LICENSE).
 */

#ifndef TEAM_H_INCLUDED
#define TEAM_H_INCLUDED

#include "conqdef.h"

typedef struct {
  int homeplanet;		/* planet number of the home planet */
  int homesun;			/* sun number of the home system */
  int teamhplanets[3];		/* planet numbers of the home system */
  int shiptype;			/* type of ship, one of the ST_* types */
  int stats[MAXTSTATS];		/* team stats */
  int coupinfo;			/* coup info */
  int couptime;			/* couptime */
  char torpchar;		/* char to display for torps */
  char teamchar;		/* F = F  R = R  K = K  O = O */
  char name[MAXTEAMNAME];	/* team name */
} Team_t;

#endif /* TEAM_H_INCLUDED */