mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
Rename some symbols
This commit is contained in:
parent
819d01a25e
commit
6d382df6da
@ -24,7 +24,7 @@ LegoVideoManager::LegoVideoManager()
|
||||
m_isFullscreenMovie = FALSE;
|
||||
m_palette = NULL;
|
||||
m_stopWatch = NULL;
|
||||
m_cursorMoved = FALSE;
|
||||
m_drawCursor = FALSE;
|
||||
m_cursorX = m_cursorY;
|
||||
m_cursorYCopy = m_cursorY;
|
||||
m_cursorXCopy = m_cursorY;
|
||||
@ -215,7 +215,7 @@ void LegoVideoManager::MoveCursor(MxS32 p_cursorX, MxS32 p_cursorY)
|
||||
{
|
||||
m_cursorX = p_cursorX;
|
||||
m_cursorY = p_cursorY;
|
||||
m_cursorMoved = TRUE;
|
||||
m_drawCursor = TRUE;
|
||||
|
||||
if (623 < p_cursorX)
|
||||
m_cursorX = 623;
|
||||
@ -224,7 +224,7 @@ void LegoVideoManager::MoveCursor(MxS32 p_cursorX, MxS32 p_cursorY)
|
||||
m_cursorY = 463;
|
||||
}
|
||||
|
||||
inline void LegoVideoManager::CursorMoved()
|
||||
inline void LegoVideoManager::DrawCursor()
|
||||
{
|
||||
if (m_cursorX != m_cursorXCopy || m_cursorY != m_cursorYCopy) {
|
||||
if (m_cursorX >= 0 && m_cursorY >= 0) {
|
||||
@ -243,7 +243,7 @@ inline void LegoVideoManager::CursorMoved()
|
||||
m_unk0x514 = MxDisplaySurface::FUN_100bc070();
|
||||
|
||||
if (!m_unk0x514)
|
||||
m_cursorMoved = FALSE;
|
||||
m_drawCursor = FALSE;
|
||||
}
|
||||
|
||||
ddSurface2->BltFast(m_cursorXCopy, m_cursorYCopy, m_unk0x514, &m_unk0x518, DDBLTFAST_WAIT | DDBLTFAST_SRCCOLORKEY);
|
||||
@ -293,11 +293,11 @@ MxResult LegoVideoManager::Tickle()
|
||||
while (cursor.Next(presenter))
|
||||
presenter->PutData();
|
||||
|
||||
if (m_cursorMoved)
|
||||
CursorMoved();
|
||||
if (m_drawCursor)
|
||||
DrawCursor();
|
||||
|
||||
if (m_drawFPS)
|
||||
FUN_1007bbc0();
|
||||
DrawFPS();
|
||||
}
|
||||
else if (m_unk0x500) {
|
||||
MxPresenter* presenter;
|
||||
@ -322,7 +322,7 @@ MxResult LegoVideoManager::Tickle()
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1007bbc0
|
||||
void LegoVideoManager::FUN_1007bbc0()
|
||||
void LegoVideoManager::DrawFPS()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -43,9 +43,9 @@ class LegoVideoManager : public MxVideoManager {
|
||||
private:
|
||||
MxResult CreateDirect3D();
|
||||
MxResult ConfigureD3DRM();
|
||||
void FUN_1007bbc0();
|
||||
void DrawFPS();
|
||||
|
||||
inline void CursorMoved();
|
||||
inline void DrawCursor();
|
||||
|
||||
Tgl::Renderer* m_renderer; // 0x64
|
||||
Lego3DManager* m_3dManager; // 0x68
|
||||
@ -64,7 +64,7 @@ class LegoVideoManager : public MxVideoManager {
|
||||
MxStopWatch* m_stopWatch; // 0x4f4
|
||||
double m_elapsedSeconds; // 0x4f8
|
||||
MxBool m_unk0x500; // 0x500
|
||||
MxBool m_cursorMoved; // 0x501
|
||||
MxBool m_drawCursor; // 0x501
|
||||
MxS32 m_cursorXCopy; // 0x504
|
||||
MxS32 m_cursorYCopy; // 0x508
|
||||
MxS32 m_cursorX; // 0x50c
|
||||
|
||||
Loading…
Reference in New Issue
Block a user