[svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes

--HG--
branch : trunk
rename : src/framework/Utilities/HashMap.h => src/framework/Utilities/UnorderedMap.h
This commit is contained in:
KingPin
2008-11-10 06:53:00 -06:00
parent f2250030cd
commit 09280b0091
30 changed files with 93 additions and 86 deletions
+4 -4
View File
@@ -28,7 +28,7 @@
#include "Database/DBCStructure.h"
#include "Database/SQLStorage.h"
#include "Utilities/HashMap.h"
#include "Utilities/UnorderedMap.h"
#include <map>
class Player;
@@ -492,7 +492,7 @@ struct SpellProcEventEntry
uint32 cooldown; // hidden cooldown used for some spell proc events, applied to _triggered_spell_
};
typedef HM_NAMESPACE::hash_map<uint32, SpellProcEventEntry> SpellProcEventMap;
typedef UNORDERED_MAP<uint32, SpellProcEventEntry> SpellProcEventMap;
#define ELIXIR_BATTLE_MASK 0x1
#define ELIXIR_GUARDIAN_MASK 0x2
@@ -531,7 +531,7 @@ struct SpellTargetPosition
float target_Orientation;
};
typedef HM_NAMESPACE::hash_map<uint32, SpellTargetPosition> SpellTargetPositionMap;
typedef UNORDERED_MAP<uint32, SpellTargetPosition> SpellTargetPositionMap;
// Spell pet auras
class PetAura
@@ -594,7 +594,7 @@ struct SpellChainNode
uint8 rank;
};
typedef HM_NAMESPACE::hash_map<uint32, SpellChainNode> SpellChainMap;
typedef UNORDERED_MAP<uint32, SpellChainNode> SpellChainMap;
typedef std::multimap<uint32, uint32> SpellChainMapNext;
// Spell learning properties (accessed using SpellMgr functions)