dslinux/user/pixil/apps/games/nxbill Game.h nanox-UI.cc
amadeus
dslinux_amadeus at user.in-berlin.de
Mon Oct 9 19:14:01 CEST 2006
Update of /cvsroot/dslinux/dslinux/user/pixil/apps/games/nxbill
In directory antilope:/tmp/cvs-serv24853/user/pixil/apps/games/nxbill
Modified Files:
Game.h nanox-UI.cc
Log Message:
PIXIL compiles now.
Index: Game.h
===================================================================
RCS file: /cvsroot/dslinux/dslinux/user/pixil/apps/games/nxbill/Game.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Game.h 3 Oct 2006 11:24:35 -0000 1.1
+++ Game.h 9 Oct 2006 17:13:59 -0000 1.2
@@ -27,11 +27,11 @@
static const int END = 3;
static const int WAITING = 4;
- static const int DEFAULTC = 0; /* cursors */
- static const int DOWNC = -1;
- static const int BUCKETC = -2;
+#define DEFAULTC 0 /* cursors */
+#define DOWNC (-1)
+#define BUCKETC (-2)
- static const int ENDGAME = 200; /* dialog window IDs */
+#define ENDGAME 200 /* dialog window IDs */
static const int ENTERNAME = 201;
static const int HIGHSCORE = 202;
static const int SCORE = 203;
Index: nanox-UI.cc
===================================================================
RCS file: /cvsroot/dslinux/dslinux/user/pixil/apps/games/nxbill/nanox-UI.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- nanox-UI.cc 3 Oct 2006 11:24:36 -0000 1.1
+++ nanox-UI.cc 9 Oct 2006 17:13:59 -0000 1.2
@@ -177,7 +177,7 @@
GR_WINDOW_ID w = 0;
switch (dialog) {
- case game.ENDGAME:
+ case ENDGAME:
w = endgamebox;
break;
}
@@ -199,13 +199,13 @@
UI::set_cursor(int cursor)
{
switch (cursor) {
- case game.BUCKETC:
+ case BUCKETC:
bucket.cursor.setCursor(toplevel);
break;
- case game.DOWNC:
+ case DOWNC:
bucket.cursor.setCursor(toplevel);
break;
- case game.DEFAULTC:
+ case DEFAULTC:
bucket.cursor.setCursor(toplevel);
break;
default:
More information about the dslinux-commit
mailing list