diff options
author | nat <nat@NetBSD.org> | 2016-03-03 21:38:55 +0000 |
---|---|---|
committer | nat <nat@NetBSD.org> | 2016-03-03 21:38:55 +0000 |
commit | 10c3f324b1d39ec1099a23461fd8f371ae0479c9 (patch) | |
tree | 774fb1891dc35a63552d9e7ea147eb10dd8a97cb /tetris/tetris.h | |
parent | 2e99c67a1bfa5c84c7c49617cae913cdb506459b (diff) | |
download | bsdgames-darwin-10c3f324b1d39ec1099a23461fd8f371ae0479c9.tar.gz bsdgames-darwin-10c3f324b1d39ec1099a23461fd8f371ae0479c9.tar.zst bsdgames-darwin-10c3f324b1d39ec1099a23461fd8f371ae0479c9.zip |
Center game board on screen. OK from christos@.
Diffstat (limited to 'tetris/tetris.h')
-rw-r--r-- | tetris/tetris.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tetris/tetris.h b/tetris/tetris.h index 559ef761..7d18a2d1 100644 --- a/tetris/tetris.h +++ b/tetris/tetris.h @@ -1,4 +1,4 @@ -/* $NetBSD: tetris.h,v 1.14 2014/07/13 16:23:55 pgoyette Exp $ */ +/* $NetBSD: tetris.h,v 1.15 2016/03/03 21:38:55 nat Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -73,6 +73,7 @@ extern cell board[B_SIZE]; /* 1 => occupied, 0 => empty */ #define MINCOLS 40 extern int Rows, Cols; /* current screen size */ +extern int Offset; /* vert. offset to center board */ /* * Translations from board coordinates to display coordinates. |