Merge pull request #36 from GabrielRavier/feature/improveNonNpcCharNpcFiles
Improved N files
This commit is contained in:
commit
a60e9b4ff2
3 changed files with 78 additions and 71 deletions
|
@ -251,9 +251,11 @@ BOOL SetBulletObject(int x, int y, int val)
|
||||||
case 5:
|
case 5:
|
||||||
tamakazu_ari[t++] = 0;
|
tamakazu_ari[t++] = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 10:
|
case 10:
|
||||||
tamakazu_ari[t++] = 1;
|
tamakazu_ari[t++] = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
tamakazu_ari[t] = 0;
|
tamakazu_ari[t] = 0;
|
||||||
break;
|
break;
|
||||||
|
@ -601,9 +603,11 @@ void DeleteNpCharCode(int code, BOOL bSmoke)
|
||||||
case 1:
|
case 1:
|
||||||
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 4);
|
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 4);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 8);
|
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 8);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 16);
|
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 16);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -469,9 +469,11 @@ void LoseNpChar(NPCHAR *npc, BOOL bVanish)
|
||||||
case 1:
|
case 1:
|
||||||
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 3);
|
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 3);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 7);
|
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 7);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 12);
|
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 12);
|
||||||
break;
|
break;
|
||||||
|
@ -626,3 +628,4 @@ void HitNpCharBullet()
|
||||||
LoseNpChar(&gNPC[n], TRUE);
|
LoseNpChar(&gNPC[n], TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue