Commit Graph

104 Commits

Author SHA1 Message Date
Shauren
4499f203a3 Core/DataStores: Fixed sending localized hotfixes and improved db2 loading error messages 2020-07-01 00:34:51 +02:00
Shauren
7d9880252c Tools/mmaps_generator: Print readme with --help 2020-06-19 17:49:56 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren
5ba2d3616e Fixed mmaps_generator crash 2019-07-15 19:46:15 +02:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
136269a585 Tools/mmaps_generator: Fixed loading db2 stores on linux
* Author @rapsys

Closes #21898
2018-05-02 15:09:21 +02:00
Shauren
edb2b16f54 Tools/mmaps_generator: Give land priority during area merges over liquids
Closes #21700
2018-04-22 01:01:48 +02:00
Shauren
60c4c29da5 Tools/MMapsGenerator: Cleanup duplicated definitions
* rebuilding is not needed
2018-04-14 18:22:27 +02:00
Shauren
2c64bb97e6 Tools:
* mapextractor - fixed fatigue in Thousand Needles
* mapextractor - fixed compressing liquid data
* vmapextractor - fixed extracting liquids inside WMOs
* vmapextractor - implemented new WMO flags
* vmapextractor - store model type for gameobject models
* mmap_generator - fixed processing liquids broken in e5d23103f3
2018-04-07 21:56:19 +02:00
Shauren
3743d04201 Core/MMaps: Implemented loading phased tiles
Closes #16909
2018-03-25 19:28:36 +03:00
Shauren
4798d9ce7a Core/VMaps: Implement loading phased tiles
Closes #15163
2018-03-25 19:28:36 +03:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Rochet2
bbd7e3e326 Tools/MMapsGenerator: Get all tiles in beginning and calulate proper total tile count (#21139) 2017-12-30 17:47:30 +01:00
Naios
1285347518 Build: Inherit the features and warning flags privately 2017-12-20 04:04:28 +01:00
Aokromes
90badf9d7e Misc: More cleanup 2017-11-25 02:50:29 +01:00
joschiwald
9cb4a265a3 Misc: Fixed misleading indentation 2017-07-25 00:02:13 +02:00
Shauren
a12a34b1dc Core/Game: Include cleanup - removed G3D classes from packets
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-16 22:16:21 +02:00
Marco Ebert
6e2a911f6d Fix non-PCH build.
Your ad here.
2017-05-13 21:11:57 +02:00
Shauren
3c8210a1f3 Tools build fix 2017-05-11 22:51:26 +02:00
joschiwald
66744c4b4c Core/Tools: MapId can have 4 digits
Note: Re-extracting any maps is NOT required.
2017-04-27 19:24:14 +02:00
Shauren
457f58b1a2 Tools/mmaps_generator: Mak percentage progress slightly more accurate
#18832

(cherry picked from commit 29937aaa75)

# Conflicts:
#	src/tools/mmaps_generator/MapBuilder.cpp
2017-04-22 16:53:33 +02:00
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
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
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +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
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
keke222
a3b953952a Tools: Automatically create directories for tools (#17971) 2016-10-20 23:32:49 +02:00
Shauren
7ed0e8147d Tools/mmaps_generator: Update junk map definitions 2016-07-22 19:49:16 +02:00
Shauren
a8c412a063 Tools: Added universal TrinityCore banner with git version info to all tools 2016-07-17 17:24:53 +02: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
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
Carbenium
c0c4ed7135 Misc: Fix some warnings reported by GCC 4.9 2015-11-28 01:02:13 +01:00
Naios
13654bac2c Core/Tools: Fix brutal linking in mmaps extractor.
* caused warnings with shared linking
* ref #15671
2015-10-17 13:14:20 +02:00
StormBytePP
1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +02:00
Zedron
45070e0baf Tools/MMaps: Fixed loading .map files 2015-05-15 13:57:19 -05:00
Shauren
ed75b0649a Tools: Modified output files of all extractors to use 4 characters for map id and changed name format of map files to include a separator between values '_' that makes tokenization possible
* This fixes generating mmaps for maps with id >= 1000
* Fixed a crash happening when unloading last phased mmap tile
* Removed remaining references to libmpq in CMakeLists

Reextracting maps/vmaps/mmaps IS REQUIRED after this commit
2015-05-07 00:07:44 +02:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Shauren
035bda05ad Tools/Extractors: Build fixes for linux 2014-10-19 14:40:13 +02:00
Shauren
457c93bc4b Tools/Extractors: Updated vmap_extractor for 6.0.2 2014-10-19 14:02:08 +02:00
Shauren
67f9d916cb Build: Fixed game & collision depending on each other for linking 2014-10-09 23:01:31 +02:00
jackpoz
f8a7d537ec Tools/MMAPs: Fix log message if mmaps folder is not found
Fixes #12787
2014-08-10 17:25:48 +02:00
jackpoz
d3100edccb Tools/MMAPs: Fix uninitialized value in mmap_generator
Fix uninitialized value in mmap_generator. This fixes mmaps_generator broken in some build configurations.
Fixes #12644
2014-08-07 18:58:21 +02:00
jackpoz
4190d84c5b Tools/MMaps: Fix static analysis issues
Fix static analysis issue spotted by Coverity "Structurally dead code found"
2014-07-30 20:22:32 +02:00