Commit Graph

473 Commits

Author SHA1 Message Date
Rochet2
769bc15ba0 Tools/MMapsGenerator: Use system supported threads instead of hardcoded amount (#19255)
- Use unsigned int for thread count
- Use std::thread::hardware_concurrency() to try estimate available threads instead of hardcoded 3 threads by default
- Print thread count always regardless of using --threads switch or not
2017-03-17 19:09:58 +01:00
Shauren
6067d19dfc Fix linux build 2017-03-08 19:22:48 +01:00
Shauren
7b235ce6e4 Core/DataStores: Refactor DB2 loaders to be reusable by extractors 2017-03-08 18:10:02 +01:00
Shauren
d5133a64f6 Tools/vmapextractor: Fixed extracting gameobject models 2017-03-07 17:15:07 +01:00
Shauren
b8db320bf1 Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib) 2017-03-04 18:46:18 +01:00
r00ty-tc
8a71e4255e [Core/Maps] Activate creatures and objects during opening cinematics and other flyby cameras (sunwell etc).
Requires re-running map extractor to extract camera m2 files from data
files. These are very small.
2017-02-19 14:47:20 +01:00
Eilo
149a9854f7 Tools/mmaps_generator: Added estimated percentage progress to console output (#17798)
(cherry picked from commit 0a53d0b1fa)

# Conflicts:
#	src/tools/mmaps_generator/MapBuilder.cpp
2017-02-12 17:04:08 +01:00
jackpoz
e5ba8f1e4d Core/MMAPs: Update recast
Update recast to 64385e9ed0

(cherry picked from commit 1d7013e0e2)

# Conflicts:
#	dep/PackageList.txt
2017-02-12 15:41:19 +01:00
jackpoz
f98e3b0ee5 Tools/MMapGenerator: Avoid saving uninitialized padding bytes to disk
Initialize padding bytes in MmapTileHeader struct to avoid saving uninitialized data to disk, causing issues when binary-comparing *.mmtile files.

(cherry picked from commit 2585c62e6f)
2017-02-12 15:39:38 +01:00
Shauren
108c358ad6 Tools/mapextractor: Fixed db2/gt output filenames when running on linux
Closes #18975
2017-01-28 14:02:01 +01:00
Shauren
7b43adc436 Tools/Extractors: Use boost::filesystem for path manipulations
Fixes coverity issue CID 1324654
2017-01-23 18:42:29 +01:00
Shauren
3fd51db845 Tools/Extractors: Intruduce safe casc handles and fix all casc related memory leaks
CID 1254545
CID 1254555
CID 1254588
CID 1343649
2017-01-18 17:20:16 +01:00
Shauren
f11e6c8247 Core: Updated to 7.1.5.23360 2017-01-14 22:37:13 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
40cdc86e9a Tools/Patcher: Maybe fix mac
Ref #18145
2016-12-22 16:46:30 +01:00
Shauren
21be921a09 Tools/Mapextractor: Updated db2 list 2016-12-08 21:50:12 +01:00
Shauren
6ce35f3772 Tools/Patcher: Removed administrator requirement as it no longer writes to ProgramData 2016-12-06 23:45:35 +01:00
zori
fcbbeb3644 Correct Nav type for WMO objects (#18364)
* Tools/MMaps: Correct liquid type for WMO objects

* MMaps: Update version to 6

(cherry picked from commit 0df0cb30ca)
2016-12-04 02:23:13 +01:00
Aokromes
22396f1bcf Fix typo in VMap BIH generation (#18297)
Fix typo in VMap BIH generation
By zorix
(cherry picked from commit 2402f47642)

Core/Maps: bumping Vmap version after 2402f47642

Re-extracting vmaps is required
(cherry picked from commit ec9a8345a4)

Core/Map: missing file change in last commit
(cherry picked from commit 881cd78ae3)
2016-12-03 15:27:23 +01:00
Shauren
9633c8c2b7 Core/Debugging: Partially revert e0fb4445cd, the cmake hack to build wheaty directly into executable is still needed as it is impossible to have it initialize before every other static variable when it resides in dll (dynamic linking only) 2016-11-28 20:21:21 +01:00
Shauren
e0fb4445cd Core/Debugging: Added wheaty everywhere and modified it to always reliably report issues during static initialization 2016-11-28 18:37:51 +01:00
Shauren
6076f9312a Tools/Patcher: Updated windows x64 pattern 2016-10-28 18:27:12 +02:00
vincent-michael
0fa16f6fd9 Core/Tools: Updated extractor for 7.1.0
Closes #18143
2016-10-27 22:48:48 +02:00
keke222
a3b953952a Tools: Automatically create directories for tools (#17971) 2016-10-20 23:32:49 +02:00
DDuarte
01f7bacd05 Tools/VMapExtractor: Port 060256000b 2016-08-04 18:09:54 +01:00
Carbenium
060256000b Tools/Mapextractor: Fix a vector subscript out of range debug assertion 2016-07-26 01:14:16 +02:00
Gacko
90d3c1eadc Fix non PCH build. 2016-07-24 13:26:07 +02:00
Shauren
7d7139ba02 Core: Change supported build to 7.0.3.22293 2016-07-23 14:40:58 +02:00
Shauren
53e65db5cc Tools/Patcher: Updated patterns for x64 win/mac clients 2016-07-23 00:28:50 +02:00
Shauren
7ed0e8147d Tools/mmaps_generator: Update junk map definitions 2016-07-22 19:49:16 +02:00
Shauren
de4c42496f Tools/vmapextractor: Update to new m2 and wmo structures 2016-07-22 17:34:15 +02:00
Shauren
8e53373d35 Warning fixes 2016-07-19 20:01:13 +02:00
Shauren
3607d9eef5 Tools: Added game tables extractor 2016-07-19 19:50:44 +02:00
Shauren
fe4d11c65a Tools: Extractor updates
* VMAP extractor does not work due to a bug in CascLib
2016-07-18 23:37:19 +02:00
Shauren
a9a13d10f7 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-17 17:37:06 +02:00
Shauren
a8c412a063 Tools: Added universal TrinityCore banner with git version info to all tools 2016-07-17 17:24:53 +02:00
Shauren
5b7a0f35d6 Tools/Patcher: Updated patterns for x64 win/mac clients 2016-07-17 14:28:27 +02:00
Shauren
70137b8f3a Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-06 00:05:13 +02:00
Shauren
78b31e9637 Tools/Patcher: Fixed client crashes happening on macs
Closes #16872
2016-06-19 11:25:47 +02:00
Shauren
b82332487a Core/DataStores: Updated db2 to 7.0.3.21737 2016-05-27 23:14:36 +02:00
KarrokDC
116c807076 Tools/VMapExtractor: Fix an unitialized access to casc if locale isn't found
Fix Coverity issue CID 1341054
2016-04-11 16:10:24 +01:00
Shauren
8fcca8e01c Tools/Connection patcher: Updated for 6.2.4.21355 2016-03-27 23:57:41 +02:00
DJScias
d2e2924b6a Tools/ConnectionPatcher: patch 'versions' by default to prevent auto-updating of executables
* On executable drag and drop it will find the current build number and apply the correct versions patch.
* This prevents patched executables from auto-updating and causing incorrect version errors.
* Also removed "-e" functionality as this change renders it obsolete.
2016-03-23 19:46:44 +01:00
Naios
0db4f018e8 CMake: Use inherited dependencies in common and tools
(cherry picked from commit abda7a910a)
2016-03-19 23:19:52 +01:00
Naios
37dbbe22eb Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c
(cherry picked from commit f52495c66b)
2016-03-16 16:12:04 +01:00
Shauren
e24a6e52e9 Build fixes 2016-02-10 22:11:04 +01:00
Shauren
c09f72a2c8 Core/Maps: Moved min height calculation to worldserver for more precise results
Closes #16530
2016-02-10 22:04:04 +01:00
Shauren
4f78efd463 Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling

Note: Extracting new maps is required
2016-02-09 00:14:58 +01:00
Shauren
db0b8bf24e Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
Note: Extracting maps is required
2016-02-02 19:13:04 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00