aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
AgeCommit message (Collapse)Author
2009-07-30[8225] Some fixes from 320 branch. Author: tomrus88megamage
--HG-- branch : trunk
2009-07-27*Fix a crash with MAP_BASED_RAND_GEN - thanks to Azuritus for research.QAston
--HG-- branch : trunk rename : sql/updates/4602_world_spell_bonus_data.txt => sql/updates/4602_world_spell_bonus_data.sql rename : sql/updates/4603_world_tmp.txt => sql/updates/4603_world_tmp.sql rename : sql/updates/4604_world.sql => sql/updates/4610_world.sql
2009-07-24Merge [SD2]Kudlaty
r1088 Add grid searcher class PlayerAtMinimumRangeAway and create ScriptedAI function GetPlayerAtMinimumRange that return player in grid with at least the defined range away from m_creature. r1089 Remove no longer needed grid search code and use function instead. - skip r1090 Rename and clarify function variables - skip r1091 Add two new grid search functions to return list of creature and gameobject. Remove unused class. r1092 Remove more grid search code in scripts and use functions instead. r1093 Remove obsolete grid search class and rename new to a more consistent name. r1094 Speed up functions GetCreature/GameObjectListWithEntryInGrid a bit --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-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-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-13*Some fix of vehicles. Thanks to Seizerkiller.megamage
--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-01*Merge. (spell parts skipped)megamage
--HG-- branch : trunk
2009-05-31*Store creatureData and goData for creatures and gos.megamage
--HG-- branch : trunk
2009-05-31*Lay on hands should have heal amount = caster's max health.megamage
*Let goober call zonescript when an event happens. *Thanks Elron for the last rev (flight bug) --HG-- branch : trunk
2009-05-31Mangos [7911]. Author: tomrus88megamage
Very big patch. May cause bugs. --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-30*Fix a crash. Thanks to Amokmegamage
--HG-- branch : trunk
2009-05-29*Add function FindNearestCreature and FindNearestGameObject to replace old ↵megamage
FindCreature and FindGameObject --HG-- branch : trunk
2009-05-29*Add an assert to find a bug.megamage
--HG-- branch : trunk
2009-05-27*Cleanup message deliver functions. Remove unused parameters.megamage
--HG-- branch : trunk
2009-05-25*Move some random generator functions to map class: functions in ↵megamage
map/object/movementgenerator/spell --HG-- branch : trunk
2009-05-24Range calculation fix.krz
Channeled SPELL_AURA_PERIODIC_TRIGGER_SPELL will now not trigger spell if target is out of range. Channeled periodic damage auras will now not deal damage if target is out of range. --HG-- branch : trunk
2009-05-18*Add ATTACK_DISTANCE from MaNGOS.Anubisss
--HG-- branch : trunk
2009-05-14*Add some distance check functions. By VladimirMangos.megamage
--HG-- branch : trunk
2009-05-10*Rename some script functions (no real change).megamage
--HG-- branch : trunk
2009-05-09*Update Sapphiron script.megamage
--HG-- branch : trunk
2009-04-30*Fix the calculation of isInLine.megamage
--HG-- branch : trunk
2009-04-22[7696] Fixed compile warnings Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-22*Fix some bugs about vehicle.megamage
--HG-- branch : trunk
2009-04-21*More work on vehicle.megamage
--HG-- branch : trunk
2009-04-20*Merge.megamage
--HG-- branch : trunk
2009-04-20*Try to fix compile in linux.megamage
--HG-- branch : trunk
2009-04-20*Merge.megamage
--HG-- branch : trunk
2009-04-20*Add m_map in worldobject to make getmap faster.megamage
--HG-- branch : trunk
2009-04-17*Some work on vehicles.megamage
--HG-- branch : trunk
2009-04-11 [7648] Resolve problems with expected fall damage at near teleport. ↵megamage
Author: VladimirMangos Move near teleport landing code to WorldSession::HandleMoveTeleportAck. This make Player::TeleportTo code working in same way for both far/near teleports. Move mSemaphoreTeleport from WorldObject to Player and merge with DoNotMove (using 2 fields for far/near teleport flag). Skip movement packets until landing confirmation for near teleport from client. --HG-- branch : trunk
2009-04-11*Implement spell Disengage and Death Grip.megamage
--HG-- branch : trunk
2009-04-10*Remove some invalid template functions.megamage
--HG-- branch : trunk
2009-04-07[7622] Added creatureAI with related database tables. Author: AlexDerekamegamage
*Note: three tables are renamed. --HG-- branch : trunk
2009-04-04*Backport some contents from TC2.megamage
--HG-- branch : trunk
2009-04-01*Try to fix some crash.megamage
--HG-- branch : trunk
2009-03-31*Try to fix crash.megamage
--HG-- branch : trunk
2009-03-28[7577] Implement YellToZone for different world object types. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-26*Backport a missing function from TC2.megamage
--HG-- branch : trunk
2009-03-25*Merge.megamage
--HG-- branch : trunk
2009-03-25*Do not allow to add/remove obj to/from world more than once.megamage
--HG-- branch : trunk
2009-03-24*Fix a crash caused by summoncreature.megamage
--HG-- branch : trunk
2009-03-23*Fix some crashes possibly related to vehicles.megamage
*Fix a bug that client crashes when seer is far away from caster. --HG-- branch : trunk
2009-03-23*Allow knockback creatures.megamage
--HG-- branch : trunk
2009-03-22*Note some script id are changed. DB change may be needed.megamage
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args) Author: VladimirMangos * Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound) and for not depednet (PlayDirectSound) * Old Player::PlaySound function removed and uses need to be updated to WorldObject functions Note: function called for _source_ of sound in different from old function. * chat command .debug ps removed and .debug playsound can used for bother packects test: if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND. --HG-- branch : trunk
2009-03-19*Fix the bug that summon dbc is not read. Now creatures can be summoned.megamage
*Make minipet as tempsummon instead of pet. Make totem as tempsummon. --HG-- branch : trunk
2009-03-18*Allow spells to summon vehicles.megamage
--HG-- branch : trunk