Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1631 → Rev 1670

/uspace/trunk/tetris/scores.c
35,6 → 35,12
* @(#)scores.c 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
/*
* Score code for Tetris, by Darren Provine (kilroy@gboro.glassboro.edu)
* modified 22 January 1992, to limit the number of entries any one
531,3 → 537,7
/* } */
/* } */
/* } */
 
/** @}
*/
 
/uspace/trunk/tetris/input.c
35,6 → 35,12
* @(#)input.c 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
/*
* Tetris input.
*/
176,3 → 182,7
lastchar = '\0';
return ((int)(unsigned char)c);
}
 
/** @}
*/
 
/uspace/trunk/tetris/screen.c
35,6 → 35,12
* @(#)screen.c 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
/*
* Tetris screen control.
*/
316,3 → 322,7
while (--l >= 0)
(void) putchar(' ');
}
 
/** @}
*/
 
/uspace/trunk/tetris/tetris.h
35,6 → 35,12
* @(#)tetris.h 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
/*
* Definitions for Tetris.
*/
176,3 → 182,7
int fits_in(const struct shape *, int);
void place(const struct shape *, int, int);
void stop(char *);
 
/** @}
*/
 
/uspace/trunk/tetris/scores.h
34,7 → 34,13
*
* @(#)scores.h 8.1 (Berkeley) 5/31/93
*/
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
 
/*
* Tetris scores.
*/
55,3 → 61,7
void showscores(int);
void insertscore(int score, int level);
void initscores(void);
 
/** @}
*/
 
/uspace/trunk/tetris/shapes.c
35,6 → 35,12
* @(#)shapes.c 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
/*
* Tetris shapes and related routines.
*
104,3 → 110,7
board[pos + *o++] = onoff;
board[pos + *o] = onoff;
}
 
/** @}
*/
 
/uspace/trunk/tetris/input.h
35,6 → 35,16
* @(#)input.h 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
int rwait(struct timeval *);
int tgetchar(void);
void tsleep(void);
 
/** @}
*/
 
/uspace/trunk/tetris/screen.h
35,6 → 35,12
* @(#)screen.h 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
/*
* putpad() is for padded strings with count=1.
*/
59,3 → 65,7
void scr_msg(char *, int);
void scr_set(void);
void scr_update(void);
 
/** @}
*/
 
/uspace/trunk/tetris/pathnames.h
35,4 → 35,15
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris
* @{
*/
/** @file
*/
 
#define _PATH_SCOREFILE "/var/games/tetris.scores"
 
 
/** @}
*/
 
/uspace/trunk/tetris/tetris.c
35,6 → 35,13
* @(#)tetris.c 8.1 (Berkeley) 5/31/93
*/
 
/** @addtogroup tetris Tetris
* @brief Tetris ported from OpenBSD
* @{
*/
/** @file
*/
 
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1992, 1993\n\
459,3 → 466,7
(void)fprintf(stderr, "usage: tetris [-ps] [-k keys] [-l level]\n");
exit(1);
}
 
/** @}
*/