Commit Graph

137 Commits

Author SHA1 Message Date
Subv
3bea28e62c Tools/MeshExtractor: Fixed a crash and bad data for liquids 2012-09-29 06:24:35 -05:00
Subv
95db9605ce Tools/MeshExtractor: Removed extra fclose 2012-09-28 17:28:20 -05:00
Subv
9b97a89ef8 Tools/MeshExtractor: Fixed a crash and some other mistakes.
First glances of multithreading ( need to figure out a way around StormLib )
2012-09-28 17:09:44 -05:00
Subv
eba6980b9a Tools/MeshExtractor: Allow to extract only 1 map ( via command line ) 2012-09-28 16:26:43 -05:00
Subv
886f71df72 Tools/MeshExtract:
Fixed linux build, thanks Dev[Acho].
Added a DBC class
It will now autodetect your locale and start extracting mmaps as soon as started.
2012-09-28 16:21:35 -05:00
Subv
5725b068d2 Tools/MeshExtractor: Fixed an uninitialized variable error. 2012-09-28 14:28:50 -05:00
Subv
3eda479e29 Tools: MeshExtractor is working now. Please note that this is not yet finished 2012-09-28 13:30:43 -05:00
Subv
1c6a44e4c5 Tools: Fixed build in MeshExtractor 2012-09-28 09:30:23 -05:00
Subv
e12f7ed3e8 Tools: Fixed build in MeshExtractor (almost) 2012-09-28 09:01:13 -05:00
kaelima
753f43718e Address a few compile errors. Correct spacing in HandleMmapPathCommand. 2012-09-28 15:04:47 +02:00
Subv
ad0cd9f40a Tools: Made more updates to the MeshExtractor 2012-09-28 07:59:22 -05:00
Subv
50f833a008 Tools: Added an experimental tool (still WIP) to replace the current mmaps generator 2012-09-28 06:59:31 -05:00
kaelima
c2f446ded9 Core/MMaps: Minor warning fix 2012-09-05 17:07:47 +02:00
kaelima
69602df833 Core/MMaps: Fix some uninitialized variable complaints in PathGenerator 2012-09-04 23:33:11 +02:00
Nay
36b3e06a7e Merge remote-tracking branch 'origin/master' into mmaps
Conflicts:
	src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
2012-09-04 19:11:04 +01:00
Nay
73172c67f0 Misc: Convert from CRLF to LF in cs_misc.cpp
Also cleanedup whitespace
2012-09-04 16:14:15 +01:00
Nay
c7fed98b9d Merge remote-tracking branch 'origin/master' into mmaps
Conflicts:
	dep/PackageList.txt
2012-09-03 15:51:34 +01:00
Nay
c8a91e2559 Tools/Extractors: Fix build under GCC 4.7 2012-09-03 15:21:52 +01:00
Subv
554e88dd63 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps 2012-08-30 19:16:09 -05:00
Nay
5f1977cb1d Core: Fix many "errors"/warnings and coding style (1)
Extractors, worldserver, authserver, shared and collision affected

Errors were found using Cppcheck, open-source static analysis tool
2012-08-30 19:07:59 +01:00
Subv
fa590d006e Core/MMaps: Made some cosmetic improvements to the mmaps generator 2012-08-28 20:10:08 -05:00
Subv
02bbd1154e Core/Mmaps: Fixed build 2012-08-27 15:29:39 -05:00
Subv
a97cfbd2eb Core/MMaps: Fixed infinite wait in the generator 2012-08-26 18:14:58 -05:00
Subv
92e72b2a5c Core/Mmaps: Fixed a few mistakes in the mmaps_generator, should be somewhat faster now 2012-08-25 17:37:15 -05:00
Subv
c446013791 Core/Mmaps: Added elapsed time to the mmaps_generator 2012-08-25 12:40:04 -05:00
Subv
35437149e2 Core/Mmaps: Added some corrections to the logs in the mmaps_generator 2012-08-25 12:27:48 -05:00
Subv
f8cc38d65a Core/Mmaps: Make the mmaps_generator multithreaded, you can specify the max number of threads that are spawned at the same time (default 3) by using "--threads x" in the command line, where x is the number of threads you want.
Core/Mmaps: Removed now useless sh script
2012-08-25 11:38:33 -05:00
Subv
4351548c75 Tools/MapExtractor: Fixed a crash caused by using a variable before it was initialized 2012-08-24 15:33:38 -05:00
Subv
937518181f Core/Mmaps: Fixed build after last merge 2012-08-24 11:38:39 -05:00
Subv
4c765aad3d Core/Maps: Reduce the output map file size in the maps extractor for maps that do not have any hole information
Core/Mmaps: Fixed swimming creatures stuck in water. (Thanks Vlad and @Chevron )
Note: Re-extract maps
2012-08-22 18:00:58 -05:00
Subv
5061fa626a Core/Mmaps:
* Unload instanced mmaps before unloading the base map
* Load only mmaps for base map on map creation
* Extractor: Somewhat speed improvement
2012-08-22 17:39:25 -05:00
Subv
dc95ce61b4 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
Conflicts:
	dep/PackageList.txt
	src/server/game/Movement/MotionMaster.cpp
	src/server/game/Movement/MovementGenerators/HomeMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/PointMovementGenerator.h
	src/server/game/Movement/Spline/MoveSplineInit.h
	src/server/game/World/World.h
2012-08-22 17:26:53 -05:00
Nay
9e0907874e Core: Fix 4 warnings / SQL: Rename two SQL files 2012-08-20 21:54:36 +01:00
Chaplain
fb1ac16b0c Core/Misc: Some fixes here and there
Closes #7277
2012-08-20 11:05:50 +02:00
click
50bd43661c Core: Remove a few silly warnings here and there (and adjust a comment to allow System.cpp to show properly in the nano-editor) 2012-06-13 18:38:21 +02:00
Nay
36ea485f9a Tools: Fix a typo and printf formats (there's no standard format for size_t) 2012-05-20 18:37:10 +01:00
Nay
23be8c4fd7 Scripts/VH: Add an 1 minute pause after each boss fight (instead of 5 seconds)
Revert one of the warning fixes (non standard C++)
2012-05-20 18:22:34 +01:00
Nay
e56b2cdd59 Core: Fix a few compile warnings 2012-05-20 17:58:35 +01:00
faramir118
c7927a7796 Tools/MapExtractor: proper type for string literals
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-04-11 19:54:35 +02:00
Venugh
d06c092712 fix linker error. 2012-04-09 17:17:31 +02:00
Venugh
2181b123ba Give mmap generator the correct name. 2012-04-09 15:55:27 +02:00
Venugh
710a617a3c Core/Tools: Store hole data. 2012-04-09 15:52:00 +02:00
Venugh
204b846fe6 Core/Tools: Implemented mmaps_generator. 2012-04-09 14:45:05 +02:00
Machiavelli
5d25dc8926 Tools/VmapExtractor: Don't check registry for game folder on windows, just use relative "Data" dir, similar to linux. 2012-03-17 17:51:00 +01:00
Shauren
e5d23103f3 Core/Maps
* Corrected liquid type extraction in maps - MCLQ chunk must be parsed together with MH2O (they stack)
* Fixed liquid detection in WMO objects
* Implemented LiquidType.dbc use, players will now get proper auras in special liquids
* Turned off slime damage by default (Naxxramas uses periodic damage aura for this purpose)
* Implemented liquid type overrides basing on area/zone
* Renamed final temp_gameobject_models to GameObjectModels.dtree (the temporary one produced by vmap extractor remains unaffected)

Note: Map and Vmap re-extraction is required
2012-03-07 13:09:35 +01:00
click
a153e0ca06 Core: Remove some whitespace and tabs 2012-03-07 00:05:34 +01:00
E. van Harten
9610b9e53c Fixed compile issue for -DTOOLS, someone broke it again! 2012-02-27 10:54:09 +01:00
Subv
836459ef0e Extractors: Do not show a warning in the vmap extractor when a model fails to load to avoid confusion 2012-02-12 12:45:45 -05:00
Ka0z
6627fe7203 Core/Collision: Edit source files to represent the recent changes in the extractors (v4.00 2012_02) to avoid confusion with old extractors (v3.00 2010_07) 2012-02-10 18:40:05 -03:00
Subv2112
93d199f043 Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00