… | |
… | |
30 | our $LIBDIR = "."; |
30 | our $LIBDIR = "."; |
31 | our $APPDIR = "$LIBDIR/kgsueme"; |
31 | our $APPDIR = "$LIBDIR/kgsueme"; |
32 | our $IMGDIR = "$LIBDIR/images"; |
32 | our $IMGDIR = "$LIBDIR/images"; |
33 | our $SNDDIR = "$LIBDIR/sounds"; |
33 | our $SNDDIR = "$LIBDIR/sounds"; |
34 | |
34 | |
35 | for (qw(util.pl gtk.pl image.pl sound.pl gamelist.pl userlist.pl game.pl room.pl roomlist.pl appwin.pl)) { |
35 | for (qw(util.pl gtk.pl image.pl sound.pl gamelist.pl userlist.pl challenge.pl game.pl room.pl roomlist.pl appwin.pl)) { |
36 | print "loading module $_\n"; |
36 | print "loading module $_\n"; |
37 | require "$APPDIR/$_"; |
37 | require "$APPDIR/$_"; |
38 | } |
38 | } |
39 | |
39 | |
40 | our $appwin = new appwin; |
40 | our $appwin = new appwin; |