mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Misc: More cleanup
This commit is contained in:
@@ -47,4 +47,3 @@ namespace MMAP
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -209,4 +209,3 @@ std::string BigNumber::AsDecStr() const
|
||||
OPENSSL_free(ch);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -99,4 +99,3 @@ class TC_COMMON_API BigNumber
|
||||
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -212,4 +212,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
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@ namespace Battlenet
|
||||
};
|
||||
}
|
||||
#endif // BattlenetPacketCrypt_h__
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@ namespace Battlenet
|
||||
}
|
||||
|
||||
#endif // AchievementPackets_h__
|
||||
|
||||
|
||||
@@ -451,4 +451,3 @@ class TC_DATABASE_API Field
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -107,4 +107,3 @@ class TC_DATABASE_API PreparedResultSet
|
||||
typedef std::shared_ptr<PreparedResultSet> PreparedQueryResult;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -35,4 +35,3 @@ class TC_GAME_API GuardAI : public ScriptedAI
|
||||
void JustDied(Unit* killer) override;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -86,4 +86,3 @@ class TC_GAME_API TriggerAI : public NullCreatureAI
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -71,4 +71,3 @@ class TC_GAME_API PetAI : public CreatureAI
|
||||
void ClearCharmInfoFlags();
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -35,4 +35,3 @@ class TC_GAME_API ReactorAI : public CreatureAI
|
||||
static int32 Permissible(Creature const* creature);
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -42,4 +42,3 @@ class TC_GAME_API TotemAI : public CreatureAI
|
||||
ObjectGuid i_victimGuid;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -66,4 +66,3 @@ struct AISpellInfoType
|
||||
AISpellInfoType* GetAISpellInfo(uint32 i);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -58,4 +58,3 @@ namespace AIRegistry
|
||||
(new MovementGeneratorFactory<WaypointMovementGenerator<Creature>>(WAYPOINT_MOTION_TYPE))->RegisterSelf();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,4 +24,3 @@ namespace AIRegistry
|
||||
void Initialize(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@ namespace FactorySelector
|
||||
TC_GAME_API GameObjectAI* SelectGameObjectAI(GameObject* go);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1504,4 +1504,3 @@ CacheSpellContainerBounds SmartAIMgr::GetCreateItemSpellContainerBounds(uint32 i
|
||||
{
|
||||
return CreateItemSpellStore.equal_range(itemId);
|
||||
}
|
||||
|
||||
|
||||
@@ -198,4 +198,3 @@ class TC_GAME_API ArenaTeam
|
||||
ArenaTeamStats Stats;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -436,4 +436,3 @@ class BattlegroundEY : public Battleground
|
||||
uint32 m_HonorTics;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -253,4 +253,3 @@ class TC_GAME_API Channel
|
||||
AreaTableEntry const* _zoneEntry;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -245,4 +245,3 @@ Item* Bag::GetItemByPos(uint8 slot) const
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -71,4 +71,3 @@ inline Item* NewItemOrBag(ItemTemplate const* proto)
|
||||
return (proto->InventoryType == INVTYPE_BAG) ? new Bag : new Item;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -196,4 +196,3 @@ uint32 GenerateEnchSuffixFactor(uint32 item_id)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,4 +25,3 @@ TC_GAME_API void LoadRandomEnchantmentsTable();
|
||||
TC_GAME_API uint32 GetItemEnchantMod(int32 entry);
|
||||
TC_GAME_API uint32 GenerateEnchSuffixFactor(uint32 item_id);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -70,4 +70,3 @@ void UpdateData::Clear()
|
||||
m_blockCount = 0;
|
||||
m_map = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -81,4 +81,3 @@ class UpdateData
|
||||
UpdateData& operator=(UpdateData const& right) = delete;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -123,4 +123,3 @@ class UpdateMask
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -189,4 +189,3 @@ TC_GAME_API bool IsHolidayActive(HolidayIds id);
|
||||
TC_GAME_API bool IsEventActive(uint16 event_id);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -125,4 +125,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -254,4 +254,3 @@ inline void Cell::VisitAllObjects(float x, float y, Map* map, T& visitor, float
|
||||
cell.Visit(p, gnotifier, *map, x, y, radius);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -141,4 +141,3 @@ class Grid
|
||||
//ActiveGridObjects m_activeGridObjects;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -75,4 +75,3 @@ class GridLoader
|
||||
};
|
||||
*/
|
||||
#endif
|
||||
|
||||
|
||||
@@ -37,4 +37,3 @@ class GridRefManager : public RefManager<GridRefManager<OBJECT>, OBJECT>
|
||||
iterator end() { return iterator(NULL); }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -50,4 +50,3 @@ class GridReference : public Reference<GridRefManager<OBJECT>, OBJECT>
|
||||
GridReference* next() { return (GridReference*)Reference<GridRefManager<OBJECT>, OBJECT>::next(); }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -61,4 +61,3 @@ void RemovalState::Update(Map& map, NGridType& grid, GridInfo& info, uint32 diff
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -191,4 +191,3 @@ class NGrid
|
||||
bool i_GridObjectDataLoaded;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -440,4 +440,3 @@ template void ObjectUpdater::Visit<Creature>(CreatureMapType&);
|
||||
template void ObjectUpdater::Visit<GameObject>(GameObjectMapType&);
|
||||
template void ObjectUpdater::Visit<DynamicObject>(DynamicObjectMapType&);
|
||||
template void ObjectUpdater::Visit<AreaTrigger>(AreaTriggerMapType &);
|
||||
|
||||
|
||||
@@ -2661,4 +2661,3 @@ void Group::ToggleGroupMemberFlag(member_witerator slot, uint8 flag, bool apply)
|
||||
else
|
||||
slot->flags &= ~flag;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -36,4 +36,3 @@ class AddonHandler
|
||||
};
|
||||
#define sAddOnHandler AddonHandler::instance()
|
||||
#endif
|
||||
|
||||
|
||||
@@ -879,4 +879,3 @@ void WorldSession::HandleRepairItemOpcode(WorldPacket& recvData)
|
||||
_player->DurabilityRepairAll(true, discountMod, guildBank != 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -57,4 +57,3 @@ struct NpcTextLocale
|
||||
StringVector Text_1[MAX_GOSSIP_TEXT_OPTIONS];
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -42,4 +42,3 @@ void WorldSession::HandleSetActiveVoiceChannel(WorldPacket& recvData)
|
||||
recvData.read_skip<uint32>();
|
||||
recvData.read_skip<char*>();
|
||||
}
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@ class MapRefManager : public RefManager<Map, Player>
|
||||
const_iterator end() const { return const_iterator(nullptr); }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -50,4 +50,3 @@ class MapReference : public Reference<Map, Player>
|
||||
MapReference const* nocheck_prev() const { return (MapReference const*)Reference<Map, Player>::nocheck_prev(); }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -28,4 +28,3 @@ inline MovementGenerator* MovementGeneratorFactory<Movement>::Create(void * /*da
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -44,4 +44,3 @@ class HomeMovementGenerator : public MovementGeneratorMedium< T, HomeMovementGen
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -79,4 +79,3 @@ public:
|
||||
#define sScriptReloadMgr ScriptReloadMgr::instance()
|
||||
|
||||
#endif // SCRIPT_RELOADER_H
|
||||
|
||||
|
||||
@@ -1196,4 +1196,3 @@ AuraApplication const* AuraScript::GetTargetApplication() const
|
||||
{
|
||||
return m_auraApplication;
|
||||
}
|
||||
|
||||
|
||||
@@ -155,4 +155,3 @@ void CharacterDatabaseCleaner::CleanCharacterQuestStatus()
|
||||
{
|
||||
CharacterDatabase.DirectExecute("DELETE FROM character_queststatus WHERE status = 0");
|
||||
}
|
||||
|
||||
|
||||
@@ -320,4 +320,3 @@ WeatherState Weather::GetWeatherState() const
|
||||
return WEATHER_STATE_FINE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -241,4 +241,3 @@ if (DISABLED_SCRIPT_MODULE_PROJECTS)
|
||||
endif()
|
||||
|
||||
message("")
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -97,4 +97,3 @@ enum STRMisc
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -35,4 +35,3 @@
|
||||
|
||||
#define EVENT_STATE 1
|
||||
#endif
|
||||
|
||||
|
||||
@@ -422,4 +422,3 @@ void AddSC_boss_archaedas()
|
||||
new npc_stonekeepers();
|
||||
new go_altar_of_archaedas();
|
||||
}
|
||||
|
||||
|
||||
@@ -161,4 +161,3 @@ void AddSC_uldaman()
|
||||
new go_keystone_chamber();
|
||||
new AreaTrigger_at_map_chamber();
|
||||
}
|
||||
|
||||
|
||||
@@ -463,4 +463,3 @@ void AddSC_boss_akilzon()
|
||||
new boss_akilzon();
|
||||
new npc_akilzon_eagle();
|
||||
}
|
||||
|
||||
|
||||
@@ -795,4 +795,3 @@ void AddSC_boss_hex_lord_malacrass()
|
||||
new boss_alyson_antille();
|
||||
new spell_hexlord_unstable_affliction();
|
||||
}
|
||||
|
||||
|
||||
@@ -700,4 +700,3 @@ void AddSC_boss_janalai()
|
||||
new npc_janalai_hatchling();
|
||||
new npc_janalai_egg();
|
||||
}
|
||||
|
||||
|
||||
@@ -440,4 +440,3 @@ void AddSC_boss_nalorakk()
|
||||
{
|
||||
new boss_nalorakk();
|
||||
}
|
||||
|
||||
|
||||
@@ -207,4 +207,3 @@ struct hyjalAI : public npc_escortAI
|
||||
//std::list<uint64> CreatureList;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -42,4 +42,3 @@ enum OHWorldStateIds
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -66,4 +66,3 @@ enum TBMCreatureIds
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1065,4 +1065,3 @@ void AddSC_obsidian_sanctum()
|
||||
new achievement_twilight_duo();
|
||||
new achievement_twilight_zone();
|
||||
}
|
||||
|
||||
|
||||
@@ -61,4 +61,3 @@ AI* GetShadowLabyrinthAI(Creature* creature)
|
||||
}
|
||||
|
||||
#endif // SHADOW_LABYRINTH_H_
|
||||
|
||||
|
||||
@@ -58,4 +58,3 @@ enum SSDataTypes
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -87,4 +87,3 @@ AI* GetBloodFurnaceAI(Creature* creature)
|
||||
}
|
||||
|
||||
#endif // BLOOD_FURNACE_H_
|
||||
|
||||
|
||||
@@ -367,4 +367,3 @@ void AddSC_boss_kelidan_the_breaker()
|
||||
new boss_kelidan_the_breaker();
|
||||
new npc_shadowmoon_channeler();
|
||||
}
|
||||
|
||||
|
||||
@@ -340,4 +340,3 @@ void AddSC_instance_blood_furnace()
|
||||
{
|
||||
new instance_blood_furnace();
|
||||
}
|
||||
|
||||
|
||||
@@ -238,4 +238,3 @@ void AddSC_boss_omor_the_unscarred()
|
||||
{
|
||||
new boss_omor_the_unscarred();
|
||||
}
|
||||
|
||||
|
||||
@@ -521,4 +521,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();
|
||||
}
|
||||
|
||||
|
||||
@@ -142,4 +142,3 @@ void AddSC_instance_magtheridons_lair()
|
||||
{
|
||||
new instance_magtheridons_lair();
|
||||
}
|
||||
|
||||
|
||||
@@ -73,4 +73,3 @@ enum GameObjectIds
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -545,4 +545,3 @@ void AddSC_boss_high_astromancer_solarian()
|
||||
new npc_solarium_priest();
|
||||
new spell_astromancer_wrath_of_the_astromancer();
|
||||
}
|
||||
|
||||
|
||||
@@ -175,4 +175,3 @@ void AddSC_boss_void_reaver()
|
||||
{
|
||||
new boss_void_reaver();
|
||||
}
|
||||
|
||||
|
||||
@@ -127,4 +127,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();
|
||||
}
|
||||
|
||||
|
||||
@@ -252,4 +252,3 @@ void AddSC_boss_pathaleon_the_calculator()
|
||||
new boss_pathaleon_the_calculator();
|
||||
new npc_nether_wraith();
|
||||
}
|
||||
|
||||
|
||||
@@ -302,4 +302,3 @@ void AddSC_boss_harbinger_skyriss()
|
||||
new boss_harbinger_skyriss();
|
||||
new boss_harbinger_skyriss_illusion();
|
||||
}
|
||||
|
||||
|
||||
@@ -207,4 +207,3 @@ void AddSC_instance_arcatraz()
|
||||
{
|
||||
new instance_arcatraz();
|
||||
}
|
||||
|
||||
|
||||
@@ -218,4 +218,3 @@ void AddSC_boss_high_botanist_freywinn()
|
||||
{
|
||||
new boss_high_botanist_freywinn();
|
||||
}
|
||||
|
||||
|
||||
@@ -231,4 +231,3 @@ void AddSC_boss_laj()
|
||||
{
|
||||
new boss_laj();
|
||||
}
|
||||
|
||||
|
||||
@@ -248,4 +248,3 @@ void AddSC_boss_warp_splinter()
|
||||
new boss_warp_splinter();
|
||||
new npc_warp_splinter_treant();
|
||||
}
|
||||
|
||||
|
||||
@@ -62,4 +62,3 @@ TC_SCRIPT_API char const* GetBuildDirective()
|
||||
#ifdef TRINITY_IS_DYNAMIC_SCRIPTLOADER
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -17,4 +17,3 @@
|
||||
*/
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
|
||||
|
||||
@@ -44,4 +44,3 @@
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -122,4 +122,3 @@ void AddSC_duel_reset()
|
||||
{
|
||||
new DuelResetScript();
|
||||
}
|
||||
|
||||
|
||||
@@ -155,4 +155,3 @@ void AddSC_npc_innkeeper()
|
||||
{
|
||||
new npc_innkeeper();
|
||||
}
|
||||
|
||||
|
||||
@@ -54,4 +54,3 @@ class Permissible
|
||||
virtual int32 Permit(T const*) const = 0;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -51,4 +51,3 @@ class RefManager : public LinkedListHead
|
||||
|
||||
//=====================================================
|
||||
#endif
|
||||
|
||||
|
||||
@@ -141,4 +141,3 @@ class TypeUnorderedMapContainer
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -214,4 +214,3 @@ namespace Trinity
|
||||
//}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user