DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T s

⟦891ba0468⟧ TextFile

    Length: 1347 (0x543)
    Types: TextFile
    Names: »screen.h«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Tt/screen.h« 

TextFile

/***************************************************************************\
|*									   *|
|*  screen.h:	A version of Tetris to run on ordinary terminals,	   *|
|*		(ie., not needing a workstation, so should available	   *|
|*		to peasant Newwords+ users.  This module handles all	   *|
|*		the icky curses(3x) bits.				   *|
|*									   *|
|*  Author:	Mike Taylor (mirk@uk.ac.warwick.cs)			   *|
|*  Started:	Fri May 26 12:26:05 BST 1989				   *|
|*									   *|
\***************************************************************************/

#define WALL_CHAR	'|'	/* Character used for sides of pay-area */
#define FLOOR_CHAR	'='	/* Character used for base-line */
#define CORNER_CHAR	'+'	/* Character used bottom left and right */
#define BLANK_CHAR	' '	/* Character used elsewhere */

#define PD_DRAW		0	/* Code to draw piece */
#define PD_ERASE	1	/* Code to erase piece */

/*-------------------------------------------------------------------------*/

extern void myrefresh ();
extern void hoopy_refresh ();
extern void print_msg ();
extern void clear_area ();
extern void setup_screen ();
extern void setup_curses ();
extern void update_scores ();
extern void draw_board ();
extern void draw_piece ();
extern void place_piece ();
extern int can_place ();

/*-------------------------------------------------------------------------*/