Commit graph

29 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
arrai
071a24562a [7488] Fixed map extractor on platforms with 2GB fopen() limit 2009-03-18 16:44:57 +01: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
arrai
1c809f4943 [7153] Fixed map extractor build on some *nix systems 2009-01-23 11:29:23 +01:00
arrai
cfde5746cb [7098] Changed build system of contrib/extractor to CMake 2009-01-17 20:53:51 +01:00
tomrus88
344e3b02e3 whitespace removed 2008-12-15 00:37:17 +03:00
tomrus88
c875fd698f Fixed typo in map extractor. Patch provided by andstan. 2008-12-15 00:35:05 +03:00
arrai
4e49be5987 Fixed extractor build on *nix 2008-12-06 20:55:18 +01: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
df3ca15c3d Use 2D distance for visibility checks 2008-12-05 02:01:05 +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
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
Foks
cdb2c08e3f Multi-locale DBC extracting
Signed-off-by: Foks <Foks@mangos.ru>

Small related code fixed and cleanups.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-06 06:14:46 +03:00
VladimirMangos
ef8e864008 Fixed build extractor at Windows Vista and hide more temporary files.
Not use c:\windows\temp for object files. This wrong in general and not work at Windows Vista.
2008-11-06 05:44:28 +03:00
tomrus88
8d54103456 Fixed spell.dbc structure 2008-11-03 14:22:55 +03:00
tomrus88
cffc766fb6 Merge commit 'origin/master' into 303
Conflicts:
	src/game/SpellEffects.cpp
	src/game/World.cpp
2008-11-01 08:10:24 +03:00
VladimirMangos
36508ba7ad More contrib/extractor geenrated files in .gitignore 2008-11-01 02:38:45 +03:00
VladimirMangos
c7ac8577ae Exclude some generated files in contrib subdirs. 2008-10-31 19:27:44 +03:00
arrai
b724ae2fe4 Fixed windows ad.exe build 2008-10-30 23:12:02 +01:00
tomrus88
1aa21af2f4 Updated map extractor 2008-10-26 10:13:42 +03:00
arrai
3dc4e40e34 Fixed extracting common.MPQ under *nix
Signed-off-by: arrai <array.of.intellect@gmail.com>
2008-10-25 13:03:38 +02:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00