OSDN Git Service

#37287 #37353 (2.2.0.89) 型の置換を継続中。プロジェクト外ヘッダファイルが起こしている警告を抑止。Doxygen設定ファイルのバージョン表記変更...
[hengband/hengband.git] / src / main.c
index d8e1aa1..d741c80 100644 (file)
@@ -99,13 +99,6 @@ static void init_stuff(void)
 {
        char path[1024];
 
-#if defined(VM)
-
-       /* Hack -- prepare "path" */
-       strcpy(path, "Angband:");
-
-#else /* VM */
-
        cptr tail;
 
        /* Get the environment variable */
@@ -120,8 +113,6 @@ static void init_stuff(void)
        /* Hack -- Add a path separator (only if needed) */
        if (!suffix(path, PATH_SEP)) strcat(path, PATH_SEP);
 
-#endif /* VM */
-
        /* Initialize */
        init_file_paths(path);
 }
@@ -559,18 +550,6 @@ int main(int argc, char *argv[])
                                puts("  -mibm    To use IBM (BIOS text mode)");
 #endif /* USE_IBM */
 
-#ifdef USE_SLA
-                               puts("  -msla    To use SLA (SLANG)");
-#endif /* USE_SLA */
-
-#ifdef USE_LSL
-                               puts("  -mlsl    To use LSL (Linux-SVGALIB)");
-#endif /* USE_LSL */
-
-#ifdef USE_VME
-                               puts("  -mvme    To use VME (VAX/ESA)");
-#endif /* USE_VME */
-
                                /* Actually abort the process */
                                quit(NULL);
                        }
@@ -675,76 +654,6 @@ int main(int argc, char *argv[])
 #endif
 
 
-#ifdef USE_EMX
-       /* Attempt to use the "main-emx.c" support */
-       if (!done && (!mstr || (streq(mstr, "emx"))))
-       {
-               extern errr init_emx(void);
-               if (0 == init_emx())
-               {
-                       ANGBAND_SYS = "emx";
-                       done = TRUE;
-               }
-       }
-#endif
-
-
-#ifdef USE_SLA
-       /* Attempt to use the "main-sla.c" support */
-       if (!done && (!mstr || (streq(mstr, "sla"))))
-       {
-               extern errr init_sla(void);
-               if (0 == init_sla())
-               {
-                       ANGBAND_SYS = "sla";
-                       done = TRUE;
-               }
-       }
-#endif
-
-
-#ifdef USE_LSL
-       /* Attempt to use the "main-lsl.c" support */
-       if (!done && (!mstr || (streq(mstr, "lsl"))))
-       {
-               extern errr init_lsl(void);
-               if (0 == init_lsl())
-               {
-                       ANGBAND_SYS = "lsl";
-                       done = TRUE;
-               }
-       }
-#endif
-
-
-#ifdef USE_AMI
-       /* Attempt to use the "main-ami.c" support */
-       if (!done && (!mstr || (streq(mstr, "ami"))))
-       {
-               extern errr init_ami(void);
-               if (0 == init_ami())
-               {
-                       ANGBAND_SYS = "ami";
-                       done = TRUE;
-               }
-       }
-#endif
-
-
-#ifdef USE_VME
-       /* Attempt to use the "main-vme.c" support */
-       if (!done && (!mstr || (streq(mstr, "vme"))))
-       {
-               extern errr init_vme(void);
-               if (0 == init_vme())
-               {
-                       ANGBAND_SYS = "vme";
-                       done = TRUE;
-               }
-       }
-#endif
-
-
        /* Make sure we have a display! */
        if (!done) quit("Unable to prepare any 'display module'!");