Added constants and cleaned up #weather command

This commit is contained in:
Kinglykrab
2022-10-13 17:50:33 -04:00
parent a87a9b3532
commit 2ec85304b7
9 changed files with 287 additions and 143 deletions
+9
View File
@@ -312,6 +312,12 @@ namespace EQ
NoDeposit
};
enum WeatherTypes : uint8 {
None,
Raining,
Snowing
};
const char *GetStanceName(StanceType stance_type);
int ConvertStanceTypeToIndex(StanceType stance_type);
@@ -345,6 +351,9 @@ namespace EQ
extern const std::map<int, std::string>& GetObjectTypeMap();
std::string GetObjectTypeName(int object_type);
extern const std::map<uint8, std::string>& GetWeatherTypeMap();
std::string GetWeatherTypeName(uint8 weather_type);
const int STANCE_TYPE_FIRST = stancePassive;
const int STANCE_TYPE_LAST = stanceBurnAE;
const int STANCE_TYPE_COUNT = stanceBurnAE;