constructor and some methods are matching

This commit is contained in:
Misha 2023-06-24 20:47:03 +03:00
parent 0ce6fab3d0
commit 323a2ee0e7
3 changed files with 36 additions and 6 deletions

View file

@ -11,8 +11,10 @@ LegoBackgroundColor::LegoBackgroundColor(const char* name, const char* colorStri
}
// OFFSET: LEGO1 0x1003c070
void LegoBackgroundColor::SetColorString(const char* colorString)
{
m_colorString.operator=(colorString);
m_colorString.ToLowerCase();
// WIP
}

View file

@ -11,9 +11,7 @@ class MxBackgroundColor
virtual void SetColorString(const char* colorString);
protected:
MxString m_name;
short m_unknown;
MxString m_colorString;
short m_unknown2;
};

View file

@ -143,7 +143,9 @@ LINK32_OBJS= \
"$(INTDIR)\mxstring.obj" \
"$(INTDIR)\mxtimer.obj" \
"$(INTDIR)\mxvideoparam.obj" \
"$(INTDIR)\mxvideoparamflags.obj"
"$(INTDIR)\mxvideoparamflags.obj" \
"$(INTDIR)\mxbackgroundcolor.obj" \
"$(INTDIR)\legobackgroundcolor.obj"
".\Release\LEGO1.DLL" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
@ -259,7 +261,9 @@ LINK32_OBJS= \
"$(INTDIR)\mxstring.obj" \
"$(INTDIR)\mxtimer.obj" \
"$(INTDIR)\mxvideoparam.obj" \
"$(INTDIR)\mxvideoparamflags.obj"
"$(INTDIR)\mxvideoparamflags.obj" \
"$(INTDIR)\mxbackgroundcolor.obj" \
"$(INTDIR)\legobackgroundcolor.obj"
".\Debug\LEGO1.DLL" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
@ -817,6 +821,32 @@ DEP_CPP_MXATO=\
$(CPP) $(CPP_PROJ) $(SOURCE)
# End Source File
################################################################################
# Begin Source File
SOURCE=.\LEGO1\mxbackgroundcolor.cpp
DEP_CPP_MXATO=\
".\LEGO1\mxbackgroundcolor.h"\
"$(INTDIR)\mxbackgroundcolor.obj" : $(SOURCE) $(DEP_CPP_MXATO) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
# End Source File
################################################################################
# Begin Source File
SOURCE=.\LEGO1\legobackgroundcolor.cpp
DEP_CPP_MXATO=\
".\LEGO1\legobackgroundcolor.h"\
"$(INTDIR)\legobackgroundcolor.obj" : $(SOURCE) $(DEP_CPP_MXATO) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
# End Source File
# End Target
################################################################################