AlexDereka
ccfd42bf3e
[9381] Fixed some compile warnings.
2010-02-14 18:16:07 +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
balrok
33c6241fd8
[8811] check creature existance at waypoint loading
...
also just set the spellid to 0 if it doesn't exist
instead of dorpping the whole movementpoint
2009-11-13 20:49:02 +01:00
balrok
25ab89ce97
[8810] error output at loading when creature_movement has nonexistant spell
2009-11-13 13:57:37 +01:00
XTZGZoReX
0734adb746
[8789] Rename several singleton macros to use more consistent names.
...
* objmgr -> sObjectMgr
* spellmgr -> sSpellMgr
* WaypointMgr -> sWaypointMgr
* poolhandler -> sPoolMgr
* objaccessor -> sObjectAccessor
* mapmgr -> sMapMgr
* sInstanceSaveManager -> sInstanceSaveMgr
* ticketmgr -> sTicketMgr
* CreatureEAI_Mgr -> sEventAIMgr
* auctionmgr -> sAuctionMgr
* achievementmgr -> sAchievementMgr
2009-11-08 12:11:34 +01:00
balrok
bd30769dec
[8475] fixed some gcc-warnings
...
all warnings from Wunused
and some from Wall
cause unused may be most interesting for some:
they were in following files:
src/game/Level2.cpp
src/game/Map.cpp
src/game/SpellAuras.cpp
src/game/Unit.cpp
src/mangosd/Master.cpp
but i guess mostly someone just fogot to remove this code
for some unsigned vs signed warnings i used:
ack "for.*int .*size\(\)" | ack -v uint
also note for coding:
if you do something like
if( a && b || c)
just place parentheses around (a && b) && always will have
precedence over || but without parentheses this could be overseen
quite fast (at least that's my guess why gcc will warn for this)
Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-09-05 13:47:47 +02:00
Ambal
b76c4c2f3c
[8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-16 12:47:02 +04:00
zhenya
8144f30199
[7730] Some optimizantion and code style.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
NoFantasy
ee9ea143d1
[7689] Batter EventAI loading checks and fix one from possible crash cases.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 23:51:05 +04:00
ApoC
66b9cf7829
[7592] Correct delay loading for creature waypoints.
...
Now it allows to assign more than cca 65s delay on waypoint.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-03-31 23:09:18 +02:00
AlexDereka
8a5e4706bc
[7506] Remove dual ERROR in logs
2009-03-21 11:47:57 +03:00
begemot
9bede601a2
[7151] Startup log cleanup and beautification.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 04:29:35 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
VladimirMangos
151e9e7012
[6989] Always initilize WaypointBehavior pointer to NULL in WaypointNode. Small code Cleanup.
2008-12-31 00:48:44 +03:00
ApoC
cd50762206
[6841] Fixed texts loading for waypoints. Better reporting of unused
...
script text, now it excludes from report also ids used for waypoints.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-21 12:38:15 +01:00
VladimirMangos
e3abf5c936
[6838] [2008_11_18_01_mangos_creature_movement.sql 2008_11_18_02_mangos_mangos_string.sql] Implement localization support for creature_movemant.
...
Implemented in same way as db script localization. creature_movemant now store indexes in db_script_string.
In game waypoint text setting disabled. Unclear how this possible implement with localization data.
2008-11-18 20:42:10 +03:00
VladimirMangos
166007525e
More fixes for wrong format arg/value pairs.
2008-11-03 01:48:16 +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