mirror of
https://github.com/jummy0/sb2-decomp
synced 2025-03-15 04:24:48 +01:00
More crap
This commit is contained in:
parent
cd64fec06d
commit
57106f0d31
Binary file not shown.
Binary file not shown.
BIN
.vs/slnx.sqlite
BIN
.vs/slnx.sqlite
Binary file not shown.
15
decor.cpp
15
decor.cpp
@ -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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user