next up previous contents index
Next: Messageinfo Up: Version 1 Previous: Version 1   Contents   Index

Showinfo

showinfo_t 構造体は,サイクル(100ms)毎にモニタへと送信される. 含まれる情報は,プレイヤとボールの状態と位置である.

typedef struct {
   char   pmode ;
   team_t team[2] ;
   pos_t  pos[MAX_PLAYER * 2 + 1] ;
   short  time ;
} showinfo_t ;

typedef struct {
   char  name[16];  /* name of the team */
   short score;     /* current score of the team */
} team_t ;

typedef struct {
   short enable ;
   short side ;
   short unum ;
   short angle ;
   short x ;
   short y ;
} pos_t ;

各要素は以下の値を取り得る:



Hidehisa Akiyama 2004-11-21