if (character_generated) strcpy(old_player_base, player_base);
/* Cannot be too long */
-#if defined(MACINTOSH) || defined(MSDOS) || defined(USE_EMX) || defined(ACORN) || defined(VM)
-#ifdef MSDOS
- if (strlen(player_name) > 8)
-#else
+#if defined(MACINTOSH) || defined(USE_EMX) || defined(ACORN) || defined(VM)
if (strlen(player_name) > 15)
-#endif
{
/* Name too long */
quit_fmt(_("'%s'という名前は長すぎます!", "The name '%s' is too long!"), player_name);
i += strlen(PATH_SEP);
}
/* Convert some characters to underscore */
-#ifdef MSDOS
- else if (my_strchr(" \"*+,./:;<=>?[\\]|", c)) player_base[k++] = '_';
-#elif defined(WINDOWS)
+#if defined(WINDOWS)
else if (my_strchr("\"*,/:;<>?\\|", c)) player_base[k++] = '_';
#endif
else if (isprint(c)) player_base[k++] = c;
#endif
-
-#if defined(MSDOS)
-
- /* Hack -- max length */
- if (k > 8) k = 8;
-
-#endif
-
/* Terminate */
player_base[k] = '\0';
#ifdef USE_IBM
- /*
- * OPTION: Compile on an IBM (automatic)
- */
- #ifndef MSDOS
- #define MSDOS
- #endif
-
-
/* Use the new SVGA code */
#ifndef USE_IBM_SVGA
#define USE_IBM_SVGA
#endif
/*
- * Extract the "MSDOS" flag from the compiler
- */
-#ifdef __MSDOS__
-# ifndef MSDOS
-# define MSDOS
-# endif
-#endif
-
-/*
* Extract the "WINDOWS" flag from the compiler
*/
#if defined(_Windows) || defined(__WINDOWS__) || \
* or for the "Atari" platform which is Unix-like, apparently
*/
#if !defined(MACINTOSH) && !defined(WINDOWS) && \
- !defined(MSDOS) && !defined(USE_EMX) && \
+ !defined(USE_EMX) && \
!defined(ACORN) && !defined(VM)
# define SET_UID
#endif
# undef PATH_SEP
# define PATH_SEP "\\"
#endif
-#if defined(MSDOS) || defined(OS2) || defined(USE_EMX)
+#if defined(OS2) || defined(USE_EMX)
# undef PATH_SEP
# define PATH_SEP "\\"
#endif
# elif defined(SJIS)
# define iskanji(x) ((0x81 <= (unsigned char)(x) && (unsigned char)(x) <= 0x9f) || (0xe0 <= (unsigned char)(x) && (unsigned char)(x) <= 0xfc))
# define iskana(x) (((unsigned char)(x) >= 0xA0) && ((unsigned char)(x) <= 0xDF))
-# elif defined(MSDOS)
-# include <jctype.h>
# else
# error Oops! Please define "EUC" or "SJIS" for kanji-code of your system.
-# endif /* MSDOS */
+# endif
#endif
#endif /* INCLUDED_H_CONFIG_H */
#endif
-#if defined(WINDOWS) || defined(MSDOS) || defined(USE_EMX)
+#if defined(WINDOWS) || defined(USE_EMX)
# include <io.h>
#endif
#define uint uint_hack /*!< 非マッキントッシュ環境で重複を避けるためのuint_hack型定義 / Hack -- prevent problems with non-MACINTOSH */
#undef huge
-#define huge huge_hack /*!< MSDOS及びWINDOWS環境で重複を避けるためのhuge_hack定義 / Hack -- prevent problems with MSDOS and WINDOWS */
+#define huge huge_hack /*!< WINDOWS環境で重複を避けるためのhuge_hack定義 / Hack -- prevent problems with WINDOWS */
#undef byte
#define byte byte_hack /*!< AMIGA環境で重複を避けるためのbyte_hack定義 / Hack -- prevent problems with AMIGA */
/* Zangband options: */
/* Allow hordes of 'similar' monsters */
-# define MONSTER_HORDES
+#define MONSTER_HORDES
/*
* OPTION: Repeat last command -- TNB
#ifndef HAVE_CONFIG_H
-
-#ifndef MSDOS
-/*
- * Use world score server
- */
#define WORLD_SCORE
-#endif
-
#endif /* HAVE_CONFIG_H */