NoFantasy
5ec0c18d2c
[9428] Remove redundant calls to Set(Max)Health, already done by SelectLevel function.
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-21 16:19:16 +01:00
VladimirMangos
797dd6d931
[9232] Replace list bool fields with exclusive true values by subtype field in Creature.
...
Use it in recently added code instead dynamic_cast use.
2010-01-21 22:23:17 +03:00
VladimirMangos
fe6e2e1746
[9122] Updated copyright notice for new year.
...
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
ApoC
45c9c136ba
[8653] Implemented per map guids store.
...
This patch implements storing guid->object pairs on per map level, this leads
to less locking in ObjectAccessor in case of further multithreaded map update.
For case of cross map guid looking (auras cases) all maps are linked into
ObjectAccessor and can be traversed for this lookup.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-17 00:12:31 +02:00
Ambal
58209ee79a
[8182] Store and use Map* pointer in WorldObject instead map ids for speedup
...
Also some code logic cleanups.
Changes let make more cleanups in base map access and other places,
but this chnages not inlcuded in patch.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-15 02:13:52 +04:00
VladimirMangos
9f41772828
[8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete
...
* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
* Create Gameobject version to make GO with owner more safe for remove
2009-07-01 11:09:34 +04:00
tomrus88
31b3ee95ad
Merge branch 'master' into 310
...
Conflicts:
src/game/Level2.cpp
src/game/PetHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/game/SkillHandler.cpp
2009-03-11 12:22:58 +03:00
balrok
54f2dbefa0
[7403] much more unneeded includes removed
...
now i extended my script:
NAME="Chat"; ack -c $NAME | ack ":1$" | sed 's/:1//' | xargs /usr/bin/ack-grep -l "include \""$NAME".h\"" | xargs /bin/sed -i '/include "'$NAME'.h"/d'
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-08 02:22:17 +03:00
tomrus88
42a8ae3752
More work on update packets
2009-02-26 19:55:45 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
tomrus88
943963df7e
Added vehicle*.dbc
2008-11-26 19:47:07 +03:00
tomrus88
5fae2418ab
Misc fixes
2008-11-23 16:18:14 +03:00
arrai
688693029e
Fixed unintialized Creature::m_isVehicle
2008-11-22 18:13:14 +01:00
tomrus88
768fa2d2de
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Pet.cpp
src/game/Player.cpp
2008-11-15 15:35:52 +03:00
tomrus88
14d312ad22
More work on vehicles
2008-11-12 23:20:59 +03:00
tomrus88
871d5f8c99
Small progress with vehicles
2008-11-12 00:49:19 +03:00
tomrus88
204b61c220
Added empty vehicle class, vehicle*.dbc struct's
2008-11-11 00:05:00 +03:00