name some functions in mxticklemanager

This commit is contained in:
itsmattkc 2023-05-21 21:45:25 -07:00
parent fb72956339
commit 8ff739c6d3
6 changed files with 15 additions and 14 deletions

View file

@ -109,7 +109,7 @@ void Isle::close()
} }
Timer()->GetRealTime(); Timer()->GetRealTime();
TickleManager()->vtable08(); TickleManager()->Tickle();
} }
} }
} }
@ -568,7 +568,7 @@ void Isle::tick(BOOL sleepIfNotNextFrame)
} }
if (this->m_frameDelta + g_lastFrameTime < currentTime) { if (this->m_frameDelta + g_lastFrameTime < currentTime) {
if (!Lego()->vtable40()) { if (!Lego()->vtable40()) {
TickleManager()->vtable08(); TickleManager()->Tickle();
} }
g_lastFrameTime = currentTime; g_lastFrameTime = currentTime;

View file

@ -19,7 +19,7 @@ long MxCore::Notify(MxParam &p)
return 0; return 0;
} }
long MxCore::FUN_10001f70() long MxCore::Tickle()
{ {
return 0; return 0;
} }

View file

@ -11,7 +11,7 @@ class MxCore
__declspec(dllexport) MxCore(); __declspec(dllexport) MxCore();
__declspec(dllexport) virtual ~MxCore(); __declspec(dllexport) virtual ~MxCore();
__declspec(dllexport) virtual long Notify(MxParam &p); __declspec(dllexport) virtual long Notify(MxParam &p);
virtual long FUN_10001f70(); virtual long Tickle();
virtual const char *GetClassName() const; virtual const char *GetClassName() const;
virtual MxBool IsClass(const char *name) const; virtual MxBool IsClass(const char *name) const;

View file

@ -1,15 +1,14 @@
#ifndef MXTICKLEMANAGER_H #ifndef MXTICKLEMANAGER_H
#define MXTICKLEMANAGER_H #define MXTICKLEMANAGER_H
class MxTickleManager class MxTickleManager : public MxCore
{ {
public: public:
virtual ~MxTickleManager(); virtual ~MxTickleManager();
virtual void vtable04(); virtual long Tickle();
virtual void vtable08(); virtual const char *GetClassName() const;
virtual void vtable0c(); virtual MxBool IsClass(const char *name) const;
virtual void vtable10();
virtual void vtable14(); virtual void vtable14();
virtual void vtable18(); virtual void vtable18();
virtual void vtable1c(void *v, int p); virtual void vtable1c(void *v, int p);

View file

@ -422,12 +422,8 @@ DEP_CPP_MXCOR=\
# Begin Source File # Begin Source File
SOURCE=.\LEGO1\dllmain.cpp SOURCE=.\LEGO1\dllmain.cpp
DEP_CPP_DLLMA=\
".\LEGO1\mxbool.h"\
".\LEGO1\mxcore.h"\
"$(INTDIR)\dllmain.obj" : $(SOURCE) $(DEP_CPP_DLLMA) "$(INTDIR)" "$(INTDIR)\dllmain.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE) $(CPP) $(CPP_PROJ) $(SOURCE)
@ -499,6 +495,9 @@ DEP_CPP_ISLE_=\
".\LEGO1\mxvideoparam.h"\ ".\LEGO1\mxvideoparam.h"\
".\LEGO1\mxvideoparamflags.h"\ ".\LEGO1\mxvideoparamflags.h"\
NODEP_CPP_ISLE_=\
".\LEGO1\define.h"\
"$(INTDIR)\isle.obj" : $(SOURCE) $(DEP_CPP_ISLE_) "$(INTDIR)" "$(INTDIR)\isle.obj" : $(SOURCE) $(DEP_CPP_ISLE_) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE) $(CPP) $(CPP_PROJ) $(SOURCE)
@ -543,6 +542,9 @@ DEP_CPP_MAIN_=\
".\LEGO1\mxvideoparam.h"\ ".\LEGO1\mxvideoparam.h"\
".\LEGO1\mxvideoparamflags.h"\ ".\LEGO1\mxvideoparamflags.h"\
NODEP_CPP_MAIN_=\
".\LEGO1\define.h"\
"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)" "$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE) $(CPP) $(CPP_PROJ) $(SOURCE)

BIN
isle.mdp

Binary file not shown.