More-accurate BulHit.cpp variable arrangement
This commit is contained in:
parent
1ea4031de8
commit
f33b7b386b
1 changed files with 8 additions and 9 deletions
|
@ -47,12 +47,12 @@ int JudgeHitBulletBlock(int x, int y, BULLET *bul)
|
|||
|
||||
int JudgeHitBulletBlock2(int x, int y, unsigned char *atrb, BULLET *bul)
|
||||
{
|
||||
int i;
|
||||
int workX;
|
||||
int workY;
|
||||
int hit = 0;
|
||||
|
||||
BOOL block[4];
|
||||
int workX, workY;
|
||||
int hit, i;
|
||||
|
||||
hit = 0;
|
||||
|
||||
if (bul->bbits & 0x40)
|
||||
{
|
||||
for (i = 0; i < 4; ++i)
|
||||
|
@ -324,12 +324,11 @@ int JudgeHitBulletTriangleH(int x, int y, BULLET *bul)
|
|||
|
||||
void HitBulletMap(void)
|
||||
{
|
||||
int i;
|
||||
int j;
|
||||
int x;
|
||||
int y;
|
||||
int x, y;
|
||||
unsigned char atrb[4];
|
||||
|
||||
int i, j;
|
||||
|
||||
for (i = 0; i < BULLET_MAX; ++i)
|
||||
{
|
||||
int offx[4];
|
||||
|
|
Loading…
Add table
Reference in a new issue