mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-10 23:31:36 +00:00
26 lines
595 B
C
26 lines
595 B
C
// Filename: statindex.h
|
|
//
|
|
// accessed from both server and game modules
|
|
|
|
#ifndef STATINDEX_H
|
|
#define STATINDEX_H
|
|
|
|
|
|
// player_state->stats[] indexes
|
|
typedef enum {
|
|
STAT_HEALTH,
|
|
STAT_ITEMS,
|
|
STAT_WEAPONS, // 16 bit fields
|
|
STAT_ARMOR,
|
|
STAT_DEAD_YAW, // look this direction when dead (FIXME: get rid of?)
|
|
STAT_CLIENTS_READY, // bit mask of clients wishing to exit the intermission (FIXME: configstring?)
|
|
STAT_MAX_HEALTH // health / armor limit, changable by handicap
|
|
} statIndex_t;
|
|
|
|
|
|
|
|
#endif // #ifndef STATINDEX_H
|
|
|
|
|
|
/////////////////////// eof /////////////////////
|
|
|