Misc: More cleanup

This commit is contained in:
Aokromes
2017-11-25 02:25:18 +01:00
parent 91affef0c6
commit b93430ee08
105 changed files with 0 additions and 105 deletions

View File

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

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

@@ -212,4 +212,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

@@ -33,4 +33,3 @@ namespace Battlenet
};
}
#endif // BattlenetPacketCrypt_h__

View File

@@ -39,4 +39,3 @@ namespace Battlenet
}
#endif // AchievementPackets_h__

View File

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

View File

@@ -107,4 +107,3 @@ class TC_DATABASE_API PreparedResultSet
typedef std::shared_ptr<PreparedResultSet> PreparedQueryResult;
#endif

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -66,4 +66,3 @@ struct AISpellInfoType
AISpellInfoType* GetAISpellInfo(uint32 i);
#endif

View File

@@ -58,4 +58,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

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

View File

@@ -1504,4 +1504,3 @@ CacheSpellContainerBounds SmartAIMgr::GetCreateItemSpellContainerBounds(uint32 i
{
return CreateItemSpellStore.equal_range(itemId);
}

View File

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

View File

@@ -436,4 +436,3 @@ class BattlegroundEY : public Battleground
uint32 m_HonorTics;
};
#endif

View File

@@ -253,4 +253,3 @@ class TC_GAME_API Channel
AreaTableEntry const* _zoneEntry;
};
#endif

View File

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

View File

@@ -71,4 +71,3 @@ inline Item* NewItemOrBag(ItemTemplate const* proto)
return (proto->InventoryType == INVTYPE_BAG) ? new Bag : new Item;
}
#endif

View File

@@ -196,4 +196,3 @@ uint32 GenerateEnchSuffixFactor(uint32 item_id)
}
return 0;
}

View File

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

View File

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

View File

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

View File

@@ -123,4 +123,3 @@ class UpdateMask
};
#endif

View File

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

View File

@@ -125,4 +125,3 @@ private:
};
#endif

View File

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

View File

@@ -141,4 +141,3 @@ class Grid
//ActiveGridObjects m_activeGridObjects;
};
#endif

View File

@@ -75,4 +75,3 @@ class GridLoader
};
*/
#endif

View File

@@ -37,4 +37,3 @@ class GridRefManager : public RefManager<GridRefManager<OBJECT>, OBJECT>
iterator end() { return iterator(NULL); }
};
#endif

View File

@@ -50,4 +50,3 @@ class GridReference : public Reference<GridRefManager<OBJECT>, OBJECT>
GridReference* next() { return (GridReference*)Reference<GridRefManager<OBJECT>, OBJECT>::next(); }
};
#endif

View File

@@ -61,4 +61,3 @@ void RemovalState::Update(Map& map, NGridType& grid, GridInfo& info, uint32 diff
}
}
}

View File

@@ -191,4 +191,3 @@ class NGrid
bool i_GridObjectDataLoaded;
};
#endif

View File

@@ -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 &);

View File

@@ -2661,4 +2661,3 @@ void Group::ToggleGroupMemberFlag(member_witerator slot, uint8 flag, bool apply)
else
slot->flags &= ~flag;
}

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

@@ -36,4 +36,3 @@ class AddonHandler
};
#define sAddOnHandler AddonHandler::instance()
#endif

View File

@@ -879,4 +879,3 @@ void WorldSession::HandleRepairItemOpcode(WorldPacket& recvData)
_player->DurabilityRepairAll(true, discountMod, guildBank != 0);
}
}

View File

@@ -57,4 +57,3 @@ struct NpcTextLocale
StringVector Text_1[MAX_GOSSIP_TEXT_OPTIONS];
};
#endif

View File

@@ -42,4 +42,3 @@ void WorldSession::HandleSetActiveVoiceChannel(WorldPacket& recvData)
recvData.read_skip<uint32>();
recvData.read_skip<char*>();
}

View File

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

View File

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

View File

@@ -28,4 +28,3 @@ inline MovementGenerator* MovementGeneratorFactory<Movement>::Create(void * /*da
}
#endif

View File

@@ -44,4 +44,3 @@ class HomeMovementGenerator : public MovementGeneratorMedium< T, HomeMovementGen
};
#endif

View File

@@ -79,4 +79,3 @@ public:
#define sScriptReloadMgr ScriptReloadMgr::instance()
#endif // SCRIPT_RELOADER_H

View File

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

View File

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

View File

@@ -320,4 +320,3 @@ WeatherState Weather::GetWeatherState() const
return WEATHER_STATE_FINE;
}
}

View File

@@ -241,4 +241,3 @@ if (DISABLED_SCRIPT_MODULE_PROJECTS)
endif()
message("")

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

@@ -97,4 +97,3 @@ enum STRMisc
};
#endif

View File

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

View File

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

View File

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

View File

@@ -463,4 +463,3 @@ void AddSC_boss_akilzon()
new boss_akilzon();
new npc_akilzon_eagle();
}

View File

@@ -795,4 +795,3 @@ void AddSC_boss_hex_lord_malacrass()
new boss_alyson_antille();
new spell_hexlord_unstable_affliction();
}

View File

@@ -700,4 +700,3 @@ void AddSC_boss_janalai()
new npc_janalai_hatchling();
new npc_janalai_egg();
}

View File

@@ -440,4 +440,3 @@ void AddSC_boss_nalorakk()
{
new boss_nalorakk();
}

View File

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

View File

@@ -42,4 +42,3 @@ enum OHWorldStateIds
};
#endif

View File

@@ -66,4 +66,3 @@ enum TBMCreatureIds
};
#endif

View File

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

View File

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

View File

@@ -58,4 +58,3 @@ enum SSDataTypes
};
#endif

View File

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

View File

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

View File

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

View File

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

View File

@@ -521,4 +521,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

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

View File

@@ -73,4 +73,3 @@ enum GameObjectIds
};
#endif

View File

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

View File

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

View File

@@ -127,4 +127,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

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

View File

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

View File

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

View File

@@ -218,4 +218,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

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

View File

@@ -62,4 +62,3 @@ TC_SCRIPT_API char const* GetBuildDirective()
#ifdef TRINITY_IS_DYNAMIC_SCRIPTLOADER
} // extern "C"
#endif

View File

@@ -17,4 +17,3 @@
*/
#include "ScriptPCH.h"

View File

@@ -44,4 +44,3 @@
#endif
#endif

View File

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

View File

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

View File

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

View File

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

View File

@@ -141,4 +141,3 @@ class TypeUnorderedMapContainer
};
#endif

View File

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

Some files were not shown because too many files have changed in this diff Show More