aboutsummaryrefslogtreecommitdiff
path: root/src/game/MotionMaster.cpp
AgeCommit message (Collapse)Author
2010-04-07Code style (game + scripts only):Spp
"( " --> "(" " )" --> ")" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"if(" --> "if (" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"while(" --> "while (" --HG-- branch : trunk
2010-03-13Yet another crash fix due to invalid cast.Trazom62
Fixes issue #1079. --HG-- branch : trunk
2010-03-12Typo (sorry)Machiavelli
--HG-- branch : trunk
2010-03-12Fix faulty debug logging and a crash caused by improper typecasting. Fixes ↵Machiavelli
issue #1068 --HG-- branch : trunk
2010-03-07Some Creature* casts moved to new ToCreature.raczman
Added const Creature* ToCreature() --HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2009-12-17Update Movement code for 322an0n4m3
--HG-- branch : trunk
2009-11-19*Prevent MoveFollow and MoveChase while UNIT_FLAG_DISABLE_MOVE is present, ↵maximius
by Liberate. Closes #168. *Some cleanup, and fix typo from cf0046bc32c6. --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-16*Fix the quests 'Slay them All' and 'No Mercy Merciless', by manuelmaximius
*Minor 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-08-30*Fix the lurker below. Thanks to rat.megamage
--HG-- branch : trunk
2009-08-29*More update about positions.megamage
*Ulduar: do not allow demolisher to regenerate pyrite. Player must shoot down and grab the containers to refill pyrite. --HG-- branch : trunk
2009-08-29*Handle creature rotation using movement generator. Please tell me if this ↵megamage
breaks any script. --HG-- branch : trunk
2009-05-21*Set reactpassive when creature is calling for assistance.megamage
--HG-- branch : trunk
2009-05-21*Fix a infinite loop introduced in 3444.megamage
--HG-- branch : trunk
2009-05-21Mobs fleeing and getting assistance feature implementaion. Author: Neo2003megamage
--HG-- branch : trunk
2009-05-12*Move MoveFollow owner from MoveTargetedHome to enterevademode.megamage
--HG-- branch : trunk
2009-05-03*Fix a crash caused by feedpet.megamage
*Also have delay for jump spells. --HG-- branch : trunk
2009-04-12*Merge.megamage
*One rev skipped: Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron. --HG-- branch : trunk
2009-04-12*Do not allow chase/follow self.megamage
--HG-- branch : trunk
2009-04-12*Fix the bug that minipet does not follow owner.megamage
--HG-- branch : trunk
2009-04-11*Implement spell Disengage and Death Grip.megamage
--HG-- branch : trunk
2009-04-07* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *XTZGZoReX
--HG-- branch : trunk
2009-04-06*Update creature formation code.megamage
--HG-- branch : trunk
2009-04-06*CreatureGroups fixed and improoved. By TrullyONEmegamage
- Multimap support for instances added. - Removed redundant group checks. - New movement rules (bool group formed/dismissed added). - uint32 Creature::GroupID replaced with CreatureGroup pointer. --HG-- branch : trunk
2009-03-23*Add new log level "crash alarm" to record very dangerous errors.megamage
--HG-- branch : trunk
2009-03-23*Allow knockback creatures.megamage
--HG-- branch : trunk
2009-03-21*Set default movement as follow movement for charmed/pet when enterevademode.megamage
--HG-- branch : trunk
2009-03-15*Fix a bug that mobs do not return home after wipe.megamage
--HG-- branch : trunk
2009-03-04*Fix the bug that sheep attacks people.megamage
--HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk
2009-02-09Replace tabs with spaces in more files.Paradox
--HG-- branch : trunk
2009-02-08Fixed crash when MotionMaster's Clean or ExpireMovement called from ↵megamage
MovementGenerator update. Original patch by ApoC. Backport from 308. --HG-- branch : trunk
2009-02-04Replace tabs with spaces, and fix crlf issuesmegamage
--HG-- branch : trunk
2009-01-17*Fix a crash bug caused by motionmaster.megamage
*Fix charge movement. --HG-- branch : trunk
2009-01-17*Fix some bugs about movement.megamage
--HG-- branch : trunk
2009-01-17*Update flee and confuse movement.megamage
--HG-- branch : trunk
2009-01-16*Update of MotionMaster.megamage
--HG-- branch : trunk
2008-12-22*The last merge from Mangos TBC. Update to Mangos v0.12.megamage
--HG-- branch : trunk
2008-12-19*Movement Generators standardization.shadowu@mail.bg
- bool GetDestination(&x,&y,&z) added to all movement generators.(it is used by update of players view distance) - Fixed when creature entering in combat not count this as StoppedByPlayer. - Random Movement Generator - added support for creating custom spawndist during the game. - Random Movement Generator - Db spawndist is checked only at initialize(NOT in each sellect of random location). - Added Random Movement to motion master - it can be called now by MoveRandom(spawndist) e.g. for use in SD2. - Home and Random movements no more using RespawnCoords(Home Position has implemented) - Fixed bug when creature is moving on path and enter combat, after that returns to spawn position. -Typo fix in Confused Movement Generator --HG-- branch : trunk
2008-12-17*Small typo fixes. After this update leader's GUIDS in CreatureGroups must ↵shadowu@mail.bg
be added also as group member GUIDS. --HG-- branch : trunk
2008-12-09*Merge to solve EOL issue.megamage
--HG-- branch : trunk