annotate test/longcode.c @ 647:fe23fe842b82

*** empty log message ***
author kono
date Fri, 17 Nov 2006 20:00:37 +0900
parents 682c8ec38d45
children 88e364604533
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
1
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
2 typedef struct teki {
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
3 float x;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
4 float y;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
5 float sx;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
6 float sy;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
7 int charno;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
8 char tama;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
9 char f;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
10 int p;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
11 int move;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
12 int sc;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
13 int dt1;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
14 int dt2;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
15 } teki;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
16
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
17
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
18
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
19 typedef struct player {
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
20 int x;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
21 int y;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
22 int ch;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
23 int point;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
24 char bf;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
25 int muteki;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
26 int zanki;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
27 int ccount;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
28 } player;
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
29
622
682c8ec38d45 _code へ
kono
parents: 519
diff changeset
30 __code
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
31 put_enemy_bung(
622
682c8ec38d45 _code へ
kono
parents: 519
diff changeset
32 __code(*junction)(int,teki *,player,struct move_interface),
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
33 int tekino,
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
34 teki *enemy,
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
35 player jiki,
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
36 struct move_interface interface);
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
37
622
682c8ec38d45 _code へ
kono
parents: 519
diff changeset
38 __code
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
39 move13_1(int tekino,teki *enemy,player jiki,struct move_interface interface);
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
40
622
682c8ec38d45 _code へ
kono
parents: 519
diff changeset
41 __code
519
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
42 move13(int tekino,teki *enemy,player jiki,struct move_interface interface)
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
43 {
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
44 if (enemy[keyenemyno].f == 0 ) {
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
45
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
46 goto put_enemy_bung(move13_1,tekino,enemy,jiki,interface);
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
47 }
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
48 goto move13_1(tekino,enemy,jiki,interface);
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
49 }
b6eb97f0c11d *** empty log message ***
kono
parents:
diff changeset
50