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

More crap

This commit is contained in:
HMVocaloid 2024-06-15 09:52:31 -04:00
parent cd64fec06d
commit 57106f0d31
5 changed files with 17 additions and 0 deletions

Binary file not shown.

View File

@ -5871,6 +5871,21 @@ BOOL CDecor::IsMoveTraj(POINT pos)
return (m_moveTraj[num] & 1 << num2) != 0;
}
int CDecor::SearchDistRight(POINT pos, POINT dir, int type)
{
int num = 0;
if (type == 36 || type == 39 || type == 41 || type == 42 || type == 93)
{
return 500;
}
pos.x = (pos.x + 32) / 64;
pos.y = (pos.y + 32) / 64;
while (pos.x >= 0 && pos.x < 100 && pos.y >= 0 && pos.y < 100 && !IsBlocIcon(m_decor[pos.x, pos.y]->icon))
{
}
}
BOOL CDecor::SearchDoor(int n, POINT cel, POINT blupi)
{
for (int i = 0; i < 100; i++)

View File

@ -593,6 +593,8 @@ public:
void FlushMoveTraj();
void SetMoveTraj(POINT pos);
BOOL IsMoveTraj(POINT pos);
int SearchDistRight(POINT pos, POINT dir, int type);
BOOL IsVentillo(POINT pos);
void BlupiStep();
BOOL DecorDetect(RECT rect);
BOOL DecorDetect(RECT rect, BOOL bCaisse);