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
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
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
a8611de906
Tools/MeshExtractor: Fixed a few mistakes in MPQManager::GetFileFrom and Utils::SaveToDisk
2013-10-01 15:45:55 -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
02a543b0a0
Tools/MeshExtractor: Some more cleanup and memory management improvements.
2013-09-29 20:06:44 -05:00
Sebastian Valle
371dd07037
Tools/MeshExtractor: Fixed Doodads and WMOs in the terrain.
...
Cleaned up a little.
2013-09-29 19:47:52 -05:00
Sebastian Valle
279183737c
Tools/MeshExtractor: Fixed(??????) Doodads in the terrain.
...
Semi-fixed WMOs in the terrain, they are wrongly rotated.
P.D: HALP
P.P.D: Entered "I don't know what i'm doing" mode.
2013-09-29 16:52:20 -05:00
Sebastian Valle
a68c29e15c
Tools/MeshExtractor: Fixed a lot of stuff, finally made the Doodads render, the WMO's have been disabled for now.
...
ToDo:
* Fix the doodads positions.
* Review and re-implement some code.
P.D: Help me please.
2013-09-29 02:05:28 -05:00
Chaplain
42ae39bf97
Tools/MeshExtractor: Cleanup using static analyzing tool
...
*printf format fixed
*method arguments changed to const where needed
*removed not needed strlen() from cycles
*other minor changes
2013-09-28 15:47:23 +03:00
baines
88dd08d4b0
Fix mismatching new/delete
2013-03-20 06:47:30 -04:00
Vincent_Michael
f4de181db0
SQL: Rename SQL merged in PR
2013-01-23 20:29:40 +01:00
Spp
5f15600e7a
Core/Build: Fix linking and sooo many compile warnings
2013-01-09 13:13:39 +01:00
Subv
19d7f68592
Tools/MeshExtractor: Changed some things, lots of thanks to Faramir.
2012-10-20 07:17:11 -05:00
Subv
e31e251fda
Tools/MeshExtractor: More progress on extracting GameObject models
2012-10-04 20:53:54 -05:00
Subv
f7d3600e7e
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
...
Conflicts:
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
2012-10-04 19:39:09 -05:00
Subv
d2437407f4
Tools/MeshExtractor:
...
* Fixed a bunch of errors
* Allow to extract m2 and mdx models, WMOs are still not being extracted.
2012-10-03 21:09:05 -05:00
Subv
e32ddea96a
Tools/MeshExtractor:
...
* Added the capability of extracting DBCs.
* Fixed most compile warnings
* Some work on the navigation mesh generation process (still not ready)
2012-10-03 18:02:18 -05:00
Subv
fa57ecddac
Tools/MeshExtractor:
...
* Added the option to output debug information on ADTs.
* Tweaked rcConfig options and fixed some mistakes about it.
* Generate 64 tiles per ADT, this should give us a more accurate mesh on large maps.
* Speedup compilation time by moving function bodies from Utils.h to Utils.cpp
2012-10-01 15:43:21 -05:00
Nay
4c3266c7af
Tools&Core: Whitespace cleanup
...
No one likes whitespace, right?
2012-09-30 15:52:10 +01: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
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