aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
AgeCommit message (Collapse)Author
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
2009-07-16 [8183] Some gameobject despanw related fixes Author: VladimirMangosmegamage
* Implement use `consumable` field in gameobject template for gameobject required explcit despawn at use. * Move gameobject template fields cech function from Gameobject to gameobject template class, and update callers. * Cast spells at gameobject use with gameobject guid as original caster guid, as already used in some other cases. (skipped) --HG-- branch : trunk
2009-07-16 [8182] Store and use Map* pointer in WorldObject instead map ids for ↵megamage
speedup Author: Ambal Also some code logic cleanups. Changes let make more cleanups in base map access and other places, but this chnages not inlcuded in patch. *This patch may cause crash. --HG-- branch : trunk
2009-07-12*Add an Assert to trac where GO pointer is getting corrupted.QAston
--HG-- branch : trunk
2009-07-12*Fix sniper training - by Astellar.QAston
*Correct GO delete call in Gameobject::Update. --HG-- branch : trunk
2009-07-12[8151] Fixed some format warnings and typos. Author: Win32megamage
--HG-- branch : trunk
2009-07-11*Allow Illumination to proc on Holy Shock.Destalker
--HG-- branch : trunk
2009-07-10*Fix compile - sorry for that:/.QAston
--HG-- branch : trunk
2009-07-08Backed out changeset 07af7c674639QAston
--HG-- branch : trunk
2009-07-06*Fix client crash with barbershop chairbigjohnson4
--HG-- branch : trunk
2009-07-04*Temporary fix for crash caused by object list update.QAston
--HG-- branch : trunk
2009-07-01 [8103] More wide use IsInWorld checks and delayed at teleport ↵megamage
operations. Author: Ambal * IsInWorld used to prevent return unexpected not in world objects. * Delayed operations need to process its in world state. --HG-- branch : trunk
2009-07-01 [8102] Simplify code base at new root method ↵megamage
WorldObject::CleanupsBeforeDelete Author: VladimirMangos * Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls * Create Gameobject version to make GO with owner more safe for remove --HG-- branch : trunk
2009-06-18* In case of a 'for' loop, don't declare the iterator of a type that has a ↵Machiavelli
larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases). * Other minor cleanups, Null pointer checks etc. --HG-- branch : trunk
2009-06-16[8026] Obtain object's map directly by calling appropriate ↵megamage
WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal --HG-- branch : trunk
2009-06-15*Fix a crash caused by passive traps.megamage
--HG-- branch : trunk
2009-06-13*Set target guid as original caster guid for GO casts.QAston
--HG-- branch : trunk
2009-06-11*Switch to support client version 3.1.3megamage
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk
2009-06-06 [7969] Remove gameobject from owner gameobjecs list at expire. Author: Ambalmegamage
This will prevent delayd owner access from gameobject destructor in time remove list proccessing and fix possible related problems with crosslinked pointers. --HG-- branch : trunk
2009-06-06*Fix incorrect check of trap charges.megamage
--HG-- branch : trunk
2009-06-05*Allow traps without a spell be triggered. This fixes the bug that Sapphiron ↵megamage
cannot be summoned. --HG-- branch : trunk
2009-06-04*Some renames for GO type 33 for easier merging.panaut0lordv
--HG-- branch : trunk
2009-06-03*Fix the bug that some traps without charges and spell radius cannot be ↵megamage
triggered. *Provide spell support for quest 12698 --HG-- branch : trunk
2009-06-01*Save/load wintergrasp building health when grid loaded/unloaded.megamage
--HG-- branch : trunk
2009-06-01[7933] Call goober GO event script not only at open spell cast, also really ↵megamage
call camera GO event scripts. Author: NoFantasy --HG-- branch : trunk
2009-06-01*Display correct building damage state/team on map in wintergrasp.megamage
*Rebuild buidlings after fortress is taken over. --HG-- branch : trunk
2009-05-31*Store creatureData and goData for creatures and gos.megamage
--HG-- branch : trunk
2009-05-31*Move addcre/go functions from opvp to objmgr.megamage
*Do not save respawn time for internally added cre/go. --HG-- branch : trunk
2009-05-30*Provide another way to implement dynamic spawns. Now a creature will call ↵megamage
its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points) *Use zonescript as basic class of opvp script and dugeon script (can also be used for bg) *Store zonescript in worldobject. *Add door for sapphiron. --HG-- branch : trunk
2009-05-29*Update OutdoorPvP functions. No longer need creature triggers for capture ↵megamage
points. --HG-- branch : trunk
2009-05-25*Do not use GO guid as original caster guid. (not supported for now)megamage
--HG-- branch : trunk
2009-05-21*Implement spell effect wmo damage.megamage
--HG-- branch : trunk
2009-05-15*Do not proc relentless strikes with slice and dice twiceQAston
*Fix trap radius calculation in some cases-by krz --HG-- branch : trunk
2009-05-09*Fix some typos of script functions.megamage
--HG-- branch : trunk
2009-05-09*Some update of spell target selection.megamage
--HG-- branch : trunk
2009-05-06*Update instance script functions.megamage
--HG-- branch : trunk
2009-05-01*Merge.megamage
--HG-- branch : trunk
2009-05-01*Add some InstanceData functions to better handle instance doors.megamage
--HG-- branch : trunk
2009-04-30*Add function Gobject::sendcustomanimmegamage
--HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-04-27 [7715] Provided way for scripts set alternative gameobject state for ↵megamage
client show. Author: VladimirMangos Also use enum for gsmeobject states. --HG-- branch : trunk
2009-04-20 [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangosmegamage
* This let get objects at map without reference to player or another object. * Simplify future implementation for per-map storage for like objects --HG-- branch : trunk
2009-04-18*Try to fix a crash by not allowing trap grid visit creating new grid.megamage
--HG-- branch : trunk
2009-04-17[7682] Implement support ACHIEVEMENT_CRITERIA_TYPE_FISH_IN_GAMEOBJECT ↵megamage
Author: Trazom --HG-- branch : trunk