view test/longcode.c @ 585:a5b902b20300 ia32-no-rname

ia32 reconfigure end (correct?)
author kono
date Wed, 18 Jan 2006 12:26:48 +0900
parents b6eb97f0c11d
children 682c8ec38d45
line wrap: on
line source


typedef struct teki {
     float x;
     float y;
     float sx;
     float sy;
     int charno;
     char  tama;			 
     char  f;			 
     int p;			 
     int move;
     int sc;			 
     int dt1;
     int dt2;
} teki;



typedef struct player {
     int x;
     int y;
     int ch;
     int point;
     char  bf;
     int muteki;
     int zanki;
     int ccount;
} player;

code
put_enemy_bung(
     code(*junction)(int,teki *,player,struct move_interface),
     int tekino,
     teki *enemy,
     player jiki,
     struct move_interface interface);

code
move13_1(int tekino,teki *enemy,player jiki,struct move_interface interface);

code
move13(int tekino,teki *enemy,player jiki,struct move_interface interface)
{
     if (enemy[keyenemyno].f == 0 ) {

	  goto put_enemy_bung(move13_1,tekino,enemy,jiki,interface);
     }
     goto move13_1(tekino,enemy,jiki,interface);
}