Shauren
db0b8bf24e
Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
...
Note: Extracting maps is required
2016-02-02 19:13:04 +01:00
Shauren
9ab47a1624
Warning fixes
2016-01-04 00:24:33 +01:00
Shauren
be32e43fb9
Another warning fix
2016-01-03 00:58:37 +01:00
Shauren
bb9c69b211
Warning fix
2016-01-03 00:55:48 +01:00
Shauren
d9849fb87b
Core/DataStores: Implemented checking PlayerCondition for future use
2016-01-03 00:40:18 +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
MitchesD
cdb5bd3eb7
Core/Conditions: extended CONDITION_NEAR_CREATURE, condition value 3 is now used to check for dead creature entries (0 - alive, 1 - dead)
...
* I used 0 for alive to avoid touching all conditions with this type
2015-12-03 21:37:33 +01:00
Vincent-Michael
d80f38ed4f
Core/Condition: Remove unused code
2015-11-15 00:40:29 +01:00
Vincent-Michael
39a5844c6e
Core: Fix warning
...
(cherry picked from commit d0c28c66eb )
2015-11-14 04:25:11 +01:00
Vincent-Michael
700508e484
Core/Condition: Fix issue reported by static analysis
...
Coverity defect ID: 1339314
(cherry picked from commit d188960216 )
2015-11-14 04:24:51 +01:00
Naios
b7b49fe35f
Core/Globals: Use std::string rather than char* to pass script names around.
2015-11-04 20:52:13 +01:00
Shauren
d8391f23b1
Build fix after cherry-picks
2015-10-31 00:05:09 +01:00
Shauren
db0c48c17f
Core/Conditions: Optimizations part 3 changed ConditionStore to a simple array
2015-10-25 13:35:45 +01:00
Shauren
b09e63e9de
Core/Conditions: Optimizations part 3 removed copying condition containers all over the place
2015-10-25 13:20:28 +01:00
Shauren
2cce998e90
Core/Conditions: Add const to methods not modifying ConditionMgr
2015-10-25 12:22:53 +01:00
Shauren
e5c1e7d71c
Core/Conditions: Optimizations part 2 removed unneeded code
2015-10-25 12:22:04 +01:00
Shauren
9fa938f3e0
Core/Conditions: Optimizations part 1 - use containers more suited for their role
2015-10-25 12:00:05 +01:00
Shauren
5e0cee85dd
Core/Conditions: Type renaming
2015-10-25 10:59:58 +01:00
Shauren
52d5de1a7f
Core/Conditions: Phase condtion changes
...
* SourceGroup defines which phase should the condition affect
* SourceEntry limits the area of the phase (alternatively 0 means all areas)
2015-10-25 00:22:21 +02:00
joschiwald
cf1e80e3d0
Core/Misc: removed some useless map checks
2015-10-04 14:53:05 +02:00
Zedron
ff755dbc07
Core/Conditions: Fixed a typo
...
Fixed a typo which caused implicit target conditions to only be applied to the first effect
bug was introduced in 926a37a
2015-10-01 02:05:25 -05:00
jackpoz
cacf184822
Core/Misc: Remove unneeded ToCreature() casts
...
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet() from Creature to Unit
(cherry picked from commit d243630acf )
Conflicts:
src/server/game/Entities/Player/Player.cpp
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellEffects.cpp
2015-09-24 21:04:46 +02:00
Kittnz
21e0880fba
Core/Condition: Add In Water Condition
...
Updates #7019
(cherry picked from commit 5f8db04761 )
Conflicts:
src/server/game/Conditions/ConditionMgr.cpp
src/server/game/Conditions/ConditionMgr.h
Closes #15285
CONDITION_TERRAIN_SWAP (40) has been changed to 41 to keep compatibility with the 3.3.5 branch
2015-08-15 18:34:48 +01:00
Vincent-Michael
2e586bc520
Core: Header cleanup in game/*/*.cpp
2015-07-25 20:18:42 +02:00
DDuarte
678a08c8c5
Core: Fix multiple warnings
...
Travis should be building again now
2015-07-04 02:43:43 +01:00
DDuarte
2ce76a25c3
Fix build after recent cherry picks
2015-06-26 03:57:57 +01:00
ariel-
7ee455df59
Spell logging corrections
...
(cherry picked from commit fe83ecb2cf )
Conflicts:
src/server/game/Conditions/ConditionMgr.cpp
2015-06-26 03:27:29 +01: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
joschiwald
355928305a
Core/Conditions: adjust logging code after recent phases changes
2015-03-30 16:08:48 +02:00
Rat
eebc468e62
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x
...
Conflicts:
src/server/collision/Management/MMapManager.cpp
src/server/game/Conditions/ConditionMgr.cpp
src/server/game/Conditions/ConditionMgr.h
2015-03-24 20:01:02 +01:00
Duarte Duarte
ec640e3840
Merge pull request #14370 from Kittnz/realm_achievement
...
Core/Condition: Realm Achievement condition
(cherry picked from commit 769acfbd02 )
2015-03-18 00:36:17 +00: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
jackpoz
e6f26cfb1f
Core/Misc: Fix static analysis issues
...
Fix some static analysis issues reported by Coverity.
Rename SpellMgr::EnsureSpellInfo() to SpellMgr::AssertSpellInfo() to be consistent with other similar methods.
2015-02-08 19:40:03 +01:00
jackpoz
5dfd07fa4f
Core/Misc: Fix static analysis issues
...
Fix some static analysis issues reported by Coverity
2015-01-18 18:30:34 +01:00
Shauren
faa583c784
Core/Maps: Updated map difficulties
2015-01-10 01:35:47 +01:00
Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
joschiwald
9ecc578cb1
Core/Scripts: multiple changes
...
- fixed non pch build
- fixed some warnings
- fixed some coverity issues
- some random things here and there
2014-12-29 01:00:16 +01:00
Rat
eda9094226
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into Spells
2014-11-29 14:52:53 +01:00
Gacko
96f9451b85
Core/ConditionMgr: Add string include
...
Travis/Clang did not complain, GCC seems to do.
2014-11-27 19:18:48 +01:00
Rat
926a37a305
Core/Spells: more code updates...
2014-11-22 17:18:16 +01:00
joschiwald
eeef284a53
Resolve merge conflict
2014-11-21 01:36:50 +01:00
joschiwald
fe2649f6e5
Core/Logging: improved conditions error log messages
...
(cherry picked from commit d9c6b8fd89 )
2014-11-21 01:14:17 +01:00
Rat
588143b9b6
Core/Spells: Spell system updates (don't even try to compile this)
2014-11-16 14:20:01 +01:00
Intel
b5236a6cdc
Core/DataStores: Updated AreaTable.dbc
...
Signed-off-by: Nayd <dnpd.dd@gmail.com >
2014-11-15 04:27:35 +00:00
Intel
e1cb43e831
Core/DataStores: Fixed build after rename
2014-11-05 23:33:56 +02:00
DDuarte
e64da763db
Core/Conditions: Correct a misleading comment regarding CONDITION_AURA
2014-11-04 15:13:09 +00:00
Shauren
9e1930959d
Core/Entities: Changed object lowguid to uint64
2014-10-26 02:57:28 +02:00
Shauren
08c56eb110
Core/Entities: First step to 128 bit guids
...
* Database fields storing full guid have been converted to BINARY(16)
2014-10-23 17:01:26 +02:00
Vincent-Michael
63d7b348bb
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
2014-10-10 05:29:06 +02:00
Shauren
67f9d916cb
Build: Fixed game & collision depending on each other for linking
2014-10-09 23:01:31 +02:00