Commit Graph
235 Commits
Author SHA1 Message Date
Shauren 3d7c2ef88f Core/Game: Include cleanup, part 4 - packets and largest headers (after preprocessing, except player/objectmgr) 2017-05-21 23:18:43 +02:00
Shauren 5992572175 Nopch build fix 2017-05-19 00:41:18 +02:00
Shauren c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren b421a5c0cb Core/Game: Include cleanup - remove Map dependency from Object.h 2017-05-15 22:55:16 +02:00
Shauren efc16ded75 Fix nopch build 2017-05-14 12:49:48 +02:00
Traesh c73ce93f4c Core/Entities : Basic Conversation Implementation (#18010) 2017-05-14 11:40:55 +02:00
Shauren 9299e9bde0 Core/Grids: Ported cmangos/mangos-wotlk@ea99457e50 2017-05-13 19:37:33 +02:00
joschiwald 036f67c0c1 Core/Collision: Replaced phasemask with proper phases in GameObject collision calculation 2017-05-05 21:22:58 +02:00
joschiwald 272d2a29e5 Core/Entities: Tweak WorldObject::IsNeverVisible to pass the seer 2017-05-05 13:31:25 +02:00
Shauren c0eb6c3130 Core/Entities: Update updatefields to 7.2.0 2017-04-16 01:13:09 +02:00
treeston e9b931e297 Entities/Object: Add some Position const& overloads to distance/angle methods for usability.
(cherry picked from commit 0e8c2f90320ad0dd3ef48ae324b64006d47ea0ca)

Woops. Thanks, clang.

Crash fix.
(cherry picked from commit 1b7eebc7ba211723fedcc38ac2adc9223ec2afad)
2017-02-26 15:49:01 +01:00
ariel- c429e7d489 Core/Entities: debloat SummonGameObject parameter list using proper wrappers and enable GO rotation in scripts
- There's still an overload allowing for x, y, z, o to be passed directly
- Fixed default animstate for GameObject creation in many places, it should be 255, not 100 (checked in sniffs)

(cherry picked from commit 62bfee37cb21584cef631dda428feaf5eb829cda)

# Conflicts:
#	src/server/game/Battlefield/Battlefield.cpp
#	src/server/game/Battlegrounds/Battleground.cpp
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/GameObject/GameObject.h
#	src/server/game/Entities/Object/Object.cpp
#	src/server/game/Entities/Object/Object.h
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/scripts/Commands/cs_gobject.cpp
#	src/server/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
#	src/server/scripts/Kalimdor/zone_feralas.cpp
#	src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
#	src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
#	src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
2017-02-11 20:50:29 +01:00
Golrag e9e3daa30c Core/Object: Use object edges to calculate LoS
(cherry picked from commit da6065db00768735e70cd0a81af7f5ec4c2f0414)
2017-01-09 02:07:42 +01:00
treeston bef9683a30 Core/Scripts: Added reasonable default params to GetCreatureListWithEntryInGrid/GetGameObjectListWithEntryInGrid for ease of use. Also, entry = 0 means no filter now, since we lacked an easy way to get a list of all creatures in grid.
(cherry picked from commit 0d5adf356ebaf57507c2a937e47db5e6b97c3e22)
2017-01-08 16:56:21 +01:00
Shauren 7eb1eb1715 Core/Random: Removed ancient and unused MAP_BASED_RAND_GEN
(cherry picked from commit 1ad02a0d61671db707d52aa9f90d770002d6d67f)
2017-01-07 22:36:25 +01:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren 26321d88d4 Build fix 2016-12-28 14:29:27 +01:00
joschiwald 7ee0e2ad08 Core/Packets: added SMSG_PLAY_SPEAKERBOT_SOUND packet class 2016-12-03 16:45:30 +01:00
joschiwald 7fbc4374f3 Core/Entities: GameObjectDespawn packet is only sent for GameObjects 2016-11-16 22:46:37 +01:00
Krudor 8444ab7365 Core/Instances: Implemented base scenario system and objectives in dungeons
Closes #17905
Closes #18034
2016-11-06 23:30:49 +01:00
Shauren cf2602ba63 Core/Movement: Changed movement flags2 to uint32 2016-09-11 17:04:14 +02:00
Shauren e405ac5f41 Fixed nopch build and some leftover warnings 2016-07-20 13:27:04 +02:00
Shauren a9a13d10f7 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-17 17:37:06 +02:00
Shauren 28983c3ae0 Core/PacketIO: Fixed building ITEM_DYNAMIC_FIELD_MODIFIERS update 2016-07-14 08:52:36 +02:00
Shauren 6321206938 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-13 17:08:40 +02:00
Shauren db85bad1ff Core/PacketIO: Fixed dynamic updatefield handling when values get removed 2016-07-13 00:07:09 +02:00
Shauren 9b14e8248c Core/PacketIO: SMSG_UPDATE_OBJECT optimization - removed unneccessary memory allocation by dynamic_bitset 2016-07-11 17:14:42 +02:00
Shauren 452cae0c0b Core/Items: Fixed saving gem bonuses 2016-07-10 14:41:18 +02:00
Shauren 22d29ce049 Core/Players: Fixed crash happening during character creation added in previous commit 2016-07-10 11:27:38 +02:00
Shauren 0d9136f764 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-10 00:37:33 +02:00
Shauren a78aa3cf4e Core/PacketIO: Refactored building SMSG_UPDATE_OBJECT to append directly to final buffer and removed UpdateMask class 2016-07-10 00:11:19 +02:00
Shauren 1c10f9c311 Core/PacketIO: Fixed building SMSG_UPDATE_OBJECT 2016-06-28 18:34:50 +02:00
Shauren 5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
MitchesD f636141345 Core/Phase: phase_area table now support even parent area (known as zone)
Closes https://github.com/TrinityCore/TrinityCore/issues/17025
2016-05-18 20:06:47 +02:00
Treeston 9476726edc Merge pull request #16676 from ccrs/summonsinit
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon
(cherry picked from commit 472e78d682cb5d5abf4d60111f238744c07096ac)
2016-04-08 22:58:28 +02:00
Naios bf33159a70 Core/Game: Converted the game library to a shared library.
* There is still the possibility to static link against game.
2016-03-24 01:31:51 +01:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren 3b52fcc769 Merge remote-tracking branch 'origin/6.x_implement_taxi' into 6.x 2015-09-19 17:41:24 +02:00
Shauren f1b047b826 Core/Taxi: Further improvements
* Updated segment distance calculations - now selected path fully matches clientside preview
* Fixed building sOldContinentsNodesMask to also include any new taxi node added in future
* Implemented filtering possible hops when searching for shortest path by faction (and in future PlayerCondition)
* Changed ObjectMgr::GetNearestTaxiNode to filter faction nodes by flags instead of mount display
2015-09-19 16:44:33 +02:00
Shauren 225bbe7f72 Core/PacketIO: Implemented correct opcode for GameObject animkit changes and enabled all animkit related opcodes 2015-09-16 17:06:24 +02:00
DDuarte 7d9843c380 Core/Misc: Add a few consts to methods 2015-07-22 23:24:56 +01:00
Shauren a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
mik1893 fa0e5289a8 Merge pull request #14974 from pete318/stealth_work
Stealth changes (Player stealthed vs NPCs) - 3.3.5
(cherry picked from commit 90fcfb3f2d71e15d162cb52b915b53a11bc42212)

Conflicts:
	src/server/game/Entities/Object/Object.h
	src/server/game/Entities/Unit/Unit.cpp
2015-07-19 01:43:05 +01:00
Shauren acd4b6fb50 Core/Entities: Allow all object types to use anim kits, not only players/creatures 2015-05-25 01:50:03 +02:00
Shauren 48ee1f0033 Core/Misc: Moved Position to its own file 2015-05-02 00:05:01 +02:00
Shauren ca83e14f8b Core/Entities: Reworked guid scopes
* Added ObjectGuid traits to easily access whether guid type can be generated globally (ObjectMgr) or not
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396eb0b
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
2015-04-28 21:19:46 +02:00
Rat 81df6b2ad2 Core/Phases: Defined default phaseID 2015-03-29 17:56:20 +02:00
Rat 8f3a80c1cf Core/Phases: Ported new phasing system from 4.3.4 branch and fixed some map swap logic 2015-03-16 07:28:49 +01:00
Epicurus4 4ffdf3396d Added a player searcher
This can be used in scripts to search for Player* objects within a given
range.
2015-02-10 22:16:07 -05:00
joschiwald 053d5f24ee Core/Packets:
- added inspect packets
- updated opcode values
2015-02-01 20:52:05 +01:00