Misc: More cleanup

This commit is contained in:
Aokromes
2017-11-25 02:50:29 +01:00
parent d5c6a4f20a
commit 90badf9d7e
76 changed files with 0 additions and 76 deletions

View File

@@ -25,4 +25,3 @@ endif(SERVERS)
if(TOOLS)
add_subdirectory(tools)
endif(TOOLS)

View File

@@ -47,4 +47,3 @@ namespace MMAP
}
#endif

View File

@@ -42,4 +42,3 @@ LocaleConstant GetLocaleByName(const std::string& name)
return LOCALE_enUS; // including enGB case
}

View File

@@ -209,4 +209,3 @@ std::string BigNumber::AsDecStr() const
OPENSSL_free(ch);
return ret;
}

View File

@@ -99,4 +99,3 @@ class TC_COMMON_API BigNumber
};
#endif

View File

@@ -211,4 +211,3 @@ class WheatyExceptionReport
extern WheatyExceptionReport g_WheatyExceptionReport; // global instance of class
#endif // _WIN32
#endif // _WHEATYEXCEPTIONREPORT_

View File

@@ -65,4 +65,3 @@ inline void EndianConvertReverse(uint8&) { }
inline void EndianConvertReverse( int8&) { }
#endif

View File

@@ -143,4 +143,3 @@ class TC_DATABASE_API Field
};
#endif

View File

@@ -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];
}

View File

@@ -36,4 +36,3 @@ class TC_GAME_API GuardAI : public ScriptedAI
void JustDied(Unit* killer) override;
};
#endif

View File

@@ -82,4 +82,3 @@ class TC_GAME_API TriggerAI : public NullCreatureAI
};
#endif

View File

@@ -69,4 +69,3 @@ class TC_GAME_API PetAI : public CreatureAI
void ClearCharmInfoFlags();
};
#endif

View File

@@ -33,4 +33,3 @@ class TC_GAME_API ReactorAI : public CreatureAI
static int Permissible(const Creature*);
};
#endif

View File

@@ -42,4 +42,3 @@ class TC_GAME_API TotemAI : public CreatureAI
ObjectGuid i_victimGuid;
};
#endif

View File

@@ -55,4 +55,3 @@ namespace AIRegistry
(new MovementGeneratorFactory<WaypointMovementGenerator<Creature> >(WAYPOINT_MOTION_TYPE))->RegisterSelf();
}
}

View File

@@ -24,4 +24,3 @@ namespace AIRegistry
void Initialize(void);
}
#endif

View File

@@ -32,4 +32,3 @@ namespace FactorySelector
TC_GAME_API GameObjectAI* SelectGameObjectAI(GameObject*);
}
#endif

View File

@@ -64,4 +64,3 @@ void ArenaTeamScore::Assign(uint32 preMatchRating, uint32 postMatchRating, uint3
PreMatchMMR = preMatchMMR;
PostMatchMMR = postMatchMMR;
}

View File

@@ -193,4 +193,3 @@ class TC_GAME_API ArenaTeam
ArenaTeamStats Stats;
};
#endif

View File

@@ -446,4 +446,3 @@ protected:
uint32 m_HonorTics;
};
#endif

View File

@@ -248,4 +248,3 @@ Item* Bag::GetItemByPos(uint8 slot) const
return NULL;
}

View File

@@ -68,4 +68,3 @@ void UpdateData::Clear()
m_blockCount = 0;
m_map = 0;
}

View File

@@ -86,4 +86,3 @@ class UpdateData
UpdateData& operator=(UpdateData const& right) = delete;
};
#endif

View File

@@ -5020,4 +5020,3 @@ uint32 ConversationDynamicUpdateFieldFlags[CONVERSATION_DYNAMIC_END] =
UF_FLAG_PUBLIC, // CONVERSATION_DYNAMIC_FIELD_ACTORS
UF_FLAG_0x100, // CONVERSATION_DYNAMIC_FIELD_LINES
};

View File

@@ -183,4 +183,3 @@ TC_GAME_API bool IsHolidayActive(HolidayIds id);
TC_GAME_API bool IsEventActive(uint16 event_id);
#endif

View File

@@ -114,4 +114,3 @@ namespace ObjectAccessor
};
#endif

View File

@@ -214,4 +214,3 @@ namespace Trinity
//}
}
#endif

View File

@@ -101,4 +101,3 @@ class TypeContainerVisitor
VISITOR &i_visitor;
};
#endif

View File

@@ -32,4 +32,3 @@ class GroupRefManager : public RefManager<Group, Player>
GroupReference const* getFirst() const { return ((GroupReference const*)RefManager<Group, Player>::getFirst()); }
};
#endif

View File

@@ -36,4 +36,3 @@ void GroupReference::sourceObjectDestroyLink()
// called from invalidate()
//getTarget()->DelinkMember(this);
}

View File

@@ -40,4 +40,3 @@ class TC_GAME_API GroupReference : public Reference<Group, Player>
void setSubGroup(uint8 pSubGroup) { iSubGroup = pSubGroup; }
};
#endif

View File

@@ -759,4 +759,3 @@ void WorldSession::HandleRepairItemOpcode(WorldPackets::Item::RepairItem& packet
_player->DurabilityRepairAll(true, discountMod, packet.UseGuildBank);
}
}

View File

@@ -38,4 +38,3 @@ struct PageTextLocale
};
#endif

View File

@@ -39,4 +39,3 @@ class MapRefManager : public RefManager<Map, Player>
const_iterator end() const { return const_iterator(nullptr); }
};
#endif

View File

@@ -39,4 +39,3 @@ class MapReference : public Reference<Map, Player>
MapReference const* nocheck_prev() const { return (MapReference const*)Reference<Map, Player>::nocheck_prev(); }
};
#endif

View File

@@ -682,4 +682,3 @@ WorldPacket const* WorldPackets::Party::PartyKillLog::Write()
return &_worldPacket;
}

View File

@@ -1230,4 +1230,3 @@ AuraApplication const* AuraScript::GetTargetApplication() const
{
return m_auraApplication;
}

View File

@@ -159,4 +159,3 @@ void CharacterDatabaseCleaner::CleanCharacterQuestStatus()
{
CharacterDatabase.DirectExecute("DELETE FROM character_queststatus WHERE status = 0");
}

View File

@@ -110,4 +110,3 @@ void AddSC_boss_ascendant_lord_obsidius()
{
new boss_ascendant_lord_obsidius();
}

View File

@@ -127,4 +127,3 @@ void AddSC_boss_corla()
{
new boss_corla();
}

View File

@@ -39,4 +39,3 @@ inline AI* GetShadowfangKeepAI(Creature* creature)
}
#endif

View File

@@ -91,4 +91,3 @@ inline AI* GetStratholmeAI(Creature* creature)
}
#endif

View File

@@ -35,4 +35,3 @@
#define EVENT_STATE 1
#endif

View File

@@ -425,4 +425,3 @@ void AddSC_boss_archaedas()
new npc_stonekeepers();
new go_altar_of_archaedas();
}

View File

@@ -163,4 +163,3 @@ void AddSC_uldaman()
new go_keystone_chamber();
new AreaTrigger_at_map_chamber();
}

View File

@@ -207,4 +207,3 @@ struct hyjalAI : public npc_escortAI
//std::list<uint64> CreatureList;
};
#endif

View File

@@ -53,4 +53,3 @@ inline AI* GetOldHillsbradAI(Creature* creature)
#endif

View File

@@ -75,4 +75,3 @@ inline AI* GetBlackMorassAI(Creature* creature)
}
#endif

View File

@@ -1067,4 +1067,3 @@ void AddSC_obsidian_sanctum()
new achievement_twilight_duo();
new achievement_twilight_zone();
}

View File

@@ -63,4 +63,3 @@ inline AI* GetShadowLabyrinthAI(Creature* creature)
}
#endif // SHADOW_LABYRINTH_H_

View File

@@ -89,4 +89,3 @@ inline AI* GetBloodFurnaceAI(Creature* creature)
}
#endif // BLOOD_FURNACE_H_

View File

@@ -373,4 +373,3 @@ void AddSC_boss_kelidan_the_breaker()
new boss_kelidan_the_breaker();
new npc_shadowmoon_channeler();
}

View File

@@ -343,4 +343,3 @@ void AddSC_instance_blood_furnace()
{
new instance_blood_furnace();
}

View File

@@ -239,4 +239,3 @@ void AddSC_boss_omor_the_unscarred()
{
new boss_omor_the_unscarred();
}

View File

@@ -524,4 +524,3 @@ void AddSC_boss_vazruden_the_herald()
new boss_nazan();
new npc_hellfire_sentry();
}

View File

@@ -183,4 +183,3 @@ void AddSC_boss_watchkeeper_gargolmar()
{
new boss_watchkeeper_gargolmar();
}

View File

@@ -633,4 +633,3 @@ void AddSC_boss_magtheridon()
new npc_abyssal();
new go_manticron_cube();
}

View File

@@ -258,4 +258,3 @@ void AddSC_instance_magtheridons_lair()
{
new instance_magtheridons_lair();
}

View File

@@ -40,4 +40,3 @@ inline AI* GetMagtheridonsLairAI(Creature* creature)
}
#endif

View File

@@ -547,4 +547,3 @@ void AddSC_boss_high_astromancer_solarian()
new npc_solarium_priest();
new spell_astromancer_wrath_of_the_astromancer();
}

View File

@@ -176,4 +176,3 @@ void AddSC_boss_void_reaver()
{
new boss_void_reaver();
}

View File

@@ -129,4 +129,3 @@ void AddSC_instance_the_eye()
{
new instance_the_eye;
}

View File

@@ -117,4 +117,3 @@ void AddSC_the_eye()
{
new npc_crystalcore_devastator();
}

View File

@@ -135,4 +135,3 @@ void AddSC_boss_gatewatcher_iron_hand()
{
new boss_gatewatcher_iron_hand();
}

View File

@@ -253,4 +253,3 @@ void AddSC_boss_pathaleon_the_calculator()
new boss_pathaleon_the_calculator();
new npc_nether_wraith();
}

View File

@@ -304,4 +304,3 @@ void AddSC_boss_harbinger_skyriss()
new boss_harbinger_skyriss();
new boss_harbinger_skyriss_illusion();
}

View File

@@ -210,4 +210,3 @@ void AddSC_instance_arcatraz()
{
new instance_arcatraz();
}

View File

@@ -220,4 +220,3 @@ void AddSC_boss_high_botanist_freywinn()
{
new boss_high_botanist_freywinn();
}

View File

@@ -231,4 +231,3 @@ void AddSC_boss_laj()
{
new boss_laj();
}

View File

@@ -251,4 +251,3 @@ void AddSC_boss_warp_splinter()
new boss_warp_splinter();
new npc_warp_splinter_treant();
}

View File

@@ -139,4 +139,3 @@ void AddSC_duel_reset()
{
new DuelResetScript();
}

View File

@@ -136,4 +136,3 @@ void AddSC_npc_innkeeper()
{
new npc_innkeeper();
}

View File

@@ -56,4 +56,3 @@ class Permissible
virtual int Permit(const T *) const = 0;
};
#endif

View File

@@ -51,4 +51,3 @@ class RefManager : public LinkedListHead
//=====================================================
#endif

View File

@@ -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

View File

@@ -129,4 +129,3 @@ namespace MMAP
}
#endif