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
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
01a79947d5
More cleanup after last commit spree
2011-04-29 19:59:40 +02:00
leak
e2e9431ca3
Core/ObjectMgr: Refactor sGOStorage
2011-04-28 22:54:30 +02:00
Supabad
5f4337f7e9
Core/GameObjects: traps that dont have a owner should despawn after spell cast.
2011-04-08 18:33:13 +02:00
Machiavelli
1c3082446e
Core/Gameobject: Respect cooldown for trap and goober gameobjects.
...
Original patch by VladimirMangos
2011-03-14 23:16:34 +01:00
Shauren
6c020c72cc
Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1
2011-03-02 16:50:09 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
click
80694546a3
Core: Fix non-PCH compile (include Unit.h so we don't get a forward declaration issue, and also include the necessary defines)
...
--HG--
branch : trunk
2010-11-13 20:06:19 +01:00
linencloth
bf888285aa
Core:
...
- Redesigned stealth and invisibility handling
- Implemented the handling of multiple stealth types
- Implemented fake inebriation
- The message deliverer no longer sends packets from a non-visible source
- The server won't send that much garbage which just takes bandwith
- It won't be possible to use cheats to detect invisible objects
- Removed a lot of checks for the Z-coord
- Fixes visibility problems happening while flying
- Limited the grid activation range of creatures to use less resources
- Implemented Shroud of Death
- Implemented increased visibility range for active objects
- Removed visibility check at spellhit (only sanctuary effects should prevent it)
(And a lot of other changes...)
Closes issue 4208
Closes issue 3049
Closes issue 2097
Closes issue 2198
Closes issue 2384
Closes issue 2197
Closes issue 2319
--HG--
branch : trunk
2010-11-13 17:18:09 +01:00
Rat
064b3fd2b3
Core/AI: use NullGameObjectAI for gameobjects with ScriptName
...
- use GameObjectAI with Transports too
--HG--
branch : trunk
2010-10-25 18:11:52 +02:00
Spp
739f336618
Core: Fix warnings
...
--HG--
branch : trunk
2010-10-25 11:25:42 +02:00
Shauren
ae58481c21
Core/Entities: Remove circular dependencies from GameObject headers, fixes *nix compile
...
--HG--
branch : trunk
extra : rebase_source : bcedd4aed81ad6fb72a13607cf954c11356bbfcc
2010-10-24 22:03:53 +02:00
Rat
62739ed26f
Core/AI: implemented basic class for GameObjectAI
...
--HG--
branch : trunk
2010-10-23 23:31:37 +02:00
click
613b81f36f
REALLY fix the CRLF-crap...
...
--HG--
branch : trunk
2010-10-07 15:54:07 +02:00
click
8ea4b32fab
Update copyright headers (following the same standard in all files = good)
...
--HG--
branch : trunk
2010-10-07 12:41:56 +02:00
Shocker
78803c9f09
Magic numbers cleanup:
...
- Replace many magic numbers with constants
- Use enum for vehicle flags/seat flags
- Correct structure for ItemRandomSuffixEntry
--HG--
branch : trunk
2010-09-28 08:21:51 +03:00
linencloth
d8a854d6e0
Core: Cleanup locale handling.
...
It also fixes the recent problem of strange strings.
--HG--
branch : trunk
2010-09-17 07:04:29 +02:00
azazel
5fa14f58dc
Core/Cleanup:
...
* move repeating code into separate method for storing locale strings in ObjectMgr (copy/paste sucks, you know)
* fix 'signed/unsigned' warnings (at least in VS)
* fix some other warnings and cleanup relative code
--HG--
branch : trunk
2010-08-26 15:54:56 +06:00
azazel
464c0c1611
* Process GAMEOBJECT_TYPE_FISHINGHOLE in normal way as for other GO's (thanks NoFantasy)
...
* Improve process for Use() of GAMEOBJECT_TYPE_SUMMONING_RITUAL (thanks NoFantasy)
--HG--
branch : trunk
2010-08-09 22:50:30 +06:00
Shauren
7cae47210e
Added ScriptName to transports table for script system rewrite
...
--HG--
branch : trunk
2010-08-06 12:13:13 +02:00
Shauren
46c1a4640d
Groups are now stored by low guid in map
...
Creatures and gameobjects also store looting group by low guid instead of full guid
--HG--
branch : trunk
2010-08-02 17:28:47 +02:00
QAston
48b360097c
*use ASSERT macro instead of regular assert for better output.
...
--HG--
branch : trunk
2010-07-30 20:04:28 +02:00
QAston
e232c0e235
*Cleanup in ObjectAccessor - this should fix some crashes
...
--HG--
branch : trunk
2010-07-28 00:08:21 +02:00
click
673c652ba6
change "IN_MILISECONDS" to proper english "IN_MILLISECONDS"
...
--HG--
branch : trunk
2010-07-12 00:30:17 +02:00
Machiavelli
b823302088
Remove a duplicate query.
...
--HG--
branch : trunk
2010-06-23 13:31:17 +02:00
Machiavelli
968c27f55f
Implement taxi/transport event scripts support. Author: Vladimir
...
--HG--
branch : trunk
2010-06-23 01:59:32 +02:00
Brian
b76b6700ed
* Linux compile with and without PCH fixed
...
* Script library compile fixed
* --todo: fix all scripts themselves :)
--HG--
branch : trunk
2010-06-08 13:05:47 -06:00
Brian
15f8bbe9ca
* More cleanup
...
--HG--
branch : trunk
2010-06-07 12:08:15 -06:00
Rat
75b80d9f5b
rearranged core files
...
--HG--
branch : trunk
2010-06-05 23:40:08 +02:00