]> skyeroc.xyz Git - dgamelaunch/commitdiff
Fix defconfig.
authorPasi Kallinen <paxed@alt.org>
Mon, 3 Oct 2011 16:02:30 +0000 (16:02 +0000)
committerPasi Kallinen <paxed@alt.org>
Mon, 3 Oct 2011 16:02:30 +0000 (16:02 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@609 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgl-common.c

index 798fc28c171de8efd9e2bbcb37a212f7fd960636..d8d5044426417dfc9c363adf3d58cda63c88d34b 100644 (file)
@@ -23,33 +23,21 @@ extern void (*g_chain_winch)(int);
 /* Data structures */
 struct dg_config **myconfig = NULL;
 struct dg_config defconfig = {
-    /* chroot = */ /*"/var/lib/dgamelaunch/",*/
   /* game_path = */ "/bin/nethack",
   /* game_name = */ "NetHack",
   /* shortname = */ "NH",
-  /* chdir = */ /*NULL,*/
-  /* mkdir = */ /*NULL,*/
-  /* dglroot = *//*  "/dgldir/",*/
-  /* lockfile = */ /*"/dgl-lock",*/
-  /* passwd = */ /*"/dgl-login",*/
-  /* banner = */ /*"/dgl-banner",*/
   /* rcfile = */ NULL, /*"/dgl-default-rcfile",*/
+  /* ttyrecdir =*/ "%ruserdata/%n/ttyrec/",
   /* spool = */ "/var/mail/",
-  /* shed_user = */ /*"games",*/
-  /* shed_group = */ /*"games",*/
-  /* shed_uid = *//* 5,*/
-  /* shed_gid = */ /*60,*/ /* games:games in Debian */
-  /* max = */ /*64000,*/
-  /* savefilefmt = */ /*"",*/ /* don't do this by default */
   /* inprogressdir = */ "%rinprogress/",
-  NULL,
   /* num_args = */ 0,
   /* bin_args = */ NULL,
   /* rc_fmt = */ "%rrcfiles/%n.nethackrc", /* [dglroot]rcfiles/[username].nethackrc */
   /* cmdqueue = */ NULL,
   /* postcmdqueue = */ NULL,
   /* max_idle_time = */ 0,
-  /* extra_info_file = */ NULL
+  /* extra_info_file = */ NULL,
+  /* encoding */ 0
 };
 
 char* config = NULL;