Mercurial > hg > Papers > 2011 > koba-master
changeset 12:059cb90dc73a
expand.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Feb 2011 15:17:47 +0900 |
parents | 22eae21462e6 |
children | d711f469cdb7 |
files | paper/result.tex |
diffstat | 1 files changed, 15 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/paper/result.tex Tue Feb 08 13:51:51 2011 +0900 +++ b/paper/result.tex Tue Feb 08 15:17:47 2011 +0900 @@ -208,27 +208,27 @@ int sf = rand1 % 4; if((sf == 0) || (sf == 1)) { - p->x = -35; - p->y = rand2 % (120 - 35); - p->vx = (rand3 % 4 + 1); - p->vy = rand4 % 3 + 1; - p->state_task = STATE23; + p->x = -35; + p->y = rand2 % (120 - 35); + p->vx = (rand3 % 4 + 1); + p->vy = rand4 % 3 + 1; + p->state_task = STATE23; } if((sf == 2)) { - p->x = rand2 % 290; - p->y = -30; - p->vx = rand3 % 3 - 1; - p->vy = (rand4 % 4 + 1); - p->state_task = STATE23; + p->x = rand2 % 290; + p->y = -30; + p->vx = rand3 % 3 - 1; + p->vy = (rand4 % 4 + 1); + p->state_task = STATE23; } if(sf == 3) { - p->x = 320; - p->y = rand2 % (120 - 35); - p->vx = (rand3 % 4 + 1) * -1; - p->vy = rand4 % 3 -1; - p->state_task = STATE23; + p->x = 320; + p->y = rand2 % (120 - 35); + p->vx = (rand3 % 4 + 1) * -1; + p->vy = rand4 % 3 -1; + p->state_task = STATE23; } smanager->swap();