00001
00002
00003
00004
00005
00006 #ifndef STATUS_H
00007 #define STATUS_H
00008
00009 enum status_type
00010 {
00011 STATUS_AIRBORNE = NUM_DURATIONS + 1,
00012 STATUS_BEHELD,
00013 STATUS_BURDEN,
00014 STATUS_GLOW,
00015 STATUS_NET,
00016 STATUS_HUNGER,
00017 STATUS_REGENERATION,
00018 STATUS_ROT,
00019 STATUS_SICK,
00020 STATUS_SPEED,
00021 STATUS_CLINGING,
00022 };
00023
00024 struct status_info
00025 {
00026 int light_colour;
00027 std::string light_text;
00028 std::string short_text;
00029 std::string long_text;
00030 };
00031
00032 int dur_colour(int exp_colour, bool expiring);
00033
00034
00035
00036
00037 void fill_status_info(int status, status_info* info);
00038
00039 void init_duration_index();
00040
00041 #endif