Maintenance: [forced, user-approved] Family W5 (resubmission of 10276 without the STATIC lines; replaces agent 2's 10270, returned by
Batch #10277 by ragnarok-clanker: forced by an admin (17 lower score(s), 63 changed function(s)); checked with 414 compiled unit(s), including every includer of Source/Contents/Effects/RagEffect.h, Source/Contents/Models/ModelActor.h, Source/Contents/Models/ModelNode.h, Source/Contents/Models/ModelRendering.h, Source/Contents/World/WorldModelView.h, Source/Contents/World/WorldOcclusion.h, Source/Contents/World/WorldTerrainPicking.h, Source/Render/Projection/RendererViewport.h, Source/Render/Projection/RenderProjection.h. Deletes: Source/Render/Projection/RenderProjection.h
This commit is contained in:
parent
39e062645b
commit
750f35b3dd
36 changed files with 154 additions and 234 deletions
|
|
@ -256,12 +256,12 @@ void C3dActor::Update() {
|
|||
|
||||
// OFFSET: 0x00AB7B40
|
||||
// FUNCTION: fn_17495
|
||||
void C3dActor::Draw(const float*, bool, ModelRenderContext&) {
|
||||
void C3dActor::Draw(const float*, bool) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x00AB7B50
|
||||
// FUNCTION: fn_17496
|
||||
void C3dActorV1::Draw(const float* matrix, bool clip, ModelRenderContext& context) {
|
||||
void C3dActorV1::Draw(const float* matrix, bool clip) {
|
||||
if (this->dirty == 1) {
|
||||
this->UpdateMatrix();
|
||||
}
|
||||
|
|
@ -270,7 +270,7 @@ void C3dActorV1::Draw(const float* matrix, bool clip, ModelRenderContext& contex
|
|||
std::memcpy(camera.values, matrix, sizeof(camera.values));
|
||||
struct matrix combined;
|
||||
combined.Compose(this->transform, camera);
|
||||
this->root->Draw(combined.values, this->Reversed(), clip, this->commandMode, context);
|
||||
this->root->Draw(combined.values, this->Reversed(), clip, this->commandMode);
|
||||
|
||||
if (this->occlusionEnabled == 1) {
|
||||
this->Fade();
|
||||
|
|
@ -279,7 +279,7 @@ void C3dActorV1::Draw(const float* matrix, bool clip, ModelRenderContext& contex
|
|||
|
||||
// OFFSET: 0x00AB7C40
|
||||
// FUNCTION: fn_17497
|
||||
void C3dActorV2::Draw(const float* matrix, bool clip, ModelRenderContext& context) {
|
||||
void C3dActorV2::Draw(const float* matrix, bool clip) {
|
||||
if (this->dirty == 1) {
|
||||
this->UpdateMatrix();
|
||||
}
|
||||
|
|
@ -291,7 +291,7 @@ void C3dActorV2::Draw(const float* matrix, bool clip, ModelRenderContext& contex
|
|||
const bool reversed = this->Reversed();
|
||||
|
||||
for (C3dNodeV2* root : this->roots) {
|
||||
root->Draw(combined.values, reversed, clip, this->commandMode, context);
|
||||
root->Draw(combined.values, reversed, clip, this->commandMode);
|
||||
|
||||
if (this->occlusionEnabled == 1) {
|
||||
this->Fade();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue