Skip to content
Draft
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
2 changes: 0 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ set(WW3D2_SRC
bmp2d.h
#boxrobj.cpp
#boxrobj.h
bwrender.cpp
bwrender.h
#camera.cpp
#camera.h
#classid.h # unused
Expand Down
241 changes: 0 additions & 241 deletions Core/Libraries/Source/WWVegas/WW3D2/bwrender.cpp

This file was deleted.

86 changes: 0 additions & 86 deletions Core/Libraries/Source/WWVegas/WW3D2/bwrender.h

This file was deleted.

12 changes: 0 additions & 12 deletions Core/Libraries/Source/WWVegas/WW3D2/texproject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
#include "rinfo.h"
#include "camera.h"
#include "matpass.h"
#include "bwrender.h"
#include "assetmgr.h"
#include "dx8wrapper.h"

Expand Down Expand Up @@ -1168,17 +1167,6 @@ bool TexProjectClass::Compute_Texture
return renderResult == WW3D_ERROR_OK;
}

#if 0

/*
** Render the object with the BW Renderer into our color surface
*/
BWRenderClass bwr((unsigned char*)shadow_surface->getDataPtr(),tex_size);
bwr.Fill(0xff);
context->BWRenderer = &bwr;
model->Special_Render(*context);
context->BWRenderer = nullptr;
#endif
return true;
}

Expand Down
2 changes: 0 additions & 2 deletions Generals/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ set(WW3D2_SRC
#bmp2d.h
boxrobj.cpp
boxrobj.h
#bwrender.cpp
#bwrender.h
camera.cpp
camera.h
#classid.h
Expand Down
8 changes: 0 additions & 8 deletions Generals/Code/Libraries/Source/WWVegas/WW3D2/mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1059,14 +1059,6 @@ void MeshClass::Special_Render(SpecialRenderInfoClass & rinfo)
}
rinfo.VisRasterizer->Enable_Two_Sided_Rendering(false);
}

if (rinfo.RenderType == SpecialRenderInfoClass::RENDER_SHADOW) {
const HTreeClass * htree = nullptr;
if (Container!=nullptr) {
htree = Container->Get_HTree();
}
Model->Shadow_Render(rinfo,Transform,htree);
}
}

void MeshClass::Replace_Texture(TextureClass* texture,TextureClass* new_texture)
Expand Down
Loading
Loading