displaydefines.h

来自「The application wizard has created this 」· C头文件 代码 · 共 52 行

H
52
字号
#ifndef _DISPLAY_DEFINES_H_
#define  _DISPLAY_DEFINES_H_
#include "defines.h"
struct CDisplayDefines{
// 自己定义的格式
struct disp_team_t {
	char	name[16] ;
	short	score ;
};
static void team_t2disp_team_t(const team_t& teamFrom,disp_team_t& teamTo);
struct disp_ball_t {
	double x;
	double y;
	double deltax;
	double deltay;
};
static void ball_t2disp_ball_t(const ball_t& ballFrom,disp_ball_t& ballTo);
struct disp_player_t {
	short mode;
	short type;
	double x;
	double y;
	double deltax;
	double deltay;
	double body_angle;
	double head_angle;
	double view_width;
	short view_quality;
	double stamina;
	double effort;
	double recovery;
	short kick_count;
	short dash_count;
	short turn_count;
	short say_count;
	short tneck_count;
	short catch_count;
	short move_count;
	short chg_view_count;
};
static void player_t2disp_player_t(const player_t& playerFrom,disp_player_t& playerTo);
struct disp_showinfo_t {
		char		pmode ;
		disp_team_t	team[2] ;
		disp_ball_t	ball;
		disp_player_t	pos[MAX_PLAYER * 2] ;
		short		time ;
	};
static void showinfo_t2disp_showinfo_t(const showinfo_t2& showinfoFrom,disp_showinfo_t& showinfoTo);
};
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?