Changeset 44 for trunk/src/bindings/scripts/ScriptMgr.cpp
- Timestamp:
- 11/19/08 13:27:40 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bindings/scripts/ScriptMgr.cpp
r41 r44 634 634 // Load Script Text 635 635 outstring_log("TSCR: Loading Script Texts..."); 636 Load MangosStrings(TScriptDB,"script_texts",TEXT_SOURCE_RANGE,(TEXT_SOURCE_RANGE*2)+1);636 LoadTrinityStrings(TScriptDB,"script_texts",TEXT_SOURCE_RANGE,(TEXT_SOURCE_RANGE*2)+1); 637 637 638 638 // Gather Additional data from Script Texts … … 698 698 // Load Custom Text 699 699 outstring_log("TSCR: Loading Custom Texts..."); 700 Load MangosStrings(TScriptDB,"custom_texts",TEXT_SOURCE_RANGE*2,(TEXT_SOURCE_RANGE*3)+1);700 LoadTrinityStrings(TScriptDB,"custom_texts",TEXT_SOURCE_RANGE*2,(TEXT_SOURCE_RANGE*3)+1); 701 701 702 702 // Gather Additional data from Custom Texts … … 1175 1175 }extern *SpellSummary; 1176 1176 1177 MANGOS_DLL_EXPORT1177 TRINITY_DLL_EXPORT 1178 1178 void ScriptsFree() 1179 1179 { … … 1188 1188 } 1189 1189 1190 MANGOS_DLL_EXPORT1190 TRINITY_DLL_EXPORT 1191 1191 void ScriptsInit() 1192 1192 { … … 1932 1932 //*** Functions to be Exported *** 1933 1933 1934 MANGOS_DLL_EXPORT1934 TRINITY_DLL_EXPORT 1935 1935 bool GossipHello ( Player * player, Creature *_Creature ) 1936 1936 { … … 1942 1942 } 1943 1943 1944 MANGOS_DLL_EXPORT1944 TRINITY_DLL_EXPORT 1945 1945 bool GossipSelect( Player *player, Creature *_Creature, uint32 sender, uint32 action ) 1946 1946 { … … 1954 1954 } 1955 1955 1956 MANGOS_DLL_EXPORT1956 TRINITY_DLL_EXPORT 1957 1957 bool GossipSelectWithCode( Player *player, Creature *_Creature, uint32 sender, uint32 action, const char* sCode ) 1958 1958 { … … 1966 1966 } 1967 1967 1968 MANGOS_DLL_EXPORT1968 TRINITY_DLL_EXPORT 1969 1969 bool QuestAccept( Player *player, Creature *_Creature, Quest const *_Quest ) 1970 1970 { … … 1976 1976 } 1977 1977 1978 MANGOS_DLL_EXPORT1978 TRINITY_DLL_EXPORT 1979 1979 bool QuestSelect( Player *player, Creature *_Creature, Quest const *_Quest ) 1980 1980 { … … 1986 1986 } 1987 1987 1988 MANGOS_DLL_EXPORT1988 TRINITY_DLL_EXPORT 1989 1989 bool QuestComplete( Player *player, Creature *_Creature, Quest const *_Quest ) 1990 1990 { … … 1996 1996 } 1997 1997 1998 MANGOS_DLL_EXPORT1998 TRINITY_DLL_EXPORT 1999 1999 bool ChooseReward( Player *player, Creature *_Creature, Quest const *_Quest, uint32 opt ) 2000 2000 { … … 2006 2006 } 2007 2007 2008 MANGOS_DLL_EXPORT2008 TRINITY_DLL_EXPORT 2009 2009 uint32 NPCDialogStatus( Player *player, Creature *_Creature ) 2010 2010 { … … 2016 2016 } 2017 2017 2018 MANGOS_DLL_EXPORT2018 TRINITY_DLL_EXPORT 2019 2019 uint32 GODialogStatus( Player *player, GameObject *_GO ) 2020 2020 { … … 2026 2026 } 2027 2027 2028 MANGOS_DLL_EXPORT2028 TRINITY_DLL_EXPORT 2029 2029 bool ItemHello( Player *player, Item *_Item, Quest const *_Quest ) 2030 2030 { … … 2036 2036 } 2037 2037 2038 MANGOS_DLL_EXPORT2038 TRINITY_DLL_EXPORT 2039 2039 bool ItemQuestAccept( Player *player, Item *_Item, Quest const *_Quest ) 2040 2040 { … … 2046 2046 } 2047 2047 2048 MANGOS_DLL_EXPORT2048 TRINITY_DLL_EXPORT 2049 2049 bool GOHello( Player *player, GameObject *_GO ) 2050 2050 { … … 2056 2056 } 2057 2057 2058 MANGOS_DLL_EXPORT2058 TRINITY_DLL_EXPORT 2059 2059 bool GOQuestAccept( Player *player, GameObject *_GO, Quest const *_Quest ) 2060 2060 { … … 2066 2066 } 2067 2067 2068 MANGOS_DLL_EXPORT2068 TRINITY_DLL_EXPORT 2069 2069 bool GOChooseReward( Player *player, GameObject *_GO, Quest const *_Quest, uint32 opt ) 2070 2070 { … … 2076 2076 } 2077 2077 2078 MANGOS_DLL_EXPORT2078 TRINITY_DLL_EXPORT 2079 2079 bool AreaTrigger( Player *player, AreaTriggerEntry * atEntry) 2080 2080 { … … 2087 2087 } 2088 2088 2089 MANGOS_DLL_EXPORT2089 TRINITY_DLL_EXPORT 2090 2090 CreatureAI* GetAI(Creature *_Creature) 2091 2091 { … … 2096 2096 } 2097 2097 2098 MANGOS_DLL_EXPORT2098 TRINITY_DLL_EXPORT 2099 2099 bool ItemUse( Player *player, Item* _Item, SpellCastTargets const& targets) 2100 2100 { … … 2105 2105 } 2106 2106 2107 MANGOS_DLL_EXPORT2107 TRINITY_DLL_EXPORT 2108 2108 bool ReceiveEmote( Player *player, Creature *_Creature, uint32 emote ) 2109 2109 { … … 2114 2114 } 2115 2115 2116 MANGOS_DLL_EXPORT2116 TRINITY_DLL_EXPORT 2117 2117 InstanceData* CreateInstanceData(Map *map) 2118 2118 {