joschiwald
0790138d73
Core. fix build and some codestyle changes
2013-11-13 23:32:38 +01:00
Spp
94e2b9332a
Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger names are case-sensitive)
2013-11-08 10:50:51 +01:00
Shauren
b6db622b52
Core/Transports: Fixed crashes happening when passenger is removed from transport during teleport
...
Closes #11067
2013-10-20 14:27:17 +02:00
Shauren
7f0f87d243
Build fix
2013-10-16 19:14:00 +02:00
Shauren
ce55647c41
Core/Transports
...
* Rewritten path generation, now uses splines - timers are a lot more accurate now
* Implemented stopping transports
* Implemented spawning transports in instances
* Implemented spawning gameobjects as transport passengers
* Transport passengers are now stored in creature/gameobject table using gameobject_template.data6 from transport's template as map id
2013-10-16 18:37:29 +02:00
Shauren
a368fae588
Core/Players: Fixed issues with incorrect targets being selected for spells
2013-10-03 17:07:25 +02:00
Nay
7776016106
Core/Quests: Remove CastedCreatureOrGO method
...
- Remove EAI's ACTION_T_CAST_EVENT and ACTION_T_CAST_EVENT_ALL
- Remove SAI's SMART_ACTION_CALL_CASTEDCREATUREORGO
- Split QUEST_TRINITY_FLAGS_KILL_OR_CAST into QUEST_TRINITY_FLAGS_KILL and QUEST_TRINITY_FLAGS_CAST
- Assign QUEST_TRINITY_FLAGS_CAST to all the quests that were using RequiredSpellCastX
- (unrelated) Fix a warning in Player.cpp
- Replace CastedCreatureOrGO usage in scripts by KilledMonsterCredit
TODO: Convert the two EAI scripts commented out in the .sql to proper SAI
Closes #10667
2013-08-30 19:32:08 +01:00
joschiwald
e0f010b310
Scripts: Random script fixes and code optimizations
2013-08-19 20:03:06 +02:00
Spp
b05665660a
Core/Battleground: Get rid of dinamic casts BattlegroundXX outside Battleground scope by implementing generic functions (1/2)
...
- HandleQuestComplete, CanActivateGO and IsSpellAllowed
2013-08-07 10:31:13 +02:00
Discover-
7f744de746
Core/Misc: Implement reinterpret casts for all battleground classes and use them.
2013-08-06 13:26:52 +02:00
Vlad
0b9a8ccef5
Core/Misc: Change creatures and gameobject phasemask from 16 to 32 bits
...
Signed-off-by: Nay <dnpd.dd@gmail.com >
2013-07-19 04:03:40 +01:00
Vincent-Michael
09eea66ee1
Core: Fix warnings
2013-06-18 16:51:56 +02:00
Shauren
fa75fe78bd
Core/Objects
...
* Split BuildValuesUpdate into separate virtual methods for every object type that does something special with update fields
* Removed _SetCreateBits/_SetUpdateBits to halve the amount of checks if field needs to be sent
2013-06-15 15:16:36 +02:00
Malcrom
66978cfc3b
Core: Some function renaming.
2013-06-11 19:54:27 -02:30
Spp
9664c0ab5c
Core/Misc: Another batch of fixes for issues found by static analysis
2013-05-30 13:18:29 +02:00
Spp
d1677b2db0
Core/Logging: Performance-related tweaks to logging system
...
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
Memleak fix
2013-05-13 15:07:36 +02:00
Shauren
1fbe054bd5
Core/GameObjects: SMSG_DESTRUCTIBLE_BUILDING_DAMAGE needs to be sent for destructible building heals as well
2013-05-11 11:40:12 +02:00
Gacko
7df4d147e3
Core/Gossips: Fix usage of PrepareGossipMenu with GOs
2013-04-04 19:57:06 +02:00
Nefarion
49fd11ab5a
First step of comment style refactoring to doxygen-style.
2013-03-08 21:55:37 +01:00
Shauren
6be5bc71eb
Core/GameObjects
...
* Removed long deprecated code for mining nodes (multiple uses, artifact of TBC)
* Made fishing pools generate use count only on spawn (and respawn) instead of randomizing use count on every fishing attempt - prevents early despawning in some cases
2013-03-02 23:59:42 +01:00
Shauren
944d7290ad
Core/Loot: Minor change to previous commit, thanks Vincent_Michael for reminding me about this method in Map class
2013-02-14 11:41:20 +01:00
Shauren
ca280dbe05
Core/Loot: Only 3 items of the same entry can drop on 25 man raid difficulties and 1 everywhere else (non-raid or 10 man)
2013-02-13 20:24:23 +01:00
Nay
9394dc10b4
Core/Scripts: Drop gameobject_scripts table - empty, deprecated and no longer needed
2013-01-03 19:18:26 +00:00
Spp
2292025bf9
Core/Misc: Replaced some macro definitions with inline functions
2013-01-02 09:07:52 +01:00
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Spp
2251d1bfae
Core/Misc: Set mode 0644 for files
2012-11-27 13:03:12 +01:00
click
50944711c8
Core: Change phrasing on the logmessage given when a gameobject loses its reference owner
2012-11-27 02:44:30 +01:00
Shauren
4dffccb93f
Core/Spells: Corrected radius calculation
2012-11-26 11:11:30 +01:00
ille
2450f4ea56
fishing: set respawntime to now when cant loot, for correct despawn of bobber
...
removegameobject from player instead cancel spell, for correct remove of fishing aura
2012-11-03 15:31:14 +01:00
Spp
013fb1f4d9
Core/Misc: reduced amount of string memory allocations (Step I)
2012-10-24 15:34:48 +02:00
Gacko
2c8c7a195d
Core: Implement Gameobject::Use() for traps
2012-10-21 14:38:46 +02:00
kaelima
ca276292dc
Core/BG:
...
- Force removal of stealth and invisible auras when using gameobjects with type GAMEOBJECT_TYPE_FLAGSTAND and GAMEOBJECT_TYPE_FLAGDROP
- Do not allow players to use unfriendly battleground objects (prevents flag cap with Nitro Boosts active for example)
2012-10-17 16:56:35 +02:00
Subv
b06e9cfd41
Revert "Core/Entities: Do not create the model twice for a GameObject."
...
This reverts commit 0f166336ca .
2012-10-12 09:33:34 -05:00
trickerer
0f166336ca
Core/Entities: Do not create the model twice for a GameObject.
...
Should fix #5218 (Still need to check)
2012-10-07 19:42:06 -05:00
Nay
d641775a1f
Core/Traps: Remove hardcoded cooldown value of 1 and use startDelay instead, as per Kaelima suggestion
...
startDelay is 1 for all hunter traps
Fix non PCH build (boss_elder_madox.cpp)
Remove a double parentheses in LFGGroupScript
2012-10-06 17:01:29 +01:00
Nay
0edd7f4459
Merge pull request #7981 from Retriman/SpellTi
...
Core/Spell: Traps Hunter.
2012-10-06 08:41:13 -07:00
Retriman
7e651ed729
Core/Spell: Traps Hunter.
...
*Fix the range of the activation of the traps, according for video and comments.
*Fix armed traps in combat change in 3.0.2. see u http://us.battle.net/wow/en/game/patch-notes/3-0-2
2012-10-05 15:17:14 -04:00
kandera
42c047bebc
Merge pull request #7839 from Warpten/soulwell
...
Core/Spells: Fixed Soulwell charges removal on use.
2012-10-05 06:04:24 -07:00
Spp
7831ecdb18
Core: "Initial support for C++11 compilers"
2012-10-02 15:06:19 +02:00
Warpten
a2c9c4098a
Core/Spells: Fixed Soulwell getting two charges removed (or more) per click.
2012-09-22 21:28:37 +02:00
Subv
7dbc20626e
Core/Entities: Fixed GameObject::FindNearestX for objects with the same coordinates.
...
closes #4581
2012-09-08 15:24:59 -05:00
Vincent-Michael
de15f70501
Core: Fix build
2012-09-04 22:39:04 +02:00
Nay
b4bc78e24b
Corrections to previous merged in PR
2012-09-04 19:48:29 +01:00
Kandera
8afecc6572
Core/Gameobject: fix collision for gameobjects
2012-09-04 14:04:47 -04:00
Vincent-Michael
a4c115a494
Core: Fix build
2012-09-04 18:21:00 +02:00
Kandera
26af8ac65a
Core/Gameobject: another attempt at fixing collision. chest gameobject initial collision provided by vincent-michael
2012-09-04 12:08:12 -04:00
Nay
e3d9768a50
Core: Fix many "errors"/warnings and coding style (3)
...
Game
Errors were found using Cppcheck, open-source static analysis tool
2012-08-30 22:44:33 +01:00
Kandera
a1b3ec2e21
Core/Gameobject: fix build
2012-08-23 12:10:04 -04:00
Kandera
53db3d9700
Core/Gameobject: fix collision handling.
2012-08-23 11:58:57 -04:00
Vincent-Michael
6891fe6248
Core/Battlefield: Add missing stuff for wintergrasp
2012-08-21 23:03:30 +02:00