stvoy-sp-sdk/game/statindex.h

27 lines
629 B
C
Raw Normal View History

2002-11-22 00:00:00 +00:00
// 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_HOLDABLE_ITEM,
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 /////////////////////