Mercurial > hg > Members > koba > t_dandy
comparison collision.c @ 1:b4c797eee72a
task dandy base
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 13 Dec 2010 04:56:23 +0900 |
parents | 435ac1cdb64e |
children | 2c85322348cf |
comparison
equal
deleted
inserted
replaced
0:435ac1cdb64e | 1:b4c797eee72a |
---|---|
23 ey = p->y; | 23 ey = p->y; |
24 charno = p->charano; | 24 charno = p->charano; |
25 w = sptable[charno].w; | 25 w = sptable[charno].w; |
26 h = sptable[charno].h; | 26 h = sptable[charno].h; |
27 //i2 = playerno; | 27 //i2 = playerno; |
28 | |
29 | 28 |
30 //自機やられ | 29 //自機やられ |
31 #ifndef INVISIBLE_MODE | 30 #ifndef INVISIBLE_MODE |
32 if ((ex < jiki.x + 128 / 2) && (ex + w > jiki.x + 128 / 2) | 31 if ((ex < jiki.x + 128 / 2) && (ex + w > jiki.x + 128 / 2) |
33 && (ey < jiki.y + 128 / 2) && (ey + h > jiki.y + 128 / 2) | 32 && (ey < jiki.y + 128 / 2) && (ey + h > jiki.y + 128 / 2) |