Commit graph

14 commits

Author SHA1 Message Date
VladimirMangos
718d92c4a3 [7519] Restore unexpactadly replaced ad.exe to old version in prev. commit 2009-03-23 00:33:58 +03:00
VladimirMangos
ab2bdc3e69 [7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args)
* Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
  Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
  and for not depednet (PlayDirectSound)
* Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
  Note: function called for _source_ of sound in different from old function.
* chat command .debug ps removed and .debug playsound can used for bother packects test:
  if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.
2009-03-23 00:27:01 +03:00
VladimirMangos
719991d381 [7443] Better error reporting at DBC files extraction in ad.exe. No functionlity chnages in normal work case. 2009-03-12 10:03:34 +03:00
DiSlord
071a0317f0 [7439] Fix wrong liquid level in some places. Need reectract maps.
Remove some log on extract maps.
Add liquid status log to .gps command

Signed-off-by: DiSlord <dislord@nomail.com>
2009-03-11 00:04:19 +03:00
DiSlord
6a90d60327 [7428] Add new .map file format use more compact data store and use
Rewrite .map extractor
 + extract more useful data
 + add "-f 0" option for disable size/accuracy optimisation
 + Compatability vs 2.4.3 client data
More fast get .map data
Implement fatigue timer
Rewrite breath timer
Allow absorb/resist for lava/slime environmental damage

Need re-extract map for work.

Signed-off-by: DiSlord <dislord@nomail.com>
2009-03-09 19:38:35 +03:00
DiSlord
946e4fb036 [7291] Better map height calculation by use client data format.
Need re extract map files by use new ad.exe
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-17 21:07:12 +03:00
tomrus88
c875fd698f Fixed typo in map extractor. Patch provided by andstan. 2008-12-15 00:35:05 +03:00
tomrus88
bfe899b126 Some more map extractor fixes. Patch provided by andstan.
Coding style fix.
Removed hack from lava detection code.
Please test water/lava detection. Should work fine now.
2008-12-06 19:19:46 +03:00
tomrus88
a69bc59f1d Fixed some typos, updated areaflags enum 2008-12-04 22:56:06 +03:00
tomrus88
99db25c9eb Replaced hardcoded maxareaid with dbc data in maps extractor.
Reduced number of cells (doubled visibility distance).
2008-12-04 19:22:50 +03:00
tomrus88
4c4f80df5a Fixed maps extractor. Patch provided by andstan. Not tested. 2008-12-04 13:29:31 +03:00
tomrus88
4e76f1ac98 crash fix 2008-11-16 17:07:11 +03:00
tomrus88
8d54103456 Fixed spell.dbc structure 2008-11-03 14:22:55 +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