Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Core/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ add_library(corei_ww3d2 INTERFACE)

target_sources(corei_ww3d2 INTERFACE ${WW3D2_SRC})

target_include_directories(corei_ww3d2 INTERFACE
"${CMAKE_CURRENT_SOURCE_DIR}"
)

if (MSVC AND NOT IS_VS6_BUILD)
target_link_libraries(corei_ww3d2 INTERFACE
comsuppw
Expand Down
6 changes: 3 additions & 3 deletions Core/Libraries/Source/WWVegas/WW3D2/aabtree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@


#include "aabtree.h"
#include "WW3D2/aabtreebuilder.h"
#include "aabtreebuilder.h"
#include "WWDebug/wwdebug.h"
#include "WWMath/tri.h"
#include "WW3D2/meshgeometry.h"
#include "meshgeometry.h"
#include "coltest.h"
#include "inttest.h"
#include "WWMath/colmathinlines.h"
#include "WW3D2/w3d_file.h"
#include "w3d_file.h"
#include "WWLib/chunkio.h"


Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/agg_def.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include "w3derr.h"
#include "WWLib/chunkio.h"
#include "WWDebug/wwdebug.h"
#include "WW3D2/assetmgr.h"
#include "assetmgr.h"
#include "matinfo.h"
#include "texture.h"
#include "WWLib/wwstring.h"
Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/bmp2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@

#include "bmp2d.h"
#include "WWMath/pot.h"
#include "WW3D2/ww3d.h"
#include "ww3d.h"
#include "texture.h"
#include "surfaceclass.h"
#include "WW3D2/assetmgr.h"
#include "assetmgr.h"
#include "textureloader.h"
#include "ww3dformat.h"

Expand Down
6 changes: 3 additions & 3 deletions Core/Libraries/Source/WWVegas/WW3D2/collect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@

#include "collect.h"
#include "WWLib/chunkio.h"
#include "WW3D2/camera.h"
#include "camera.h"
#include "WWDebug/wwdebug.h"
#include "snapPts.h"
#include "WW3D2/assetmgr.h"
#include "WW3D2/ww3d.h"
#include "assetmgr.h"
#include "ww3d.h"
#include "w3derr.h"
//#include "sr.hpp"

Expand Down
6 changes: 3 additions & 3 deletions Core/Libraries/Source/WWVegas/WW3D2/decalsys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@

#include "decalsys.h"
#include "rendobj.h"
#include "WW3D2/mesh.h"
#include "WW3D2/decalmsh.h"
#include "WW3D2/matrixmapper.h"
#include "mesh.h"
#include "decalmsh.h"
#include "matrixmapper.h"
#include "texture.h"


Expand Down
10 changes: 5 additions & 5 deletions Core/Libraries/Source/WWVegas/WW3D2/distlod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@

#include "distlod.h"
#include "WWLib/nstrdup.h"
#include "WW3D2/ww3d.h"
#include "WW3D2/assetmgr.h"
#include "WW3D2/camera.h"
#include "ww3d.h"
#include "assetmgr.h"
#include "camera.h"
#include "w3derr.h"
#include "WWDebug/wwdebug.h"
#include "WWLib/chunkio.h"
#include "WW3D2/hlod.h"
#include "WW3D2/rinfo.h"
#include "hlod.h"
#include "rinfo.h"
#include "coltest.h"
#include "inttest.h"

Expand Down
10 changes: 5 additions & 5 deletions Core/Libraries/Source/WWVegas/WW3D2/dx8renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@
#include "WWDebug/wwdebug.h"
#include "WWDebug/wwprofile.h"
#include "WWDebug/wwmemlog.h"
#include "WW3D2/rinfo.h"
#include "rinfo.h"
#include "statistics.h"
#include "WW3D2/meshmdl.h"
#include "meshmdl.h"
#include "WWMath/vp.h"
#include "WW3D2/decalmsh.h"
#include "decalmsh.h"
#include "matpass.h"
#include "WW3D2/camera.h"
#include "camera.h"
#include "stripoptimizer.h"
#include "WW3D2/meshgeometry.h"
#include "meshgeometry.h"

/*
** Global Instance of the DX8MeshRender
Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/dx8rendererdebugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

#include "dx8rendererdebugger.h"
#include "WWLib/hashtemplate.h"
#include "WW3D2/mesh.h"
#include "WW3D2/meshmdl.h"
#include "mesh.h"
#include "meshmdl.h"

static HashTemplateClass<unsigned, MeshClass*> MeshHash;

Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/dx8webbrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
//******************************************************************************************

#include "dx8webbrowser.h"
#include "WW3D2/ww3d.h"
#include "ww3d.h"
#include "dx8wrapper.h"

#if ENABLE_EMBEDDED_BROWSER
Expand Down
16 changes: 8 additions & 8 deletions Core/Libraries/Source/WWVegas/WW3D2/dx8wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,22 @@
#include "dx8vertexbuffer.h"
#include "dx8indexbuffer.h"
#include "dx8renderer.h"
#include "WW3D2/ww3d.h"
#include "WW3D2/camera.h"
#include "ww3d.h"
#include "camera.h"
#include "WWLib/wwstring.h"
#include "WWMath/matrix4.h"
#include "WW3D2/vertmaterial.h"
#include "vertmaterial.h"
#include "rddesc.h"
#include "WW3D2/lightenvironment.h"
#include "lightenvironment.h"
#include "statistics.h"
#include "WWLib/registry.h"
#include "WW3D2/boxrobj.h"
#include "boxrobj.h"
#include "pointgr.h"
#include "WW3D2/render2d.h"
#include "render2d.h"
#include "sortingrenderer.h"
#include "shattersystem.h"
#include "WW3D2/light.h"
#include "WW3D2/assetmgr.h"
#include "light.h"
#include "assetmgr.h"
#include "textureloader.h"
#include "missingtexture.h"
#include "WWLib/thread.h"
Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/dynamesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
#include "dx8indexbuffer.h"
#include "dx8wrapper.h"
#include "sortingrenderer.h"
#include "WW3D2/rinfo.h"
#include "WW3D2/camera.h"
#include "rinfo.h"
#include "camera.h"
#include "dx8fvf.h"


Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/font3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#include "font3d.h"
#include "WW3D2/assetmgr.h"
#include "assetmgr.h"
#include "texture.h"
#include <assert.h>
#include <WWDebug/wwdebug.h>
Expand Down
6 changes: 3 additions & 3 deletions Core/Libraries/Source/WWVegas/WW3D2/hanim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@


#include "hanim.h"
#include "WW3D2/assetmgr.h"
#include "assetmgr.h"
#include "htree.h"
#include "WW3D2/motchan.h"
#include "motchan.h"
#include "WWLib/chunkio.h"
#include "WW3D2/w3d_file.h"
#include "w3d_file.h"
#include "WWDebug/wwdebug.h"
#include <WWLib/nstrdup.h>

Expand Down
6 changes: 3 additions & 3 deletions Core/Libraries/Source/WWVegas/WW3D2/hcanim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@


#include "hcanim.h"
#include "WW3D2/assetmgr.h"
#include "assetmgr.h"
#include "htree.h"
#include "WW3D2/motchan.h"
#include "motchan.h"
#include "WWLib/chunkio.h"
#include "WW3D2/w3d_file.h"
#include "w3d_file.h"
#include "WWDebug/wwdebug.h"
#include <WWLib/nstrdup.h>

Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/hmdldef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

#include "hmdldef.h"
#include <assert.h>
#include "WW3D2/w3d_file.h"
#include "w3d_file.h"
#include "WWLib/chunkio.h"
#include "snapPts.h"

Expand Down
8 changes: 4 additions & 4 deletions Core/Libraries/Source/WWVegas/WW3D2/htree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
#include <assert.h>
#include "WWMath/wwmath.h"
#include "WWLib/chunkio.h"
#include "WW3D2/w3d_file.h"
#include "w3d_file.h"
#include "WWDebug/wwmemlog.h"
#include "WW3D2/hrawanim.h"
#include "WW3D2/motchan.h"
#include "WW3D2/ww3d.h"
#include "hrawanim.h"
#include "motchan.h"
#include "ww3d.h"

/***********************************************************************************************
* HTreeClass::HTreeClass -- constructor *
Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/intersec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@


#include "intersec.h"
#include "WW3D2/camera.h"
#include "WW3D2/scene.h"
#include "camera.h"
#include "scene.h"
#include "intersec.inl"


Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@


#include "layer.h"
#include "WW3D2/scene.h"
#include "WW3D2/camera.h"
#include "scene.h"
#include "camera.h"


/***********************************************************************************************
Expand Down
8 changes: 4 additions & 4 deletions Core/Libraries/Source/WWVegas/WW3D2/line3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#include "line3d.h"
#include "WW3D2/vertmaterial.h"
#include "WW3D2/shader.h"
#include "vertmaterial.h"
#include "shader.h"
#include "WWDebug/wwdebug.h"
#include "WW3D2/ww3d.h"
#include "WW3D2/rinfo.h"
#include "ww3d.h"
#include "rinfo.h"
#include "dx8wrapper.h"
#include "dx8vertexbuffer.h"
#include "dx8indexbuffer.h"
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/matinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#include "matinfo.h"
#include "WWDebug/wwdebug.h"
#include "WW3D2/meshmdl.h"
#include "meshmdl.h"
#include "texture.h"

MaterialInfoClass::MaterialInfoClass()
Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/matpass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@


#include "matpass.h"
#include "WW3D2/vertmaterial.h"
#include "WW3D2/shader.h"
#include "vertmaterial.h"
#include "shader.h"
#include "texture.h"
#include "statistics.h"
#include "dx8wrapper.h"
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/meshdam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@


#include "meshdam.h"
#include "WW3D2/w3d_file.h"
#include "w3d_file.h"
#include "w3derr.h"
#include "WWLib/chunkio.h"
//#include <sr.hpp>
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/metalmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include "metalmap.h"
#include "texture.h"
#include "ww3dformat.h"
#include "WW3D2/ww3d.h"
#include "ww3d.h"
#include <WWMath/vp.h>
#include <WWLib/INI.h>
#include <WWLib/Point.h>
Expand Down
8 changes: 4 additions & 4 deletions Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
* PointGroupClass::Peek_Texture -- Peeks texture *
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#include "pointgr.h"
#include "WW3D2/vertmaterial.h"
#include "WW3D2/ww3d.h"
#include "vertmaterial.h"
#include "ww3d.h"
#include "WWMath/aabox.h"
#include "statistics.h"
#include "WWLib/simplevec.h"
Expand All @@ -83,8 +83,8 @@
#include "dx8wrapper.h"
#include "dx8vertexbuffer.h"
#include "dx8indexbuffer.h"
#include "WW3D2/rinfo.h"
#include "WW3D2/camera.h"
#include "rinfo.h"
#include "camera.h"
#include "dx8fvf.h"
#include "d3dx8math.h"
#include "sortingrenderer.h"
Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/polyinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

#include "polyinfo.h"
#include "texture.h"
#include "WW3D2/vertmaterial.h"
#include "WW3D2/shader.h"
#include "vertmaterial.h"
#include "shader.h"

void PolygonInfoClass::Set_Texture(TextureClass *texture)
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/projector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#include "projector.h"
#include "WW3D2/matrixmapper.h"
#include "matrixmapper.h"


/***********************************************************************************************
Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/proto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@


#include "proto.h"
#include "WW3D2/mesh.h"
#include "mesh.h"
#include "hmdldef.h"
#include "WW3D2/hlod.h"
#include "hlod.h"
#include "w3derr.h"

/*
Expand Down
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/renderobjectrecycler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@

#include "renderobjectrecycler.h"
#include "rendobj.h"
#include "WW3D2/assetmgr.h"
#include "WW3D2/part_emt.h"
#include "assetmgr.h"
#include "part_emt.h"
#include "WWMath/matrix3d.h"


Expand Down
Loading
Loading