aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
AgeCommit message (Collapse)Author
2010-02-03*Move object's field\visibility update functions to object from accessorsilver1ce
removed useless SendUpdateObjectToAllExcept - anyway fields will be updated, there is no sense to force update them --HG-- branch : trunk
2010-01-30* Set the default spawntimesecs for creatures / gameobjects added in game to ↵Brian
5 minutes * Was 25 seconds * Thanks Paradox --HG-- branch : trunk
2010-01-23* Remove CellLock class and all cell-level thread locking.XTZGZoReX
** It was wasting CPU power as cell-level locking is not needed. ** Our multithreading is on map-level, not cell-level. ** CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data. ** Some minor cleanup in Cell::Visit/Map::Visit. --HG-- branch : trunk
2010-01-22*Prevent assertion fail in Unit::_AddAura after creature add to remove list.QAston
--HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-16 Rewrite parts of GameObject use for GO type 10, by NoFantasy.n0n4m3
--HG-- branch : trunk
2010-01-16Fix a meam leak in GameObject's destructor.Anubisss
main part of my log: ==19804== 584 bytes in 73 blocks are definitely lost in loss record 107 of 298 ==19804== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230) ==19804== by 0x930A2B: GameObject::GameObject() (GameObject.cpp:43) --HG-- branch : trunk
2010-01-07fishing: send correct message when fish escape.Trazom62
--HG-- branch : trunk
2009-12-31* Re-Fixed GO type 6 and type 8 to use radius for distance calculations insteadBrian
* of diameter. This will prevent things like people getting burned even though * you aren't touching the fire. --HG-- branch : trunk
2009-12-26Fixed crash in lookup GO gossipn0n4m3
--HG-- branch : trunk
2009-12-25Fix typo in GO gossipID check for type 10. by NoFantasyn0n4m3
--HG-- branch : trunk
2009-12-24Temporary revert 6743 commit. I fix this patch across 1-2 days.n0n4m3
--HG-- branch : trunk
2009-12-23Replaced time(NULL) on sGameTime.GetGameTime() this is used for better ↵n0n4m3
performance. Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton. 2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs. --HG-- branch : trunk
2009-12-20*apply trinity style to whole sourceRat
*comment out all mangos to trinity defines *this will make merging a little harder, but code will be more clear --HG-- branch : trunk
2009-12-20Merge MaNGOS, Gossip System. Autor NoFantasy.win32
* DB support required * Closes #859 --HG-- branch : trunk
2009-12-20* Add support for the use of Gameobject type 10 (GOOBER) use when not on questBrian
* if data1=-1 --HG-- branch : trunk
2009-12-16MaNGOS merge: Mail System.win32
* Store loot in mail_loot_template indexed by mail template ids. * Implement proper creating mail text copy item from mail template based mail. * Move send functions to new MailDraft class from WorldSession. * Implement mails sending at player levelup. * Autor VladimirMangos, converted by me. --HG-- branch : trunk
2009-11-30Fix some issues with fishing. Closes #421, patch by make_the_kingMachiavelli
--HG-- branch : trunk
2009-11-27Apply #412.Kudlaty
Add support to gameobject type Transport (11) that should stop like Orgrimmar arena Elevators or pilars. Patch by Spp and Opterman --HG-- branch : trunk
2009-11-21*Cleanup, more consistant HandleDummyAuraProc code (added basepoints1 and ↵maximius
basepoints2 and edited some spell cases to use these instead of more hacky custom methods..) --HG-- branch : trunk
2009-11-03*Update WorldSession::HandleMovementOpcodes with some new information on how ↵maximius
vehicles behave, and do a little bit of cleanup. --HG-- branch : trunk
2009-11-01*Cleanup, fix many cases of unoptimized loops, potential crashes, ↵maximius
excessively large data types, unnecessary or wrong casts, non-standardized function calls, and so on.. *Proper Maexxna Web Spray locations (old locations sent players flying into the air) --HG-- branch : trunk
2009-10-28*More precise method for determining whether or not a seat is occupied ↵maximius
(disregarding object size). --HG-- branch : trunk
2009-10-28*Implement new LootMode system, and add some basic support in ↵maximius
boss_sartharion.cpp. Requires database support. --HG-- branch : trunk
2009-10-28*One player per slot on bench/chair, original patch by Trojan for TC1.maximius
--HG-- branch : trunk
2009-10-18*Cleanupmaximius
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-10-06* Fix bug that caused a 100% chance to increase fishing skill on fishing ↵Machiavelli
regardless of area. --HG-- branch : trunk
2009-10-06* Allow players to get fishing skillups from fishing in any area, no more ↵Machiavelli
"your fish got away" message. However still need core support to manipulate fishing loot based on fishing skill. --HG-- branch : trunk
2009-09-27*Merge [8524] New cell search algorithm implemented. You can now choose ↵maximius
different visibility distances on continents, in BG/Arenas and instances. Author: Ambal *Some warning cleanup --HG-- branch : trunk
2009-09-18*[8475] fixed some gcc-warnings Author: balrokmaximius
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos *[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce *[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos *[8496] Resolve some #include cycles and unsafe code. * Common.h -> Threading.h -> Errors.h -> Common.h * Remove reduncdent #include "ByteBuffer.h" in headers * Remove redundent #include "Auth/BigNumber.h" in headers * Avoid multyply data copy at use some now dropped functions in BigNumber. * Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber. * Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos. *[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos. *[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy *[8506] Add check for IsAutoComplete() in SendPreparedQuest(). For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems. Some additional code cleanup. Author: NoFantasy *[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no> Thanks to Stryker and onkelz28! --HG-- branch : trunk
2009-09-14Backed out changeset d3fe2d6d504a (please test your patches thoroughly ↵maximius
before getting me to push them ogeraisi) --HG-- branch : trunk
2009-09-14*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)maximius
--HG-- branch : trunk
2009-09-04Fix some issues with game object create according to last patch. Thx to ↵Kudlaty
NoFantasy and DearScorpion --HG-- branch : trunk
2009-09-03Fix bug with going trough things on login. Thanks to Opterman and NofantasyKudlaty
--HG-- branch : trunk
2009-09-02*Combine gobject::deleteobjectwithowner and deletemegamage
--HG-- branch : trunk
2009-08-31*Fix a typo that makes buildings in wintergrasp can never be destroyed and ↵megamage
titan relic cannot be clicked. --HG-- branch : trunk
2009-08-21*Wintergrasp: give honor for every captured workshops in the end of the battle.megamage
--HG-- branch : trunk
2009-08-21*Display max veh number and capture point banner in wintergrasp.megamage
--HG-- branch : trunk
2009-08-19 [8381] Some refactoring work in Unit::m_currentSpells code. Author: ↵megamage
VladimirMangos * Restrict access, use enum args, move some repeated code parts to function. * Make m_selfContainer set only part of Unit::SetCurrentCastedSpell --HG-- branch : trunk
2009-08-17Fix negative spawntimesecs handling in gameobjects - they now start off ↵QAston
unspawned and disappear correctly upon despawn (even if PCs aren't moving) Quest 308 changed to not require completion of 403 (offi does not have 403 as quest, just a gossip) Quest 308 finish script changed to show unguarded barrel earlier (as it does in offi) Author of all of these: totoro. --HG-- branch : trunk
2009-08-08*Add assert back to go::setownerguidmegamage
--HG-- branch : trunk
2009-08-08 [8320] Imporovements in wild summoned gameobjects work. Author: ↵megamage
VladimirMangos * Not set owner for will summoned gameobjects. Its not expected to have owner, and must be accessable to all players (or team). * Set for all objects summoned by spells: despawned by deafult for proper despawn withut owner. * Cleanup Spell::EffectSummonObjectWild. --HG-- branch : trunk
2009-08-03*Add DeleteObjectWith owner function for gameobject deletion with updating ↵QAston
owner object list *Cleanups in Aura 1852 and recenlty added glyph code. --HG-- branch : trunk
2009-08-01*Teleport player to homebind if instance can't be created in ↵QAston
WorldSession::HandleMoveWorldportAckOpcode. --HG-- branch : trunk
2009-08-01*Improvements in map managing.QAston
--HG-- branch : trunk
2009-07-31 [8252] Move DB scripting code from global World to Map. Author: Ambalmegamage
This one more step to pre-map events proccesing and parallel in future. [8256] Restore DB script loading broken after [8252]. Author: VladimirMangos Also propetly decrease scheduled DB script actions at map unloading. Some code style restore. --HG-- branch : trunk
2009-07-24 [8205] Really use trap GO charges and avoid casting in despawned state. ↵megamage
Author: VladimirMangos * Drop horribale hack with stored charges amount, use instead GO info charges data as expected. * Count trap activations as charge uses if it have limited charges. * Check trap reactions only in ready spawned state. --HG-- branch : trunk