8 Commits

Author SHA1 Message Date
H0zen
d014ca2599 ObjectAccessor rewrite
- ObjectAccessor now hides it's inner locks
  - Introduced C++11 lambdas; from now on, VS2012 and any non C++11 compiler are not supported anymore
2018-03-29 14:39:32 +03:00
Antz
52454825c7 Happy new year from getmangos 🎉 2018-01-14 10:24:47 +00:00
H0zen
da3d3116c2 Various fixes (#21)
* Various fixes.
  - Fix PCH build on *nix
  - Silenced some compiler warnings

* Another small fixes.
  - Mails sent by various GM commands are now not returnable / respondable
  - Fix server startup issue due to incorrect map magic version.
2017-06-07 14:05:18 +01:00
Antz
cb2d60ba17 🎉 Happy 2017 from everyone at getmangos.eu 2017-01-01 14:19:24 +00:00
Antz
c453b05106 Corrected website URL 2016-03-20 22:09:21 +00:00
Antz
3967eddc87 [2016] Happy New Year from the MaNGOS Team 2015-12-31 21:15:37 +00:00
schmoozerd
95073a4d1c [Waypoints] Complete redesign of waypoint system
Rewrite Waypoint related commands (c2612)
Toggle the commands .wp add .wp modify and .wp show to be able to work with waypoints from creature_movement_template

Technical changes:
* Move Path Selection to WaypointManager
* Set visual waypoints to be summoned npcs

Remove .npc addmove command to add a waypoint. (c2619)
For this .wp add command is expected to be used

Remove unneeded functions from WaypointManager (c2620)

Waypoint Commands: Improve export command, remove import command (c2621)
* Also finally drop the wpguid columns from creature_movement[_template]
* Also remove all static spawns of id=1 (they are usually waypoints from the old system)
* Fix a minor bug in WaypointManager than can result in a crash if bad params are passed

Waypoint-Commands: Prefer current path's movement for handling (c2626)

WaypointMovement: Allow External sources to load waypoints (with different path ids) (c2627)

* Add SetExternalWaypointTable(..) function to ScriptMgr.h scope to be able to define from which table external waypoints are loaded
* Add AddWaypointFromExternal(..) function to ScriptMgr.h scope to load points into WaypointManager
* Expand MotionMaster::MoveWaypoint function to use source and pathId for specifying which path to load
* Expand MotionMaster::MoveWaypoint function to use some overwrite information for "entry".
  This will be helpfull to have one path for mobs with different entry (ie ally/horde npcs with same behaviour)
* For externally loaded waypoints let CreatureAI::MovementInform have EXTERNAL_WAYPOINT_MOVE(256) + pathId as type.
  This will allow an external user to know which of "his" paths is used
* Adapt the related commands a little bit such that parts of the commands will also be usable for external paths
  At the moment .wp show and .wp export work with external paths.

WaypointMovement: Add support to set the next waypoint (c2635)
* Also add support to initialize a path with waittime before starting movement
* Add additional types for external use of MovementInform such that MovementInform is called when a waypoint is started, or when the last waypoint is handled
* Improve some minor technical issues

Let .wp add command start with 1 as first waypoint (c2640)
2015-03-26 01:21:44 +00:00
Antz
386f5374ab [Release20] Initial Release 20 2015-03-22 22:10:05 +00:00