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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/bindings/scripts/ScriptMgr.cpp

    r187 r206  
    4646 
    4747// Text Maps 
    48 HM_NAMESPACE::hash_map<int32, StringTextData> TextMap; 
     48UNORDERED_MAP<int32, StringTextData> TextMap; 
    4949 
    5050 
     
    5656 
    5757//Event AI summon structure. Used exclusivly by mob_event_ai.cpp. 
    58 HM_NAMESPACE::hash_map<uint32, EventAI_Summon> EventAI_Summon_Map; 
     58UNORDERED_MAP<uint32, EventAI_Summon> EventAI_Summon_Map; 
    5959 
    6060//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; 
    6262 
    6363uint32 EAI_ErrorLevel; 
     
    17931793    } 
    17941794 
    1795     HM_NAMESPACE::hash_map<int32, StringTextData>::iterator i = TextMap.find(textEntry); 
     1795    UNORDERED_MAP<int32, StringTextData>::iterator i = TextMap.find(textEntry); 
    17961796 
    17971797    if (i == TextMap.end())