Gacko
41d9364b16
Core/GameObject: Fix crash added in c6bf7e0b1d
...
Thanks @jackpoz
2014-05-06 18:46:08 +02:00
Gacko
c6bf7e0b1d
Core/GameObject: Store unit in GameObject::SetLootState - required for trap activation.
2014-05-05 18:39:53 +02:00
Gacko
d0e6693266
Core/GameObject: Format comments and apply rename of previous commit.
2014-05-05 12:35:41 +02:00
Gacko
99e04ddaf6
Fix indention from changes in previous commit.
2014-05-04 22:32:24 +02:00
Gacko
24ef7dbdf4
Core/GameObject: Solve some TODOs related to traps in GameObject::Update and improve logic.
...
Some more changes, TODO solutions and a fix for traps like those in #1359 or #6388 will follow.
2014-05-04 22:18:12 +02:00
Dehravor
cbd36d5a4e
Core/Misc: Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros
2014-05-01 11:19:32 +02:00
joschiwald
211d56d633
Core/BG/SA:
...
* replaced some trinity_string with broadcasttexts
* basic implementation of phasing in SA
* spawn some triggers in SA (fixes dest position of teleport pads)
* added text getter to broadcasttext struct
* some cleanup in destructable go event notification
2014-04-26 03:40:30 +02:00
jackpoz
7b9b0edb5d
Core/GameObjects: Fix crash with Summoning Ritual GOs
...
Fix a crash happening with GAMEOBJECT_TYPE_SUMMONING_RITUAL GameObjects if a Player clicked on the GO, logged out and let another Player click on it.
Issue added in 464c0c1611
Fixes #11856
2014-04-10 20:41:34 +02:00
Shauren
550cbcad96
Core/Transports: Enabled LoS on transports
2014-03-23 00:23:30 +01:00
Discover-
6b25c2b414
Core/Gameobjects: Fix an exploit where it was possible to use gameobjects from any distance. Fixes for example picking up the WSG flag from any distance using hacking tools.
2014-01-25 16:59:01 +01:00
joschiwald
41b613186e
Core/Battlefield: some codestyle changes
2014-01-10 17:42:08 +01:00
Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
Shauren
107af52853
Core/Chat: Refactored building chat packets
...
* Moved everything into one specialized method instead of being scattered all over the place
* Allow localizing creature names in chat messages (when using $N)
* Send SMSG_GM_MESSAGECHAT for gm messages
2013-12-23 14:23:49 +01:00
jackpoz
1c0903e286
Core/Misc: Fix some static analysis issues
...
Fix some static analysis issues about uninitialized values. Most of them are false positives, always initialized before being accessed, while some of them are real issues spotted by valgrind too.
2013-12-14 18:41:26 +01:00
Ascathor
2607738990
Core/Code: Unify codestyle for brackets: {} to { }.
...
Also added missing copyright to some files.
2013-10-27 23:46:02 +01: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
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
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
Spp
7c36e3a298
Core/Misc: Minor optimizations (+ code changes to reduce differences with 4.3.4 branch)
2013-03-25 10:36:30 +01:00
Trista
ed378ad63c
Core/GameObjects: Implement support for HandleGameObjectUse from vehicle or mount
2013-03-09 05:24:33 +02: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
Spp
802657250c
Core/Misc: Apply codestyle to multiple files
2013-01-14 09:50:59 +01:00
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Shauren
f1170ba0fb
Core: Fixed some level 4 warnings (msvc)
2012-12-31 20:43:14 +01:00
Spp
2251d1bfae
Core/Misc: Set mode 0644 for files
2012-11-27 13:03:12 +01:00
Spp
9fbc4c0ae2
Core/Misc: reduced amount of string memory allocations (Step II)
2012-10-24 15:34:48 +02:00
Spp
013fb1f4d9
Core/Misc: reduced amount of string memory allocations (Step I)
2012-10-24 15:34:48 +02:00
Elron103
d45a768810
Core/GameObject: Implement method GetDisplayId, use it for GameObjectModels
2012-09-22 18:01:51 +02:00
Vincent-Michael
6891fe6248
Core/Battlefield: Add missing stuff for wintergrasp
2012-08-21 23:03:30 +02:00
Gyx
1544b208da
Core/Game: Code style again.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-28 20:00:29 +08:00
Shauren
671fd4176a
Core/GameObjects: Chests will now remain locked for players who left the group if loot from that boss is stored in it (note: this is just an implementation of locking the chest, they still need to be linked to a boss - not yet implemented)
2012-03-12 18:07:34 +01:00
Spp
f1949b20a6
Some random cleanup here and there
2012-03-09 13:42:52 +01:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Subv2112
93d199f043
Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
...
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00
Subv2112
3d4f55723c
Core/SAI: Linked events should be executed after the event that linked them is executed.
...
Core/SAI: Allow SMART_EVENT_GO_STATE_CHANGED to use ActionInvoker target
Signed-off-by: Subv2112 <s.v.h21@hotmail.com >
2012-01-22 20:36:01 -05:00
Subv2112
aaa255b83d
Core/SAI: Implemented SMART_EVENT_GO_STATE_CHANGED and SMART_ACTION_GO_SET_LOOT_STATE
...
Signed-off-by: Subv2112 <s.v.h21@hotmail.com >
2012-01-06 11:09:01 -05:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
megamage
529af3cd09
Delete obj if it is not successfully added to grid. More to fix.
2011-11-28 14:05:25 -05:00
megamage
1b8d9ec7b4
Clean up summon/remove gameobject code.
2011-10-31 10:46:39 -04:00
megamage
bcc55489f8
More cleanup of CanSeeOrDetect
2011-10-13 14:02:07 -04:00
megamage
5912e2444d
Some cleanup of CanSeeOrDetect code.
2011-10-13 13:26:27 -04:00
Bootz
5b4c7783c2
REPO: Code-style clean-ups
...
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go
~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Shauren
a644e0d951
Core/Entities: GameObject's m_unique_users will now store full guids to get rid of silly casts
2011-09-17 13:20:21 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Machiavelli
b560090692
Core/GameObject: Fix interaction distance with GameObjects in all corner cases by overriding Object:_IsWithinDist. Distance calculation to GO's need to take in account GameObjectDisplayInfoDBC entries, otherwise distance would not be calculated from the edges properly and ie. quest interaction with large gameobjects would fail.
2011-08-15 14:09:20 +02:00
Shauren
16a1435a0b
Core/GameObjects: Prevent repeating damage/destruction events when the gameobject is already in that state
2011-07-24 23:55:14 +02:00
Shauren
74e2d981ac
Core/GameObject: Refactored destructible building handling, properly implemented spell effect repair
2011-07-22 21:22:05 +02:00
Shauren
7bdc090681
Core/GameObject: Removed useless typecast
2011-06-25 15:39:43 +02:00
click
c77aa6e846
Core: And some more cleanups...
2011-06-12 02:00:43 +02:00