mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
First step of comment style refactoring to doxygen-style.
This commit is contained in:
@@ -698,7 +698,7 @@ void Map::ScriptsProcess()
|
||||
|
||||
case SCRIPT_COMMAND_CAST_SPELL:
|
||||
{
|
||||
// TODO: Allow gameobjects to be targets and casters
|
||||
/// @todo Allow gameobjects to be targets and casters
|
||||
if (!source && !target)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_TSCR, "%s source and target objects are NULL.", step.script->GetDebugInfo().c_str());
|
||||
|
||||
@@ -766,7 +766,7 @@ uint32 ScriptMgr::GetDialogStatus(Player* player, Creature* creature)
|
||||
ASSERT(player);
|
||||
ASSERT(creature);
|
||||
|
||||
// TODO: 100 is a funny magic number to have hanging around here...
|
||||
/// @todo 100 is a funny magic number to have hanging around here...
|
||||
GET_SCRIPT_RET(CreatureScript, creature->GetScriptId(), tmpscript, 100);
|
||||
player->PlayerTalkClass->ClearMenus();
|
||||
return tmpscript->GetDialogStatus(player, creature);
|
||||
@@ -852,7 +852,7 @@ uint32 ScriptMgr::GetDialogStatus(Player* player, GameObject* go)
|
||||
ASSERT(player);
|
||||
ASSERT(go);
|
||||
|
||||
// TODO: 100 is a funny magic number to have hanging around here...
|
||||
/// @todo 100 is a funny magic number to have hanging around here...
|
||||
GET_SCRIPT_RET(GameObjectScript, go->GetScriptId(), tmpscript, 100);
|
||||
player->PlayerTalkClass->ClearMenus();
|
||||
return tmpscript->GetDialogStatus(player, go);
|
||||
@@ -918,7 +918,7 @@ bool ScriptMgr::OnAreaTrigger(Player* player, AreaTriggerEntry const* trigger)
|
||||
|
||||
Battleground* ScriptMgr::CreateBattleground(BattlegroundTypeId /*typeId*/)
|
||||
{
|
||||
// TODO: Implement script-side battlegrounds.
|
||||
/// @todo Implement script-side battlegrounds.
|
||||
ASSERT(false);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ struct OutdoorPvPData;
|
||||
|
||||
|
||||
/*
|
||||
TODO: Add more script type classes.
|
||||
@todo Add more script type classes.
|
||||
|
||||
MailScript
|
||||
SessionScript
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#define TEXT_SOURCE_RANGE -1000000 //the amount of entries each text source has available
|
||||
|
||||
//TODO: find better namings and definitions.
|
||||
/// @todo find better namings and definitions.
|
||||
//N=Neutral, A=Alliance, H=Horde.
|
||||
//NEUTRAL or FRIEND = Hostility to player surroundings (not a good definition)
|
||||
//ACTIVE or PASSIVE = Hostility to environment surroundings.
|
||||
|
||||
Reference in New Issue
Block a user