mirror of
https://github.com/jummy0/sb2-decomp
synced 2025-03-15 04:24:48 +01:00
Shit
This commit is contained in:
parent
5429e39fd0
commit
25de7e07be
Binary file not shown.
Binary file not shown.
BIN
.vs/slnx.sqlite
BIN
.vs/slnx.sqlite
Binary file not shown.
16
decor.cpp
16
decor.cpp
@ -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++)
|
||||
|
1
decor.h
1
decor.h
@ -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);
|
||||
|
14
network.cpp
14
network.cpp
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user