Reconstruct readable C++ and organize cohesive source subsystems
Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.
Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
This commit is contained in:
parent
35d2a8cb36
commit
a47d20f8be
890 changed files with 11796 additions and 16664 deletions
|
|
@ -1,30 +0,0 @@
|
|||
#include "Contents/SpriteDrawingPolicy.h"
|
||||
#include "Script/LuaScript.h"
|
||||
|
||||
// OFFSET: 0x0080E3A0
|
||||
// FUNCTION: fn_10106
|
||||
bool SpriteDrawingPolicy::DrawOnTop() const {
|
||||
bool drawOnTop = true;
|
||||
|
||||
if (this->newDrawOnTop == 1) {
|
||||
int unusedPriority = 1;
|
||||
this->script.Call(
|
||||
"_New_DrawOnTop", "ddddd>bd", this->argument00BC, this->argument0018, this->argument0010,
|
||||
this->argument0040, this->argument0044, &drawOnTop, &unusedPriority
|
||||
);
|
||||
} else {
|
||||
this->script.Call(
|
||||
"DrawOnTop", "ddddd>b", this->argument00BC, this->argument0018, this->argument0010,
|
||||
this->argument0040, this->argument0044, &drawOnTop
|
||||
);
|
||||
}
|
||||
|
||||
return drawOnTop;
|
||||
}
|
||||
|
||||
// OFFSET: 0x008124B0
|
||||
// FUNCTION: fn_10111
|
||||
bool SpriteDrawingPolicy::SetRobe(int robe) {
|
||||
this->argument00BC = robe;
|
||||
return this->script.CallTable("TB_Layer_Priority", "IsHelmRobe", "d>b", robe, &this->helmRobe);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue