Commit graph

149 commits

Author SHA1 Message Date
Reamer
fa6233609b [12015] Add pullrequest #47 for improvements with mmap generator debug output
Don't override obj-files, which are created with "movemapgen -debugOutput true"

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-22 19:16:05 +02:00
Schmoozerd
8c29893310 [11964] Implement new conditions system
Tree-like design idea by Faramir118, thanks for that!

* Add `conditions` table to store conditions.
* REPLACE current handling of conditions for the *_loot_template tables
  Convert the old conditions in *_loot_template to the new system by SQL-Queries
* ADD support for new conditions to gossip_menu and gossip_menu_option.
  If for these tables no condition_id (new system) is provided, the old conditions will still be used
* Add a small helper python script to contrib/convertConditions, see README there for details
* Add new command to reload the `conditions` table (.reload conditions)
* Add two Meta-Condition types CONDITION_AND (-1) and CONDITION_OR (-2) which are used as:
  value1 (as condition_entry) AND / OR value2 (as condition_entry)

  With these meta-conditions it is possible to create tree like and very complicated combined conditions (like HasAura && (HasItem || HasQuest))

NOTE about conversion:
For easier convertion all the old table data is still preserved, but will be removed eventually (within a circle of the moon approximately)
The python script will not create an optimal initial fill of the `conditions` table. You might want to tweak it manually or suggest some optimized algorithm :)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-15 23:06:00 +02:00
Xfurry
fcbde94267 [11941] Implement effects for spells 27687, 27695
also fix another type in extractor-binary script (thanks again nighoo)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-06 23:51:21 +02:00
Schmoozerd
fe3f4a43ee [11939] Make binary_extracting scripts compatible to bourne shell. Thanks to nighoo for pointing
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-06 19:36:41 +02:00
Nighoo
c0eca52371 [11936] Add git_id (*nix version) to .gitignore
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-03-31 03:38:53 +02:00
SilverIce
8c912d0ab3 [11924] fix MoveMapGen vc90 build problems (add missing project dependencies) thx Thermaltake 2012-02-07 23:59:59 +02:00
Schmoozerd
b03443c425 [11921] Improve MoveMapGen script to create mmaps directory if not exists - thanks to Bobi for pointing 2012-02-07 15:20:46 +01:00
faramir118
68b701f5d1 [11917] Increment map version magic. You have to re-extract maps, vmaps and mmaps
With this commit, Pathfinding is implemented in MaNGOS!
Thank you very much to all who contributed, especially to Faramir118 and qsa.

Please report bugs and required offmesh changes, so that they can be adressed
For *nix users of the extractor, help about compiling content of contrib/ can be found in forums
2012-02-07 00:02:28 +01:00
Schmoozerd
1d42263285 [11916] Remove old binaries for extraction 2012-02-06 23:57:24 +01:00
Schmoozerd
abb7909e5a [11915] Update ad.exe 2012-02-06 23:57:09 +01:00
Schmoozerd
9c9e3a0e0d [11914] Add new scripts and windows binary files for extraction 2012-02-06 23:56:48 +01:00
faramir118
73b3ae889d [11904] Fix Liquid Extraction and better hole support 2012-02-06 23:16:35 +01:00
faramir118
deb97590a1 [11903] Add MoveMapGen tool to generate MMaps
Authorship also includes qsa, and thanks to others!
2012-02-06 22:52:50 +01:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
Nighoo
97a1884ea4 [11836] Some more documentation and information for soap example 2011-10-27 21:09:25 +02:00
zergtmn
4efca9aada [11795] Drop support for VC 2005 2011-09-17 19:53:15 +06:00
Bobi88
443b5c776c [11291] And just when we thought that we'd have updated all copyrights in all files...
Signed-off-by: DasBlub <DasBlub@gmail.com>
2011-03-27 16:45:53 +02:00
DasBlub
96512037a9 [11285] Revert "[11242] Fix line endings for Visual Studio Solution Files (they need to be CRLF, not LF)"
This reverts commit 10e5bdfbb130c6a70d0b28a9f69d9c99e6ea3f20.
2011-03-25 21:51:39 +01:00
Schmoozerd
281bf03b12 [11274] Updated some more copyrights which were outdated
Signed-off-by: DasBlub <DasBlub@gmail.com>
2011-03-21 23:49:36 +01:00
faramir118
87cd258d8b [11272] Update previously commit copyright notices. We are in 2011, not in 2010
Signed-off-by: DasBlub <DasBlub@gmail.com>
2011-03-21 23:11:06 +01:00
DasBlub
66e6fcf5a1 [11271] Add missing copyright to some files in contrib/ 2011-03-21 22:46:01 +01:00
DasBlub
a19c308001 [11242] Fix line endings for Visual Studio Solution Files (they need to be CRLF, not LF) 2011-03-12 20:03:22 +01:00
DasBlub
98a5eb6f0e [11240] Drop dead code from vmap extractor 2011-03-10 22:01:51 +01:00
VladimirMangos
9e14a0529d Update git_id not generate by default sql/updates/Makefile.am
TO DEVS: please update used git_id

Now cmake support adding completed.

* If you plan build MaNGOS at Unix/Linux then you need have
  installed cmake package and only can build mangos wiht cmake use:
  cmake; make; make install

* If you plan build MaNGOS at Windows then for this time prefered
  use old way with Visual Studio projects in win directory.

  You _can_ use cmake way MaNGOS build but this experemental mode.
  For cmake using build you need have cmake tool installed at Windows.
  And need run cmake (for example by run createprojects.bat in MaNGOS
  root directory and then load generated Visual Studio solltion file
  build/mangos.sln
2011-02-14 12:57:18 +03:00
VladimirMangos
b106ec92f6 [11091] In similar way with prev commit rename extarctor sources magic string. 2011-02-01 05:38:38 +03:00
VladimirMangos
deb31679bf [11089] Move vmap files version magic string to single place in vmap_extractor_v3
No functional chnages in extractor.
2011-02-01 04:45:28 +03:00
Skirnir
75b4f75f4d [11066] Remove tail whitespaces.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 00:22:29 +03:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
Neo2003
695a64d42b [10828] Fix warnings for TBB projects compilation using Visual Studio 10
Also fix a small typo in prev commit.

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-12-05 11:26:31 +01:00
Neo2003
14454c0572 [10827] Add VC80 projects and solutions files where missing like vmap_extractor
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-12-05 10:30:24 +01:00
Neo2003
c7c5449545 [10826] Fix vmap_assembler compilation after vmap folder move
Also make vmap_assembler compile sucessfuly with VC80.

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-12-05 10:10:48 +01:00
Lynx3d
a3e62d43b0 [10483] Finally add README to vmap_assembler 2010-09-14 16:25:23 +02:00
DasBlub
ae53d49352 [10474] Cleanup vmap_assembler
* Drop dead code
* Use std::string instead of char*
* Use std::cout instead of printf()

Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2010-09-12 00:28:56 +02:00
DasBlub
16f912190f [10471] Drop vmap_debugger.
After new vmaps version it not work and useless.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-09-11 15:03:53 +04:00
DasBlub
fb2f74e4c9 [10463] Clean up the .gitignore files.
* Move the settings for VS and CMake files to /.gitignore
* Drop now unused .gitignore files

Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-09-10 19:29:52 +02:00
silviu2009
1341345216 [10461] Fix error message in extractor tool
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2010-09-09 22:41:39 +02:00
VladimirMangos
a48fdd8620 [10311] Prevent lost sql update content at git_id -s use in some cases.
To devs: please update git_id binaries
2010-08-03 03:19:39 +04:00
VladimirMangos
ebe28d025b [10191] Update vmaps extractor/assembler binaries using vs2008.
* This make some ppl happy who not have installed VS2010 runtime.
* Also vmap assembler include recent fix for absend locale support,
  that ofc only affect ppl who before can't use assembler with this locales supporting client.
* Also small update for vmap extarctor project .gitignore
2010-07-15 01:04:13 +04:00
Lynx3d
603d576d60 [10188] Add missing locales to vmap extractor. 2010-07-13 04:42:01 +02:00
Lynx3d
425352fcc7 [10176] Use std::isnan in the hope more non-MS platforms provide it.
Note that G3D::isNaN() is simply wrong IMHO...and not even inlined.
One day, there will be a usable C++ standard not light-years behind good old C...
2010-07-10 13:54:35 +02:00
VladimirMangos
11a3de436e [10172] Make git and users happy with contrib/vmap_extract_assembler_bin/make vmaps.bat
* Unix encoding
* Never never use in any cases not only mangos filenames with spaces. Tools can generate
  expected nightmare level without like help from your side ;)
2010-07-09 23:26:20 +04:00
Lynx3d
da2c210161 [10167] Bump vmap extractor version to 3.00 2010-07-08 23:53:07 +02:00
Lynx3d
988ca2e101 [10166] Romve now unused Stormlib, it also included a redundant copy of zlib.
Note that WoW 4.x support for libmpq still unclear, but in any case
this Stormlib version is outdated too and will not support it either,
even if we need to switch back.
2010-07-08 23:19:17 +02:00
Lynx3d
c2bcfd0f18 [10164] Update vmap_assembler to upcoming new implementation
* Note: vmap_assembler tool will not compile until final commit of new vmap system
* Now also comes with Visual Studio 2010 project files and CMake files
2010-07-08 23:11:39 +02:00
Lynx3d
cda38d9370 [10163] Update vmap_extractor to support new vmap implementation.
Note: This is not compatible with current assembler, wait for upcoming commits

* Now also supports Linux (CMake) and Visual Studio 2010,
  see README for build and use instructions
* Uses libmpq for now, since at project start stormlib did not work
  properly on 64bit linux.
* Should be a lot faster, a few badly written lines ate most CPU time for
nothing...

Special thanks to arrai and faramir118 for additional code and fixes
2010-07-08 23:09:01 +02:00
Lynx3d
ae3ad10bcf [10097] Update G3D up to v8.0b4
+ Got rid of zip lib requirement in G3D...
  Still can re-enable code by defining _HAVE_ZIP...

+ Remove silly X11 lib dependency from G3D
  Code doesn't seem to do anything yet anyway, and even if, we don't want it :p

+ Fix another weird G3D build problem...

+ Remove some __asm usage in g3d, which is not available on Win64
  My editor also decided to remove a ton of trailing white spaces...tss...

+ Reapply G3D fixes for 64bit VC

+ not use SSE specific header when SSE not enabled in *nix

+ Updated project files

+ New vmap_assembler VC90/VC80 Project

+ vmap assembler binaries updates

NOTE: Old vmap fikes expected work (as tests show) with new library version.
      But better use new generated versions. Its different in small parts to bad or good...

(based on Lynx3d's repo commit 44798d3)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-23 06:45:25 +04:00
VladimirMangos
5cd5462e17 [9989] Use unix styoe line ends in soem files 2010-05-28 02:27:12 +04:00
tomrus88
a3e61dc560 [9885] Added VS2010 projects for maps extractor.
(based on commit 211997d)
2010-05-13 06:20:52 +04:00
VladimirMangos
11372470ba [9813] Add VS2010 project files to git_id 2010-04-30 01:12:40 +04:00
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