Show
Ignore:
Timestamp:
11/19/08 13:46:16 (17 years ago)
Author:
yumileroy
Message:

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

Original author: KingPin?
Date: 2008-11-10 06:53:00-06:00

Location:
trunk/src/bindings/scripts/scripts/creature
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/bindings/scripts/scripts/creature/mob_event_ai.cpp

    r202 r206  
    865865                Creature* pCreature = NULL; 
    866866 
    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); 
    868868 
    869869                if (i == EventAI_Summon_Map.end()) 
  • trunk/src/bindings/scripts/scripts/creature/mob_event_ai.h

    r109 r206  
    196196 
    197197//EventSummon_Map 
    198 extern HM_NAMESPACE::hash_map<uint32, EventAI_Summon> EventAI_Summon_Map; 
     198extern UNORDERED_MAP<uint32, EventAI_Summon> EventAI_Summon_Map; 
    199199 
    200200//EventAI Error handling 
     
    209209 
    210210//Error prevention list 
    211 extern HM_NAMESPACE::hash_map<uint32, EventAI_CreatureError> EventAI_CreatureErrorPreventionList; 
     211extern UNORDERED_MAP<uint32, EventAI_CreatureError> EventAI_CreatureErrorPreventionList; 
    212212 
    213213//Defines