comparison ppe/chara_state11.cc @ 66:f27a6af6514c

SchedRegister, game_task.h etc...
author tkaito
date Thu, 17 Feb 2011 10:56:56 +0900
parents b97628fca317
children
comparison
equal deleted inserted replaced
65:b97628fca317 66:f27a6af6514c
25 25
26 count++; 26 count++;
27 DefSpriteEx(54, 16, 32, &sprite->data[0]); 27 DefSpriteEx(54, 16, 32, &sprite->data[0]);
28 PutSpriteEx(54, p->x, p->y, p->s, p->s, 1, &sprite->data[1]); 28 PutSpriteEx(54, p->x, p->y, p->s, p->s, 1, &sprite->data[1]);
29 29
30 p->state_task = STATE11; 30 p->state_task = State11;
31 *w_count = count; 31 *w_count = count;
32 *q = *p; 32 *q = *p;
33 return 0; 33 return 0;
34 } 34 }
35 CHARACTER *q = (CHARACTER*)smanager->get_output(wbuf, 0); 35 CHARACTER *q = (CHARACTER*)smanager->get_output(wbuf, 0);
36 36
37 p->dt1 = 0; 37 p->dt1 = 0;
38 p->dt2 = 0; 38 p->dt2 = 0;
39 39
40 p->state_task = STATE11; 40 p->state_task = State11;
41 *q = *p; 41 *q = *p;
42 return 0; 42 return 0;
43 } 43 }