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

-54
View File
@@ -176,12 +176,6 @@ float Vector::Dot(Vector *other)
return other->x * this->x + other->y * this->y;
}
// 00a101a0
float Vector::Cross(Vector *other)
{
return other->y * this->x - this->y * other->x;
}
// 00a10270
void Vector::Rotate(float angleDegrees)
{
@@ -235,54 +229,6 @@ float Vector::GetAngleDegrees()
return angleRadians * 57.295776;
}
// 00a103c0
void Vector::Clamp(float minX, float minY, float maxX, float maxY)
{
float clamped;
clamped = this->x;
if (this->x <= minX) {
clamped = minX;
}
if (maxX <= clamped) {
clamped = maxX;
}
this->x = clamped;
clamped = this->y;
if (this->y <= minY) {
clamped = minY;
}
if (maxY <= clamped) {
clamped = maxY;
}
this->y = clamped;
return;
}
// 00a103f0
Vector * Vector::Clamped(Vector *outResult, float minX, float minY, float maxX, float maxY)
{
float clamped;
clamped = this->x;
if (this->x <= minX) {
clamped = minX;
}
if (maxX <= clamped) {
clamped = maxX;
}
outResult->x = clamped;
clamped = this->y;
if (this->y <= minY) {
clamped = minY;
}
if (maxY <= clamped) {
clamped = maxY;
}
outResult->y = clamped;
return outResult;
}
// 00a10420
Vector * Vector::__add(Vector *outVec, Vector *other)
{