1
0
mirror of https://github.com/jummy0/sb2-decomp synced 2025-03-15 04:24:48 +01:00

Updated Files

This commit is contained in:
HMVocaloid 2024-05-23 08:58:27 -04:00
parent f58de3167f
commit 5d2613d1b2
4 changed files with 2198 additions and 2 deletions

View File

@ -56,4 +56,19 @@ CDecor::CDecor()
CDecor::~CDecor()
{
UndoClose();
}
void CDecor::SetTime(int time)
{
m_time = time;
}
int CDecor::GetTime()
{
return m_time;
}
int CDecor::GetTargetLevel(int mission)
{
m_targetMission = mission;
}

View File

@ -407,6 +407,8 @@ public:
void SetInfoHeight(int height);
int GetInfoHeight();
int GetTargetLevel();
char* GetButtonExist();
void BuildPutBlupi();
@ -515,7 +517,7 @@ protected:
SoundEvent m_soundEvents[20];
int m_soundEventIndex1;
char m_messages[4][100];
int m_air
int m_air;
int m_energyUnused;
BOOL m_bHelicopterFlying;
BOOL m_bHelicopterStationary;

2154
dplay.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1535,7 +1535,7 @@ void CEvent::Create(HWND hWnd, CPixmap *pPixmap, CDecor *pDecor,
POINT pos;
m_hWnd = hWnd;
m_pPixmap = pPixmapl
m_pPixmap = pPixmap;
m_pDecor = pDecor;
m_pSound = pSound;
m_pMovie = pMovie;
@ -1734,3 +1734,28 @@ void CEvent::HideMouse(BOOL bHide)
ChangeSprite(m_mouseSprite);
}
/*
void CEvent::SomethingDecor()
{
m_input = 0;
m_pDecor->TreatEvent();
}
*/
int CEvent::GetWorld()
{
if ( m_bPrivate ) return m_bPrivate;
if ( m_bMulti ) return m_multi+200;
else return m_mission;
}
BOOL CEvent::IsPrivate()
{
return m_bPrivate;
}
BOOL CEvent::IsMulti()
{
return m_bMulti;
}