git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netris version 0.52
[netris.git]
/
board.c
diff --git
a/board.c
b/board.c
index 97f1124fe318bda0ffdd10b5b304472900005b7a..d1cb66bb2b12caadc07fa176a788e5e1dc245012 100644
(file)
--- a/
board.c
+++ b/
board.c
@@
-1,6
+1,6
@@
/*
/*
- * Netris -- A free networked version of T
e
tris
- * Copyright (C) 1994
,1995 Mark Weaver <Mark_Weaver@brown.edu
>
+ * Netris -- A free networked version of T
*
tris
+ * Copyright (C) 1994
-1996,1999 Mark H. Weaver <mhw@netris.org
>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@
-16,7
+16,7
@@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: board.c,v 1.1
3 1995/07/11 08:53:20
mhw Exp $
+ * $Id: board.c,v 1.1
5 1999/05/16 06:56:24
mhw Exp $
*/
#include "netris.h"
*/
#include "netris.h"
@@
-237,7
+237,11
@@
ExtFunc void InsertJunk(int scr, int count, int column)
CopyLine(scr, y, y + count);
for (y = 0; y < count; ++y)
for (x = 0; x < boardWidth[scr]; ++x)
CopyLine(scr, y, y + count);
for (y = 0; y < count; ++y)
for (x = 0; x < boardWidth[scr]; ++x)
- SetBlock(scr, y, x, (x == column) ? BT_none : BT_
piece1
);
+ SetBlock(scr, y, x, (x == column) ? BT_none : BT_
white
);
curY[scr] += count;
}
curY[scr] += count;
}
+/*
+ * vi: ts=4 ai
+ * vim: noai si
+ */