1
0
mirror of https://github.com/jummy0/sb2-decomp synced 2025-03-15 04:24:48 +01:00
This commit is contained in:
HMVocaloid 2024-06-18 17:20:37 -04:00
parent 5429e39fd0
commit 25de7e07be
7 changed files with 25 additions and 7 deletions

Binary file not shown.

View File

@ -6347,6 +6347,22 @@ void CDecor::MoveObjectStepLine(int i)
}
}
void CDecor::DynamiteStart(int i, int dx, int dy)
{
POINT posStart = m_moveObject[i]->posStart;
posStart.x -= 34;
posStart.y -= 34;
posStart.x += dx;
posStart.y -= dy;
ObjectStart(posStart, 8, 0);
if (dx == 0 && dy == 0)
{
PlaySound(10, posStart);
m_decorAction = 1;
m_decorPhase = 0;
}
}
BOOL CDecor::SearchDoor(int n, POINT cel, POINT blupi)
{
for (int i = 0; i < 100; i++)

View File

@ -602,6 +602,7 @@ public:
void ModifDecor(POINT pos, int icon);
void MoveObjectStep();
void MoveObjectStepLine(int i);
void DynamiteStart(int i, int dx, int dy);
void BlupiStep();
BOOL DecorDetect(RECT rect);
BOOL DecorDetect(RECT rect, BOOL bCaisse);

View File

@ -12,19 +12,19 @@
CNetwork::CNetwork()
{
m_field0_0x0;
m_field8_0x20;
m_field7_0x1c;
m_pDP;
m_pDPID;
m_bUnk1C;
m_pContext;
m_pSessions2;
m_pUnkC;
m_pSessions;
m_field3_0xc;
m_field4_0x10;
m_field5_0x14;
m_field6_0x18;
m_pUnk18;
}
CNetwork::~CNetwork()
{
LPDIRECTPLAY2 lpDP;
}
void CNetwork::FreeSessionList()

View File

@ -6,6 +6,7 @@ public:
BOOL Create();
void FreeSessionList();
void FreeSessionList2();
protected:
IDirectPlay2 m_pDP;