mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-01 04:31:16 +00:00
Rename function
This commit is contained in:
parent
1f3ff9dddb
commit
a0b22f4681
@ -447,12 +447,12 @@ void Infocenter::PlayCutscene(IntroScript p_entityId, MxBool p_scale)
|
|||||||
VideoManager()->EnableFullScreenMovie(TRUE, p_scale);
|
VideoManager()->EnableFullScreenMovie(TRUE, p_scale);
|
||||||
InputManager()->SetUnknown336(TRUE);
|
InputManager()->SetUnknown336(TRUE);
|
||||||
InputManager()->SetUnknown335(TRUE);
|
InputManager()->SetUnknown335(TRUE);
|
||||||
SetAppCursor(0xb); // Hide cursor
|
SetAppCursor(0xb); // Hide cursor
|
||||||
VideoManager()->GetDisplaySurface()->FUN_100ba640(); // Clear screen
|
VideoManager()->GetDisplaySurface()->ClearScreen();
|
||||||
|
|
||||||
if (m_currentIntroScript != -1) {
|
if (m_currentIntroScript != e_noIntro) {
|
||||||
// check if the cutscene is not an ending
|
// check if the cutscene is not an ending
|
||||||
if (m_currentIntroScript >= 4 && m_currentIntroScript <= 5) {
|
if (m_currentIntroScript >= e_badEndMovie && m_currentIntroScript <= e_goodEndMovie) {
|
||||||
FUN_10070e90();
|
FUN_10070e90();
|
||||||
}
|
}
|
||||||
InvokeAction(ExtraActionType_opendisk, *g_introScript, m_currentIntroScript, NULL);
|
InvokeAction(ExtraActionType_opendisk, *g_introScript, m_currentIntroScript, NULL);
|
||||||
@ -462,7 +462,7 @@ void Infocenter::PlayCutscene(IntroScript p_entityId, MxBool p_scale)
|
|||||||
// FUNCTION: LEGO1 0x10070cb0
|
// FUNCTION: LEGO1 0x10070cb0
|
||||||
void Infocenter::StopCutscene()
|
void Infocenter::StopCutscene()
|
||||||
{
|
{
|
||||||
if (m_currentIntroScript != -1) {
|
if (m_currentIntroScript != e_noIntro) {
|
||||||
InvokeAction(ExtraActionType_close, *g_introScript, m_currentIntroScript, NULL);
|
InvokeAction(ExtraActionType_close, *g_introScript, m_currentIntroScript, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -369,7 +369,7 @@ void LegoVideoManager::EnableFullScreenMovie(MxBool p_enable, MxBool p_scale)
|
|||||||
m_fullScreenMovie = TRUE;
|
m_fullScreenMovie = TRUE;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
m_displaySurface->FUN_100ba640();
|
m_displaySurface->ClearScreen();
|
||||||
m_displaySurface->GetVideoParam().Flags().SetF1bit3(FALSE);
|
m_displaySurface->GetVideoParam().Flags().SetF1bit3(FALSE);
|
||||||
|
|
||||||
// restore previous pallete
|
// restore previous pallete
|
||||||
|
|||||||
@ -157,7 +157,7 @@ void MxTransitionManager::EndTransition(MxBool p_notifyWorld)
|
|||||||
void MxTransitionManager::TransitionNone()
|
void MxTransitionManager::TransitionNone()
|
||||||
{
|
{
|
||||||
LegoVideoManager* videoManager = VideoManager();
|
LegoVideoManager* videoManager = VideoManager();
|
||||||
videoManager->GetDisplaySurface()->FUN_100ba640();
|
videoManager->GetDisplaySurface()->ClearScreen();
|
||||||
EndTransition(TRUE);
|
EndTransition(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -85,7 +85,7 @@ class MxDisplaySurface : public MxCore {
|
|||||||
virtual void ReleaseDC(HDC p_hdc); // vtable+0x40
|
virtual void ReleaseDC(HDC p_hdc); // vtable+0x40
|
||||||
virtual LPDIRECTDRAWSURFACE VTable0x44(MxBitmap*, undefined4*, undefined4, undefined4); // vtable+0x44
|
virtual LPDIRECTDRAWSURFACE VTable0x44(MxBitmap*, undefined4*, undefined4, undefined4); // vtable+0x44
|
||||||
|
|
||||||
void FUN_100ba640();
|
void ClearScreen();
|
||||||
static LPDIRECTDRAWSURFACE FUN_100bc070();
|
static LPDIRECTDRAWSURFACE FUN_100bc070();
|
||||||
|
|
||||||
inline LPDIRECTDRAWSURFACE GetDirectDrawSurface1() { return this->m_ddSurface1; }
|
inline LPDIRECTDRAWSURFACE GetDirectDrawSurface1() { return this->m_ddSurface1; }
|
||||||
|
|||||||
@ -34,7 +34,7 @@ void MxDisplaySurface::Init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100ba640
|
// FUNCTION: LEGO1 0x100ba640
|
||||||
void MxDisplaySurface::FUN_100ba640()
|
void MxDisplaySurface::ClearScreen()
|
||||||
{
|
{
|
||||||
MxS32 backBuffers;
|
MxS32 backBuffers;
|
||||||
DDSURFACEDESC desc;
|
DDSURFACEDESC desc;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user