OSDN Git Service

[Refactor] #37353 ALLOW_SPOILERS のプリプロが有効であることを前提とし、プリプロ自体は削除 / Removed ALLOW_SPOILER...
authorHourier <hourier@users.sourceforge.jp>
Sat, 25 Jan 2020 15:02:18 +0000 (00:02 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sat, 25 Jan 2020 15:02:18 +0000 (00:02 +0900)
src/h-config.h
src/wizard1.c
src/wizard2.c

index 987590c..849872b 100644 (file)
  */
 #define ALLOW_WIZARD
 
-/*!
- * @brief スポイラー出力を許可する / OPTION: Hack -- Compile in support for "Spoiler Generation"
- */
-#define ALLOW_SPOILERS
-
 #endif /* USE_DEBUG */
 
  /*
index 0693de3..596753b 100644 (file)
 #include "files.h"
 
 
-#ifdef ALLOW_SPOILERS
-
-
  /*
   * The spoiler file being created
   */
 static FILE *fff = NULL;
 
-
-
 /*!
  * @brief シンボル職の記述名を返す /
  * Extract a textual representation of an attribute
@@ -2573,10 +2568,6 @@ void spoil_random_artifact(player_type *creature_ptr, concptr fname)
        msg_print("Successfully created a list file.");
 }
 
-#else
-
 #ifdef MACINTOSH
 static int i = 0;
 #endif /* MACINTOSH */
-
-#endif
index 30c8dc4..a664aa5 100644 (file)
@@ -1727,12 +1727,10 @@ void do_cmd_debug(player_type *creature_ptr)
        case '\r':
                break;
 
-#ifdef ALLOW_SPOILERS
                /* Hack -- Generate Spoilers */
        case '"':
                do_cmd_spoilers(creature_ptr);
                break;
-#endif /* ALLOW_SPOILERS */
 
                /* Hack -- Help */
        case '?':