Changeset 206 for trunk/src/bindings
- Timestamp:
- 11/19/08 13:46:16 (17 years ago)
- Location:
- trunk/src/bindings/scripts
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bindings/scripts/ScriptMgr.cpp
r187 r206 46 46 47 47 // Text Maps 48 HM_NAMESPACE::hash_map<int32, StringTextData> TextMap;48 UNORDERED_MAP<int32, StringTextData> TextMap; 49 49 50 50 … … 56 56 57 57 //Event AI summon structure. Used exclusivly by mob_event_ai.cpp. 58 HM_NAMESPACE::hash_map<uint32, EventAI_Summon> EventAI_Summon_Map;58 UNORDERED_MAP<uint32, EventAI_Summon> EventAI_Summon_Map; 59 59 60 60 //Event AI error prevention structure. Used at runtime to prevent error log spam of same creature id. 61 // HM_NAMESPACE::hash_map<uint32, EventAI_CreatureError> EventAI_CreatureErrorPreventionList;61 //UNORDERED_MAP<uint32, EventAI_CreatureError> EventAI_CreatureErrorPreventionList; 62 62 63 63 uint32 EAI_ErrorLevel; … … 1793 1793 } 1794 1794 1795 HM_NAMESPACE::hash_map<int32, StringTextData>::iterator i = TextMap.find(textEntry);1795 UNORDERED_MAP<int32, StringTextData>::iterator i = TextMap.find(textEntry); 1796 1796 1797 1797 if (i == TextMap.end()) -
trunk/src/bindings/scripts/scripts/creature/mob_event_ai.cpp
r202 r206 865 865 Creature* pCreature = NULL; 866 866 867 HM_NAMESPACE::hash_map<uint32, EventAI_Summon>::iterator i = EventAI_Summon_Map.find(param3);867 UNORDERED_MAP<uint32, EventAI_Summon>::iterator i = EventAI_Summon_Map.find(param3); 868 868 869 869 if (i == EventAI_Summon_Map.end()) -
trunk/src/bindings/scripts/scripts/creature/mob_event_ai.h
r109 r206 196 196 197 197 //EventSummon_Map 198 extern HM_NAMESPACE::hash_map<uint32, EventAI_Summon> EventAI_Summon_Map;198 extern UNORDERED_MAP<uint32, EventAI_Summon> EventAI_Summon_Map; 199 199 200 200 //EventAI Error handling … … 209 209 210 210 //Error prevention list 211 extern HM_NAMESPACE::hash_map<uint32, EventAI_CreatureError> EventAI_CreatureErrorPreventionList;211 extern UNORDERED_MAP<uint32, EventAI_CreatureError> EventAI_CreatureErrorPreventionList; 212 212 213 213 //Defines -
trunk/src/bindings/scripts/scripts/zone/temple_of_ahnqiraj/boss_cthun.cpp
r90 r206 476 476 477 477 //Stomach map, bool = true then in stomach 478 HM_NAMESPACE::hash_map<uint64, bool> Stomach_Map;478 UNORDERED_MAP<uint64, bool> Stomach_Map; 479 479 480 480 void Reset() … … 535 535 return NULL; 536 536 537 HM_NAMESPACE::hash_map<uint64, bool>::iterator i = Stomach_Map.begin();537 UNORDERED_MAP<uint64, bool>::iterator i = Stomach_Map.begin(); 538 538 539 539 std::list<Unit*> temp; … … 682 682 DoCast(m_creature, SPELL_RED_COLORATION, true); 683 683 684 HM_NAMESPACE::hash_map<uint64, bool>::iterator i = Stomach_Map.begin();684 UNORDERED_MAP<uint64, bool>::iterator i = Stomach_Map.begin(); 685 685 686 686 //Kick all players out of stomach … … 714 714 { 715 715 //Apply aura to all players in stomach 716 HM_NAMESPACE::hash_map<uint64, bool>::iterator i = Stomach_Map.begin();716 UNORDERED_MAP<uint64, bool>::iterator i = Stomach_Map.begin(); 717 717 718 718 while (i != Stomach_Map.end())