mirror of
https://github.com/jummy0/sb2-decomp
synced 2025-03-15 04:24:48 +01:00
Updated Files
This commit is contained in:
parent
f58de3167f
commit
5d2613d1b2
15
decor.cpp
15
decor.cpp
@ -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;
|
||||
}
|
4
decor.h
4
decor.h
@ -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;
|
||||
|
27
event.cpp
27
event.cpp
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user