Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
Vincent-Michael
98e27a4f15
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
...
Conflicts:
src/tools/map_extractor/System.cpp
2014-08-24 16:33:29 +02:00
Vincent-Michael
79b954a349
Core: meh, remove again whitespace :(
2014-08-24 02:46:14 +02:00
Vincent_Michael
20c3eebfa7
Fix revert fail in ad8c046916
2014-01-18 20:31:41 +01:00
Vincent_Michael
ad8c046916
Core/Revert: ...
2014-01-18 01:36:12 +01:00
DDuarte
08003577de
Merge branch 'master' into 4.3.4
...
Conflicts:
dep/libmpq/CMakeLists.txt
src/server/game/Battlefield/BattlefieldMgr.cpp
src/server/game/Battlefield/BattlefieldMgr.h
src/server/game/DataStores/DBCStores.cpp
src/server/game/Entities/Creature/Creature.cpp
src/server/game/Entities/Creature/Creature.h
src/server/game/Entities/Object/Object.cpp
src/server/game/Entities/Player/Player.h
src/server/game/Entities/Unit/StatSystem.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Entities/Vehicle/Vehicle.cpp
src/server/game/Globals/ObjectMgr.cpp
src/server/game/Handlers/BattlefieldHandler.cpp
src/server/game/Handlers/GuildHandler.cpp
src/server/game/Movement/Spline/MoveSplineInit.cpp
src/server/game/Server/Protocol/Opcodes.cpp
src/server/game/Server/WorldSession.h
src/server/scripts/EasternKingdoms/Deadmines/deadmines.cpp
src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp
src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
src/server/scripts/EasternKingdoms/ZulAman/zulaman.h
src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_kilnara.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp
src/server/scripts/EasternKingdoms/ZulGurub/zulgurub.h
src/server/scripts/EasternKingdoms/boss_kruul.cpp
src/server/scripts/EasternKingdoms/zone_tirisfal_glades.cpp
src/server/scripts/Kalimdor/zone_azshara.cpp
src/server/scripts/Kalimdor/zone_moonglade.cpp
src/server/scripts/Kalimdor/zone_orgrimmar.cpp
src/server/scripts/Kalimdor/zone_stonetalon_mountains.cpp
src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp
src/server/scripts/OutdoorPvP/OutdoorPvPEP.h
src/server/scripts/Spells/spell_dk.cpp
src/tools/map_extractor/mpq_libmpq.cpp
src/tools/map_extractor/mpq_libmpq04.h
src/tools/vmap4_extractor/loadlib/loadlib.h
src/tools/vmap4_extractor/mpq_libmpq.cpp
src/tools/vmap4_extractor/mpq_libmpq04.h
2014-01-11 17:26:22 +00:00
Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
Subv
a63780fd90
Tools/MeshExtractor: Fixed continent meshes, exclude triangles with material 0xFF from the mesh.
2013-12-31 18:03:04 -05:00
Subv
060bc7817f
Tools/MeshExtractor: Added some consts
2013-12-31 17:19:18 -05:00
Subv
7b9dbfb1db
Tools/MeshExtractor: Fixed a few leaks and added the liquid vertices to the output data.
2013-12-31 16:22:24 -05:00
Subv
31bd3bab3f
Tools/MeshExtractor: Fixed a crash when parsing liquid data (Thanks @Cyberium).
...
Added some support for other liquid types in the liquid chunks (Namely Magma and Slime)
2013-12-31 14:11:05 -05:00
jackpoz
7ccf9b948c
Tools/MeshExtractor: Fix warnings
2013-12-31 16:06:56 +01:00
jackpoz
a7c77322eb
Tools/MeshExtractor: Fix uninitialized values causing crashes
...
Fix uninitialized values causing crashes in the destructor.
2013-12-31 15:39:47 +01:00
jackpoz
bd57e06caf
Tools/MeshExtractor: Store WorldModelGroup references in WorldModelRoot
2013-12-31 15:08:37 +01:00
Subv
91f93feff5
Tools/MeshExtractor: Adjusted some config values and added some testing code.
2013-12-30 23:00:20 -05:00
jackpoz
85218f4436
Tools/MeshExtractor: Fix warnings
2013-12-31 01:09:09 +01:00
Subv
ca118b10e9
Tools/MeshExtractor: Fixed some delete miss-matches
2013-12-29 23:21:36 -05:00
Subv
0a693b1568
Tools/MeshExtractor: Fixed a mistake in the WorldModelGroup constructor.
2013-12-29 22:59:23 -05:00
Subv
15d66d19b4
Tools/MeshExtractor: Fixed the threading, threads should no longer behave in a weird way.
2013-12-29 21:37:43 -05:00
Subv
473e4a7b7b
Tools/MeshExtractor: Missing changes from previous commit
2013-12-29 21:02:43 -05:00
Subv
b89585e843
Tools/MeshExtractor: Added some stuff to make the switch to C++11 easier
2013-12-29 21:02:15 -05:00
Subv
8cc77ff1fd
Don't delete the liquid height data in the destructor as it is called after ReadGroups ends, so the pointers are deleted but they are still referenced in the objects contained inside the Groups vector.
2013-12-29 20:27:37 -05:00
Subv
5c5c14e0d4
Move the WorldModelGroup when loading the WorldModelRoot groups to the Groups vector to prevent undefined behavior on destruction
2013-12-29 19:43:46 -05:00
Subv
1011376b95
Ignore the build on some test maps.
2013-12-29 18:48:18 -05:00
Subv
55936274e9
Fixed a few memory leaks.
2013-12-29 18:19:33 -05:00
Subv
d30eecf4e4
Updated some code to use the STL
2013-12-29 15:47:23 -05:00
Sebastian Valle
bb057ae40b
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw
...
Conflicts:
src/server/collision/Management/MMapManager.h
2013-10-29 13:13:37 -05:00
Ascathor
7a7ad4a60a
Core/Code: Adding copyright to all the mesh_extractor files.
2013-10-27 23:56:58 +01:00
Sebastian Valle
4ce12dc481
Tools/MeshExtractor: Don't load neighbor ADTs each time we generate an ADT.
2013-10-17 11:16:20 -05:00
jackpoz
6f63d430b0
Tools/MeshExtractor: Fix uninitialized values
...
Fix uninitialized struct padding bytes written to output files. These bytes are actually ignored when loading these files, so the main point of this fix is to shut up the Valgrind log.
Valgrind log:
Syscall param write(buf) points to uninitialised byte(s)
at : ??? (syscall-template.S:81)
by : _IO_file_write@@GLIBC_2.2.5 (fileops.c:1270)
by : new_do_write (fileops.c:546)
by : _IO_do_write@@GLIBC_2.2.5 (fileops.c:519)
by : _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1341)
by : fwrite (iofwrite.c:43)
by BuilderThread::svc() (ContinentBuilder.cpp:56)
by : ACE_Task_Base::svc_run(void*) (in /usr/lib/libACE-6.0.3.so)
by : ACE_Thread_Adapter::invoke_i() (in /usr/lib/libACE-6.0.3.so)
by : ACE_Thread_Adapter::invoke() (in /usr/lib/libACE-6.0.3.so)
by : start_thread (pthread_create.c:311)
by : clone (clone.S:113)
Address 0x4039011 is not stack'd, malloc'd or (recently) free'd
Uninitialised value was created by a stack allocation
at: BuilderThread::svc() (ContinentBuilder.cpp:30)
2013-10-08 20:38:42 +02:00
Sebastian Valle
b1ed66b52d
Tools/MeshExtractor: Added some locks because concurrency.
...
Race conditions were detected with a race condition detection tool.
2013-10-06 21:22:38 -05:00
Sebastian Valle
e7f035fdd3
Tools/MeshExtractor: Fixed a logic mistake.
2013-10-06 15:30:56 -05:00
jackpoz
7d6a47c128
Tools/MeshExtractor: Fix memory cleanup
...
Free memory created with new[] with delete[] .
2013-10-06 21:59:52 +02:00
jackpoz
e7b93044fb
Tools/MeshExtractor: Code cleanup and fix threading issue
...
Remove GenericCache:Insert() as no longer needed.
Mark BuilderThread as not free anymore as soon as they are assigned to a Tile.
Fix signed/unsigned comparison mismatch.
2013-10-06 21:30:20 +02:00
Sebastian Valle
58912635a7
Tools/MeshExtractor: Fixed a few errors under GCC and changed a bit how the GenericCache class works.
2013-10-06 13:47:22 -05:00
Sebastian Valle
79ad827895
Tools/MeshExtractor: Rewrote the MeshExtractor to use a custom Stream class instead of FILE pointers, this way we avoid the errors that were caused by reaching the maximum limit of the tmpfile function, and the maximum number of open file streams at any given time.
...
P.S: This was no easy task, damnit.
2013-10-05 22:18:38 -05:00
Sebastian Valle
64ab895f1e
Tools/MeshExtractor: Create the mmaps output directory automatically.
2013-10-05 18:56:09 -05:00
Sebastian Valle
6e994f1189
Core/MMaps: Bump mmaps version to 5
2013-10-05 18:52:46 -05:00
Sebastian Valle
a27237dedd
Core/MMaps: MMaps are now correctly loaded into TC
...
P.S: They do behave better in some places, but are still a bit weird in some others, will have to look into that.
P.P.S: I'll have to re-implement all the previous PathGenerator code
2013-10-04 22:23:17 -05:00
Sebastian Valle
e62f64b591
Tools/MeshExtractor: Fixed loading of locale patch MPQs (This fixes DBC extraction)
2013-10-04 10:25:44 -05:00
Sebastian Valle
8fb1f7cc97
Tools/MeshExtractor: Implemented 7ca6f56a06 in MeshExtractor and fixed a memory leak.
2013-10-01 16:27:57 -05:00
Sebastian Valle
a8611de906
Tools/MeshExtractor: Fixed a few mistakes in MPQManager::GetFileFrom and Utils::SaveToDisk
2013-10-01 15:45:55 -05:00
Sebastian Valle
1588e27f1e
Tools/MeshExtractor: Fixed the generated mesh for continents.
...
Fixed a few more issues.
2013-10-01 14:13:37 -05:00
Sebastian Valle
c5c3b7ab2a
Tools/MeshExtractor: Implemented the code to generate mesh files for continent maps.
...
Fixed a few more things
ToDo:
Test the generated navmesh.
2013-09-30 23:31:09 -05:00
Sebastian Valle
3ed0a11679
Tools/MeshExtractor: Do not delete the polygons before we are done using them.
2013-09-30 21:08:33 -05:00
Sebastian Valle
1e23710b11
Tools/MeshExtractor: Forgot to push some changes.
2013-09-30 18:00:00 -05:00
Sebastian Valle
520ff5a6e7
Tools/MeshExtractor: Some more cleanup.
2013-09-30 17:46:19 -05:00
Sebastian Valle
271a57b80d
Tools/MeshExtractor: Fixed mmap extracting for instance maps and fixed a number of issues.
...
ToDo:
Cleanup the code a bit.
WILL NOT CURRENTLY WORK WITH TrinityCore, if you want to test it, use the --extract 32 flag of MeshExtractor.
2013-09-30 17:27:37 -05:00
Sebastian Valle
15e7f7ab21
Tools/MeshExtractor: Implemented mmap mesh generation for instances (They do not have ADT files, they're just a big WMO).
...
Cleaned up some things and fixed some errors.
ToDo:
* Test this a bit more.
* Cleanup the codebase for this, remove duplicated code.
2013-09-30 01:05:07 -05:00
Sebastian Valle
9876108f3e
Tools/MeshExtractor: Removed some redundant code
2013-09-29 20:15:35 -05:00