Maintenance: [forced, user-approved] Family W2: remove invented SpriteDrawingPolicy and AccessoryLayerDepth reference structs; their
Batch #10252 by ragnarok-clanker: forced by an admin (1 lower score(s), 10 changed function(s)); checked with 11 compiled unit(s), including every includer of Source/Contents/Actors/CharacterRender.h, Source/Contents/Actors/SpriteDrawingPolicy.h. Deletes: Source/Contents/Actors/SpriteDrawingPolicy.h
This commit is contained in:
parent
88b2de90c3
commit
2fa3c6677c
13 changed files with 78 additions and 107 deletions
|
|
@ -2,7 +2,6 @@
|
|||
#include "Client/Mode/ModeMgr.h"
|
||||
#include "Client/Session.h"
|
||||
#include "Contents/Actors/CharacterRender.h"
|
||||
#include "Contents/Actors/SpriteDrawingPolicy.h"
|
||||
#include "Contents/Camera/Camera.h"
|
||||
#include "Render/DeviceContext/DCSurface.h"
|
||||
#include "Render/Primitives/RenderPrimitive.h"
|
||||
|
|
@ -33,7 +32,7 @@ void CCharacterRender::RenderRobeCommands(
|
|||
return;
|
||||
}
|
||||
|
||||
if (reinterpret_cast<const SpriteDrawingPolicy*>(this)->DrawOnTop() == drawOnTop) {
|
||||
if (this->DrawOnTop() == drawOnTop) {
|
||||
std::string sprName = g_session.GetRobeSprName(
|
||||
this->unknown_0010, this->unknown_0014, this->unknown_0018[0], this->unknown_00BC, this->unknown_004C, this->unknown_0050
|
||||
);
|
||||
|
|
@ -62,7 +61,7 @@ void CCharacterRender::RenderRobeCommands(
|
|||
SpriteColor color;
|
||||
float bottomDepth;
|
||||
float topDepth;
|
||||
reinterpret_cast<const SpriteDrawingPolicy*>(this)->ProjectCell(
|
||||
this->ProjectCell(
|
||||
layer, layer, scale, cell, x, y, position, shift, bottomDepth, topDepth, *image, reinterpret_cast<SpriteCellQuad&>(quad), bounds, color, 0, 0,
|
||||
!drawOnTop
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue