mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Misc: More cleanup
This commit is contained in:
@@ -25,4 +25,3 @@ endif(SERVERS)
|
||||
if(TOOLS)
|
||||
add_subdirectory(tools)
|
||||
endif(TOOLS)
|
||||
|
||||
|
||||
@@ -47,4 +47,3 @@ namespace MMAP
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -42,4 +42,3 @@ LocaleConstant GetLocaleByName(const std::string& name)
|
||||
|
||||
return LOCALE_enUS; // including enGB case
|
||||
}
|
||||
|
||||
|
||||
@@ -209,4 +209,3 @@ std::string BigNumber::AsDecStr() const
|
||||
OPENSSL_free(ch);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -99,4 +99,3 @@ class TC_COMMON_API BigNumber
|
||||
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -211,4 +211,3 @@ class WheatyExceptionReport
|
||||
extern WheatyExceptionReport g_WheatyExceptionReport; // global instance of class
|
||||
#endif // _WIN32
|
||||
#endif // _WHEATYEXCEPTIONREPORT_
|
||||
|
||||
|
||||
@@ -65,4 +65,3 @@ inline void EndianConvertReverse(uint8&) { }
|
||||
inline void EndianConvertReverse( int8&) { }
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -143,4 +143,3 @@ class TC_DATABASE_API Field
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -370,4 +370,3 @@ Field const& PreparedResultSet::operator[](std::size_t index) const
|
||||
ASSERT(index < m_fieldCount);
|
||||
return m_rows[uint32(m_rowPosition) * m_fieldCount + index];
|
||||
}
|
||||
|
||||
|
||||
@@ -36,4 +36,3 @@ class TC_GAME_API GuardAI : public ScriptedAI
|
||||
void JustDied(Unit* killer) override;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -82,4 +82,3 @@ class TC_GAME_API TriggerAI : public NullCreatureAI
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -69,4 +69,3 @@ class TC_GAME_API PetAI : public CreatureAI
|
||||
void ClearCharmInfoFlags();
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@ class TC_GAME_API ReactorAI : public CreatureAI
|
||||
static int Permissible(const Creature*);
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -42,4 +42,3 @@ class TC_GAME_API TotemAI : public CreatureAI
|
||||
ObjectGuid i_victimGuid;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -55,4 +55,3 @@ namespace AIRegistry
|
||||
(new MovementGeneratorFactory<WaypointMovementGenerator<Creature> >(WAYPOINT_MOTION_TYPE))->RegisterSelf();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,4 +24,3 @@ namespace AIRegistry
|
||||
void Initialize(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -32,4 +32,3 @@ namespace FactorySelector
|
||||
TC_GAME_API GameObjectAI* SelectGameObjectAI(GameObject*);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -64,4 +64,3 @@ void ArenaTeamScore::Assign(uint32 preMatchRating, uint32 postMatchRating, uint3
|
||||
PreMatchMMR = preMatchMMR;
|
||||
PostMatchMMR = postMatchMMR;
|
||||
}
|
||||
|
||||
|
||||
@@ -193,4 +193,3 @@ class TC_GAME_API ArenaTeam
|
||||
ArenaTeamStats Stats;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -446,4 +446,3 @@ protected:
|
||||
uint32 m_HonorTics;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -248,4 +248,3 @@ Item* Bag::GetItemByPos(uint8 slot) const
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -68,4 +68,3 @@ void UpdateData::Clear()
|
||||
m_blockCount = 0;
|
||||
m_map = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -86,4 +86,3 @@ class UpdateData
|
||||
UpdateData& operator=(UpdateData const& right) = delete;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -5020,4 +5020,3 @@ uint32 ConversationDynamicUpdateFieldFlags[CONVERSATION_DYNAMIC_END] =
|
||||
UF_FLAG_PUBLIC, // CONVERSATION_DYNAMIC_FIELD_ACTORS
|
||||
UF_FLAG_0x100, // CONVERSATION_DYNAMIC_FIELD_LINES
|
||||
};
|
||||
|
||||
|
||||
@@ -183,4 +183,3 @@ TC_GAME_API bool IsHolidayActive(HolidayIds id);
|
||||
TC_GAME_API bool IsEventActive(uint16 event_id);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -114,4 +114,3 @@ namespace ObjectAccessor
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -214,4 +214,3 @@ namespace Trinity
|
||||
//}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -101,4 +101,3 @@ class TypeContainerVisitor
|
||||
VISITOR &i_visitor;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -32,4 +32,3 @@ class GroupRefManager : public RefManager<Group, Player>
|
||||
GroupReference const* getFirst() const { return ((GroupReference const*)RefManager<Group, Player>::getFirst()); }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -36,4 +36,3 @@ void GroupReference::sourceObjectDestroyLink()
|
||||
// called from invalidate()
|
||||
//getTarget()->DelinkMember(this);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,4 +40,3 @@ class TC_GAME_API GroupReference : public Reference<Group, Player>
|
||||
void setSubGroup(uint8 pSubGroup) { iSubGroup = pSubGroup; }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -759,4 +759,3 @@ void WorldSession::HandleRepairItemOpcode(WorldPackets::Item::RepairItem& packet
|
||||
_player->DurabilityRepairAll(true, discountMod, packet.UseGuildBank);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -38,4 +38,3 @@ struct PageTextLocale
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@ class MapRefManager : public RefManager<Map, Player>
|
||||
const_iterator end() const { return const_iterator(nullptr); }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@ class MapReference : public Reference<Map, Player>
|
||||
MapReference const* nocheck_prev() const { return (MapReference const*)Reference<Map, Player>::nocheck_prev(); }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -682,4 +682,3 @@ WorldPacket const* WorldPackets::Party::PartyKillLog::Write()
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
|
||||
@@ -1230,4 +1230,3 @@ AuraApplication const* AuraScript::GetTargetApplication() const
|
||||
{
|
||||
return m_auraApplication;
|
||||
}
|
||||
|
||||
|
||||
@@ -159,4 +159,3 @@ void CharacterDatabaseCleaner::CleanCharacterQuestStatus()
|
||||
{
|
||||
CharacterDatabase.DirectExecute("DELETE FROM character_queststatus WHERE status = 0");
|
||||
}
|
||||
|
||||
|
||||
@@ -110,4 +110,3 @@ void AddSC_boss_ascendant_lord_obsidius()
|
||||
{
|
||||
new boss_ascendant_lord_obsidius();
|
||||
}
|
||||
|
||||
|
||||
@@ -127,4 +127,3 @@ void AddSC_boss_corla()
|
||||
{
|
||||
new boss_corla();
|
||||
}
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@ inline AI* GetShadowfangKeepAI(Creature* creature)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -91,4 +91,3 @@ inline AI* GetStratholmeAI(Creature* creature)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -35,4 +35,3 @@
|
||||
|
||||
#define EVENT_STATE 1
|
||||
#endif
|
||||
|
||||
|
||||
@@ -425,4 +425,3 @@ void AddSC_boss_archaedas()
|
||||
new npc_stonekeepers();
|
||||
new go_altar_of_archaedas();
|
||||
}
|
||||
|
||||
|
||||
@@ -163,4 +163,3 @@ void AddSC_uldaman()
|
||||
new go_keystone_chamber();
|
||||
new AreaTrigger_at_map_chamber();
|
||||
}
|
||||
|
||||
|
||||
@@ -207,4 +207,3 @@ struct hyjalAI : public npc_escortAI
|
||||
//std::list<uint64> CreatureList;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -53,4 +53,3 @@ inline AI* GetOldHillsbradAI(Creature* creature)
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -75,4 +75,3 @@ inline AI* GetBlackMorassAI(Creature* creature)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1067,4 +1067,3 @@ void AddSC_obsidian_sanctum()
|
||||
new achievement_twilight_duo();
|
||||
new achievement_twilight_zone();
|
||||
}
|
||||
|
||||
|
||||
@@ -63,4 +63,3 @@ inline AI* GetShadowLabyrinthAI(Creature* creature)
|
||||
}
|
||||
|
||||
#endif // SHADOW_LABYRINTH_H_
|
||||
|
||||
|
||||
@@ -89,4 +89,3 @@ inline AI* GetBloodFurnaceAI(Creature* creature)
|
||||
}
|
||||
|
||||
#endif // BLOOD_FURNACE_H_
|
||||
|
||||
|
||||
@@ -373,4 +373,3 @@ void AddSC_boss_kelidan_the_breaker()
|
||||
new boss_kelidan_the_breaker();
|
||||
new npc_shadowmoon_channeler();
|
||||
}
|
||||
|
||||
|
||||
@@ -343,4 +343,3 @@ void AddSC_instance_blood_furnace()
|
||||
{
|
||||
new instance_blood_furnace();
|
||||
}
|
||||
|
||||
|
||||
@@ -239,4 +239,3 @@ void AddSC_boss_omor_the_unscarred()
|
||||
{
|
||||
new boss_omor_the_unscarred();
|
||||
}
|
||||
|
||||
|
||||
@@ -524,4 +524,3 @@ void AddSC_boss_vazruden_the_herald()
|
||||
new boss_nazan();
|
||||
new npc_hellfire_sentry();
|
||||
}
|
||||
|
||||
|
||||
@@ -183,4 +183,3 @@ void AddSC_boss_watchkeeper_gargolmar()
|
||||
{
|
||||
new boss_watchkeeper_gargolmar();
|
||||
}
|
||||
|
||||
|
||||
@@ -633,4 +633,3 @@ void AddSC_boss_magtheridon()
|
||||
new npc_abyssal();
|
||||
new go_manticron_cube();
|
||||
}
|
||||
|
||||
|
||||
@@ -258,4 +258,3 @@ void AddSC_instance_magtheridons_lair()
|
||||
{
|
||||
new instance_magtheridons_lair();
|
||||
}
|
||||
|
||||
|
||||
@@ -40,4 +40,3 @@ inline AI* GetMagtheridonsLairAI(Creature* creature)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -547,4 +547,3 @@ void AddSC_boss_high_astromancer_solarian()
|
||||
new npc_solarium_priest();
|
||||
new spell_astromancer_wrath_of_the_astromancer();
|
||||
}
|
||||
|
||||
|
||||
@@ -176,4 +176,3 @@ void AddSC_boss_void_reaver()
|
||||
{
|
||||
new boss_void_reaver();
|
||||
}
|
||||
|
||||
|
||||
@@ -129,4 +129,3 @@ void AddSC_instance_the_eye()
|
||||
{
|
||||
new instance_the_eye;
|
||||
}
|
||||
|
||||
|
||||
@@ -117,4 +117,3 @@ void AddSC_the_eye()
|
||||
{
|
||||
new npc_crystalcore_devastator();
|
||||
}
|
||||
|
||||
|
||||
@@ -135,4 +135,3 @@ void AddSC_boss_gatewatcher_iron_hand()
|
||||
{
|
||||
new boss_gatewatcher_iron_hand();
|
||||
}
|
||||
|
||||
|
||||
@@ -253,4 +253,3 @@ void AddSC_boss_pathaleon_the_calculator()
|
||||
new boss_pathaleon_the_calculator();
|
||||
new npc_nether_wraith();
|
||||
}
|
||||
|
||||
|
||||
@@ -304,4 +304,3 @@ void AddSC_boss_harbinger_skyriss()
|
||||
new boss_harbinger_skyriss();
|
||||
new boss_harbinger_skyriss_illusion();
|
||||
}
|
||||
|
||||
|
||||
@@ -210,4 +210,3 @@ void AddSC_instance_arcatraz()
|
||||
{
|
||||
new instance_arcatraz();
|
||||
}
|
||||
|
||||
|
||||
@@ -220,4 +220,3 @@ void AddSC_boss_high_botanist_freywinn()
|
||||
{
|
||||
new boss_high_botanist_freywinn();
|
||||
}
|
||||
|
||||
|
||||
@@ -231,4 +231,3 @@ void AddSC_boss_laj()
|
||||
{
|
||||
new boss_laj();
|
||||
}
|
||||
|
||||
|
||||
@@ -251,4 +251,3 @@ void AddSC_boss_warp_splinter()
|
||||
new boss_warp_splinter();
|
||||
new npc_warp_splinter_treant();
|
||||
}
|
||||
|
||||
|
||||
@@ -139,4 +139,3 @@ void AddSC_duel_reset()
|
||||
{
|
||||
new DuelResetScript();
|
||||
}
|
||||
|
||||
|
||||
@@ -136,4 +136,3 @@ void AddSC_npc_innkeeper()
|
||||
{
|
||||
new npc_innkeeper();
|
||||
}
|
||||
|
||||
|
||||
@@ -56,4 +56,3 @@ class Permissible
|
||||
virtual int Permit(const T *) const = 0;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -51,4 +51,3 @@ class RefManager : public LinkedListHead
|
||||
|
||||
//=====================================================
|
||||
#endif
|
||||
|
||||
|
||||
@@ -43,4 +43,3 @@ struct TypeList
|
||||
#define TYPELIST_6(T1, T2, T3, T4, T5, T6) TypeList<T1, TYPELIST_5(T2, T3, T4, T5, T6) >
|
||||
#define TYPELIST_7(T1, T2, T3, T4, T5, T6, T7) TypeList<T1, TYPELIST_6(T2, T3, T4, T5, T6, T7) >
|
||||
#endif
|
||||
|
||||
|
||||
@@ -129,4 +129,3 @@ namespace MMAP
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user