From 10c3f324b1d39ec1099a23461fd8f371ae0479c9 Mon Sep 17 00:00:00 2001 From: nat Date: Thu, 3 Mar 2016 21:38:55 +0000 Subject: Center game board on screen. OK from christos@. --- tetris/tetris.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tetris/tetris.h') 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. -- cgit v1.2.3-56-ge451