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

📄 snake.h

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 H
字号:
/*	snake.h	4.1	83/07/04	*/# include <stdio.h># include <assert.h># include <sys/types.h># include <sgtty.h># include <signal.h># include <math.h>#define ESC	'\033'struct tbuffer {	long t[4];} tbuffer;char	*CL, *UP, *DO, *ND, *BS,	*HO, *CM,	*TA, *LL,	*KL, *KR, *KU, *KD,	*TI, *TE, *KS, *KE;int	LINES, COLUMNS;	/* physical screen size. */int	lcnt, ccnt;	/* user's idea of screen size */char	xBC, PC;int	AM, BW;char	tbuf[1024], tcapbuf[128];char	*tgetstr(), *tgoto();int	Klength;	/* length of KX strings */int	chunk;		/* amount of money given at a time */#ifdef	debug#define	cashvalue	(loot-penalty)/25#else#define cashvalue	chunk*(loot-penalty)/25#endifstruct point {	int col, line;};struct point cursor;struct sgttyb orig, new;#ifdef TIOCLGETstruct ltchars olttyc, nlttyc;#endifstruct point *point();

⌨️ 快捷键说明

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