r1987
dslinux_gpf at dslinux.in-berlin.de
dslinux_gpf at dslinux.in-berlin.de
Thu Oct 11 23:20:39 CEST 2007
Author: gpf
Date: 2007-10-11 23:20:34 +0200 (Thu, 11 Oct 2007)
New Revision: 1987
Log:
centers pacman, thanks skibur
Modified: trunk/user/games/pacman/pacman.c
===================================================================
--- trunk/user/games/pacman/pacman.c 2007-10-11 18:14:36 UTC (rev 1986)
+++ trunk/user/games/pacman/pacman.c 2007-10-11 21:20:34 UTC (rev 1987)
@@ -55,7 +55,7 @@
InitCurses();
CheckScreenSize();
- CreateWindows(29, 28, 1, 1);
+ CreateWindows(29, 28, 1, 18);
//If they specified a level to load
if((argc > 1) && (strlen(argv[1]) > 1)) {
@@ -151,7 +151,7 @@
void CreateWindows(int y, int x, int y0, int x0) {
win = newwin(y, x, y0, x0);
- status = newwin(3, 27, 29, 1);
+ status = newwin(3, 27, 29, 18);
}
void Delay() {
Modified: trunk/user/games/pacman/pacmanedit.c
===================================================================
--- trunk/user/games/pacman/pacmanedit.c 2007-10-11 18:14:36 UTC (rev 1986)
+++ trunk/user/games/pacman/pacmanedit.c 2007-10-11 21:20:34 UTC (rev 1987)
@@ -46,7 +46,7 @@
InitCurses();
CheckScreenSize();
- CreateWindows(29, 28, 1, 1);
+ CreateWindows(29, 28, 1, 18);
DrawWindow();
Loc[5][0]=13;
@@ -73,7 +73,7 @@
void CreateWindows(int y, int x, int y0, int x0) {
win = newwin(y, x, y0, x0);
- status = newwin(3, 28, 29, 1);
+ status = newwin(3, 28, 29, 18);
}
void DrawWindow() {
More information about the dslinux-commit
mailing list