Commit graph

174 commits

Author SHA1 Message Date
VladimirMangos
aa24bd836e [7207] Phase system development continue for DB/in_game objects
* Store phase mask for creatures/gameobjects/corpse in DB
* Propertly set phase for summoned creatures/gameobjects/pets/corpses/spell related dynobjects
* Select proper phase for spawned creature/gameobjects and save it in DB

TODO: in game commands.
2009-01-31 06:11:50 +03:00
VladimirMangos
b5da610388 Phase system development continue.
* Use WorldObject phase mask field instead explicit aura scan. This allow have phase for any world objects.
* Add phase checks to packet broadcasters/object searchers. This let correctly work say/yell/area
  and multi/random target spells/aggro assistance in phased areas or target selection.
* In GM-mode character presense (see and visible) in all phases except normal visibility efects including GM-visibility.

TODO: summoned objects phase set base at owner phase, load phase mask for creatures/gameobjects from DB, in game commands.
2009-01-31 06:06:01 +03:00
VladimirMangos
a1b5c3cb02 Cleanup code for UNIT_FIELD_BYTES_1 parts.
Move defines to Unit (values can be used with creatures)
Better gameobject barber chairs check at loading.
2009-01-31 05:55:10 +03:00
DiSlord
abaa111eaa [7159] Allow GO cast as need (use go coordinates for target select in some cases)
Fixed work all Huter traps target selection
More check in ObjectAccessor::Get Object
More generic work 22 TARGET_CASTER_COORDINATES target type

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 03:44:45 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
tomrus88
588edbcedb Fixed merge 2008-12-05 18:38:17 +03:00
tomrus88
af1e1d7794 Merge branch 'master' into 303
Conflicts:
	src/game/Corpse.cpp
	src/game/DynamicObject.cpp
	src/game/GameObject.cpp
	src/game/Object.h
	src/game/Unit.cpp
	src/game/Unit.h
2008-12-05 18:16:31 +03:00
tomrus88
d00a453863 Reduced number of cells (doubled max visibility distance).
Use 2D distance for visibility checks.
2008-12-05 17:42:46 +03:00
tomrus88
df3ca15c3d Use 2D distance for visibility checks 2008-12-05 02:01:05 +03:00
tomrus88
397efd4fac Merge branch 'master' into 303
Conflicts:
	src/game/SpellEffects.cpp
2008-11-18 18:08:58 +03:00
hunuza
ac00eee418 Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap() 2008-11-17 17:24:53 +01:00
tomrus88
6fae544fbe Merge branch 'master' into 303
Conflicts:
	src/game/WorldSocket.cpp
	src/shared/Database/DBCStructure.h
	src/shared/Database/DBCfmt.cpp
2008-11-10 01:10:52 +03:00
evilstar
1da8ff0043 [6812] Implement localization of creature/gameobject name that say/yell.
Original patch deeply rewrited.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 13:19:08 +03:00
tomrus88
7974d1cb94 Merge branch 'master' into 303
Conflicts:
	src/game/Player.cpp
	src/game/Spell.cpp
2008-11-08 16:52:28 +03:00
VladimirMangos
4476d483d4 Fixed comment text and code indentifiers spelling.
GetFieldNames part provided by Paradox.
2008-11-06 19:22:23 +03:00
tomrus88
78ec66babc Merge branch 'master' into 303
Conflicts:
	contrib/extractor/System.cpp
	contrib/extractor/ad.exe
	src/game/WorldSocket.cpp
2008-11-06 15:50:47 +03:00
hunuza
90828fa699 Cache highest arena team/guild ids. Some code clean up. 2008-11-05 16:58:57 +01:00
VladimirMangos
88b1974df6 Fixed warnings, unused code and typos.
Including fix  _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00
tomrus88
b2d24ba0f7 Packet fixes, pet spells 2008-11-04 18:25:35 +03:00
tomrus88
8d54103456 Fixed spell.dbc structure 2008-11-03 14:22:55 +03:00
tomrus88
38892c864f Updated THANKS file 2008-10-31 23:37:32 +03:00
tomrus88
a22b901775 go fix 2008-10-31 19:06:41 +03:00
tomrus88
9c8864f134 Updated objects stuff 2008-10-26 10:20:52 +03:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00