Commit graph

20 commits

Author SHA1 Message Date
imbecile
24540e4b03 [9521] Let build map extractor at Mac OSX
Also restore build at Windows (Win32 not have unistd.h)

Win32 ad.exe binary updated but not expected any functional differences.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-05 06:51:33 +03:00
VladimirMangos
55bc9e8da7 Include build in to .map files data.
This let not update map fiels format version at switch to new build
for prevent use wrong .map files. Build checked at loading.
2010-02-03 16:17:13 +03:00
VladimirMangos
83bd854030 [9170] Impleament DBCs build check at server startup.
* Extractor now include in extarcted DBC dir data file with build info.
* Mangosd use this data for check at startup for main DBC dir and DBC local subdirs intergrity.
* Also updates DBC checks for raw data.

NOTE: You need reextract DBC data by _new_ extractor for correct work mangosd.
2010-01-13 11:40:27 +03:00
VladimirMangos
3d7d7fd512 [9167] Remove unused arg in new function added to prev. commit.
Also update ad.exe
2010-01-13 06:03:56 +03:00
kyle1
2c092b1c34 [9158] Fixed build errors for contrib/extractor at some x64 plaforms
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-12 09:25:29 +03:00
Lynx3d
1fdf473bd8 [8620] Use platform independent by size types in extractor typedefs.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also use in same way size fixed types in windows case.
2009-10-10 20:22:29 +04:00
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