Mercurial > hg > Members > kono > tree_dandy2
view count2.h @ 19:bdc882acda58
get_matrix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 09 Dec 2010 22:31:06 +0900 |
parents | 01387a2e419e |
children |
line wrap: on
line source
#include "bool.h" #ifndef _COUNT2_H_ #define _COUNT2_H_ #define MAXP 4096 #define waku(x,y) ( ((y<0)||(y>964)||(x<0)||(x>1688)) ? 1 : 0) #define maxf(x,y) x=( (x<y) ? x : y) #define mini(x,y) x=( (x<y) ? y : x) #define TAMALV1P 14 #define TAMALV2P 50 #define TAMALV3P 24 #define LASERLV1P 17 #define LASERLV2P 154 #define LASERLV3P 51 typedef struct player { int x; int y; int ch; int point; BOOL bf; int muteki; int zanki; int ccount; } player; typedef struct tama { int x; int y; } tama; typedef struct tama1 { int x; int y; int r; int l; } tama1; typedef struct tama2 { int x; int y; int rr; int sr; int sl; int ll; } tama2; typedef struct stge { int stg; } stge; typedef struct laser { float x; float y; float sx; float sy; int r; int enemyno; float s; } laser; extern int pointkakudo(int playerno); extern void Player(int playerno); extern laser laser_lv3[64]; extern tama1 tlv3[3]; extern player jiki; extern stge lg; extern stge pg; extern stge infg; extern int infg_level; extern tama1 tama_lv1[20]; extern tama2 tama_lv2[20]; extern laser laser_lv1[20]; extern laser laser_lv2[20]; extern int laser_lv1_end; extern int tama_lv1_end; extern int tama_lv2_end; #endif // _COUNT2_H