Scanning optimization work from over a year ago from EZ - cleaned up a bit

This commit is contained in:
Akkadius
2019-12-25 03:16:14 -06:00
parent 07fd803d41
commit 8cb51eb253
14 changed files with 393 additions and 222 deletions
+8 -1
View File
@@ -1,3 +1,4 @@
/* EQEMu: Everquest Server Emulator
Copyright (C) 2001-2016 EQEMu Development Team (http://eqemu.org)
@@ -169,6 +170,12 @@ public:
void DisplayInfo(Mob *mob);
std::unordered_map<Mob *, float> close_mobs;
Timer mob_scan_close;
Timer mob_check_moving_timer;
void GetCloseMobList(std::list<std::pair<Mob *, float>> &m_list);
//Somewhat sorted: needs documenting!
//Attack
@@ -968,7 +975,7 @@ public:
void SetEntityVariable(const char *id, const char *m_var);
bool EntityVariableExists(const char *id);
void AI_Event_Engaged(Mob* attacker, bool iYellForHelp = true);
void AI_Event_Engaged(Mob* attacker, bool yell_for_help = true);
void AI_Event_NoLongerEngaged();
FACTION_VALUE GetSpecialFactionCon(Mob* iOther);