Curation round 25 (code only): the ultra horsemen and the Beast's background, the Scourge and Polty, the player's last gaps with the frame gate removed, game core, debug and daily, local co-op and player-controlled enemies, TMTRAINER, local versus, the vanilla Lua API, the special-daily fix, shared constants folded (60 duplicates, 10 offline gaps)

This commit is contained in:
shweet committed 2026-11-23 07:35:21 -05:00
1 parent 534339a496
commit 5c89798773
280 files changed
+14904 -5309

No files matched your search

-112
View File
@@ -50,42 +50,6 @@ void Sprite::Play(std_string *animName, uint8_t isForce)
return;
}
// 0040a4b0
void Sprite::IsPlaying(uint8_t *param_1)
{
ANM2 *in_ECX;
if (0xf < *GHIDRA_CAST<uint32_t *>((param_1 + 0x14))) {
param_1 = *GHIDRA_CAST<uint8_t **>(param_1);
}
ANM2::IsPlaying(in_ECX,param_1);
return;
}
// 0040a530
uint8_t Sprite::IsFinished(std_string *animName)
{
uint8_t bVar1;
if (0xf < animName->_capacity) {
animName = *GHIDRA_CAST<std_string **>(animName->_buf);
}
bVar1 = ANM2::IsFinishedImpl(GHIDRA_CAST<ANM2 *>(this),GHIDRA_CAST<uint8_t *>(animName));
return bVar1;
}
// 0040a5b0
uint8_t Sprite::SetAnimation(std_string *name, uint8_t isReset)
{
uint8_t bVar1;
if (0xf < name->_capacity) {
name = *GHIDRA_CAST<std_string **>(name->_buf);
}
bVar1 = ANM2::SetAnimation(GHIDRA_CAST<ANM2 *>(this),GHIDRA_CAST<uint8_t *>(name),isReset);
return bVar1;
}
// 0040a720
void Sprite::SetFrame_1(int frame)
{
@@ -107,32 +71,6 @@ void Sprite::PlayOverlay(uint8_t *param_1, uint8_t param_2)
return;
}
// 0040a9d0
void Sprite::IsOverlayPlaying()
{
FUN_0040a9f0();
return;
}
// 0040aa50
void Sprite::IsOverlayFinished()
{
FUN_0040aa70();
return;
}
// 0040aad0
uint8_t Sprite::SetOverlayAnimation(std_string *animName, uint8_t isReset)
{
uint8_t bVar1;
if (0xf < animName->_capacity) {
animName = *GHIDRA_CAST<std_string **>(animName->_buf);
}
bVar1 = ANM2::SetOverlayAnimation(GHIDRA_CAST<ANM2 *>(this),GHIDRA_CAST<uint8_t *>(animName),isReset);
return bVar1;
}
// 0040abb0
void Sprite::SetOverlayFrame(std_string *animName, int frame)
{
@@ -148,36 +86,6 @@ void Sprite::SetOverlayFrame(std_string *animName, int frame)
return;
}
// 0040b000
uint8_t Sprite::IsEventTriggered(void *eventName)
{
uint8_t isTriggered;
if (0xf < *GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(eventName) + 0x14))) {
eventName = *(void **)eventName;
}
if ((this->_animState)._animData == (void *)0x0) {
return 0;
}
isTriggered = AnimationState::IsEventTriggered(&this->_animState,eventName);
return isTriggered;
}
// 0040b060
uint8_t Sprite::WasEventTriggered(std_string *eventName)
{
uint8_t local_AL_32;
if (0xf < eventName->_capacity) {
eventName = *GHIDRA_CAST<std_string **>(eventName->_buf);
}
if ((this->_animState)._animData == (void *)0x0) {
return 0;
}
local_AL_32 = AnimationState::WasEventTriggered(&this->_animState,GHIDRA_CAST<uint8_t *>(eventName));
return local_AL_32;
}
// 0040b200
LayerState * Sprite::GetLayer(uint8_t *layerName)
{
@@ -220,20 +128,6 @@ void Sprite::SetScale(Vector *scale)
return;
}
// 004312e0
std_string * Sprite::GetFilename(std_string *outName)
{
(GHIDRA_CAST<msvc::string *>((outName->_buf)))->msvc::string::string(this);
return outName;
}
// 00431300
void Sprite::SetOverlayRenderPriority(uint8_t param_2)
{
this->_overlayRenderFirst = param_2;
return;
}
// 0043ee80
void Sprite::SetRotation(float rotation)
{
@@ -260,9 +154,3 @@ long double Sprite::PlaybackSpeed()
{
return (long double)this->_playbackSpeed;
}
// 0049cb40
Vector * Sprite::Offset()
{
return &this->_offset;
}