statindex.h 621 B

123456789101112131415161718192021222324252627
  1. // Filename: statindex.h
  2. //
  3. // accessed from both server and game modules
  4. #ifndef STATINDEX_H
  5. #define STATINDEX_H
  6. // player_state->stats[] indexes
  7. typedef enum {
  8. STAT_HEALTH,
  9. STAT_ITEMS,
  10. STAT_WEAPONS, // 16 bit fields
  11. STAT_ARMOR,
  12. STAT_DEAD_YAW, // look this direction when dead (FIXME: get rid of?)
  13. STAT_CLIENTS_READY, // bit mask of clients wishing to exit the intermission (FIXME: configstring?)
  14. STAT_MAX_HEALTH // health / armor limit, changable by handicap
  15. } statIndex_t;
  16. #endif // #ifndef STATINDEX_H
  17. /////////////////////// eof /////////////////////