⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wings.h

📁 操作系统SunOS 4.1.3版本的源码
💻 H
字号:
#define	VERSION		"(c) 1988 Sun Microsystems     wings Version 0.003"#define	NO_ERROR		0#define	TRUE			1#define	FALSE			0/* this strucure keeps up to date information about your   plane as well as the enemies */#define	STRUCT_STATS								\	float			pos_x;		/* latitude		*/	\	float			pos_y;		/* longitude		*/	\	float			pos_z;		/* altitude		*/	\	float			pos_dx;		/* change in latitude	*/	\	float			pos_dy;		/* change in longitude	*/	\	float			pos_dz;		/* change in altitude	*/	\	int			rot_x;		/* pitch		*/	\	int			rot_y;		/* yaw			*/	\	int			rot_z;		/* roll			*/	\	int			rot_dx;		/* change in pitch	*/	\	int			rot_dy;		/* change in yaw	*/	\	int			rot_dz;		/* change in roll	*//* the size of this struct can not exceed 4K bytes */struct shared_buffer {	/*************************************\	 * The following attributes are ONLY *	 *     set by the RENDER process     *	\*************************************/	unsigned int		drawing;	/* Only frame process reads   */	STRUCT_STATS				/* Only network process reads */	/*************************************\	 * The following attributes are ONLY *	 *      set by the FRAME process     *	\*************************************/	unsigned int		ok_to_draw,	/* Only render process reads  */				window_minx,				window_miny,				window_maxx,				window_maxy,				mouse_rel_x,				mouse_rel_y;	unsigned int		enet_type;	/* Only network process reads */	/*************************************\	 * The following attributes are ONLY *	 *     set by the NETWORK process    *	\*************************************/	struct stats	{ STRUCT_STATS }  enemies[16];    /* Only render process reads  */} ;extern struct shared_buffer *Shmem;

⌨️ 快捷键说明

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