Rename FUN_100a81b0 to ReportError

This commit is contained in:
Sebastian Mischke 2026-01-04 19:10:44 +01:00
parent 93a0fab59a
commit 9175ed23ed
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ TextureHandler g_textureHandler = NULL;
// FUNCTION: LEGO1 0x100a81b0
// FUNCTION: BETA10 0x101898c0
// FUNCTION: ALPHA 0x100bb1c0
void LegoROI::FUN_100a81b0(const LegoChar* p_error, ...)
void LegoROI::ReportError(const LegoChar* p_error, ...)
{
// Probably a printf-like debug function that was removed early.
// No known implementation in any of the binaries.
@ -418,7 +418,7 @@ LegoResult LegoROI::ApplyChildAnimationTransformation(
}
}
else {
FUN_100a81b0("%s ROI Not found\n", name);
ReportError("%s ROI Not found\n", name);
#ifdef BETA10
_RPT1(_CRT_ASSERT, "%s ROI Not Found", name);
// Note that the macro inserts an INT3, which breaks the assumption that INT3

View File

@ -63,7 +63,7 @@ class LegoROI : public ViewROI {
void SetDisplayBB(int p_displayBB);
static LegoResult CreateLocalTransform(LegoAnimNodeData* p_data, LegoTime p_time, Matrix4& p_matrix);
static void FUN_100a81b0(const LegoChar* p_error, ...);
static void ReportError(const LegoChar* p_error, ...);
static void configureLegoROI(int p_roi);
static void SetColorOverride(ColorOverride p_colorOverride);
static LegoBool GetRGBAColor(const LegoChar* p_name, float& p_red, float& p_green, float& p_blue, float& p_alpha);