OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb7cff8
)
ダンジョンの外壁を永久岩で生成するオプションbound_walls_permを作成.
author
nothere
<nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 13 Jun 2003 12:33:09 +0000
(12:33 +0000)
committer
nothere
<nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 13 Jun 2003 12:33:09 +0000
(12:33 +0000)
初期値はFALSE. 3ページに入れた.
lib/help/joption.txt
patch
|
blob
|
history
lib/pref/pref-opt.prf
patch
|
blob
|
history
src/externs.h
patch
|
blob
|
history
src/generate.c
patch
|
blob
|
history
src/tables.c
patch
|
blob
|
history
src/variable.c
patch
|
blob
|
history
diff --git
a/lib/help/joption.txt
b/lib/help/joption.txt
index
2b57e9f
..
29e8ba1
100644
(file)
--- a/
lib/help/joption.txt
+++ b/
lib/help/joption.txt
@@
-398,6
+398,14
@@
MP
¤Ä²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£Ãæ¤Ë¤Ï¿¿¤Ã°Å¤Ê¥¢¥ê¡¼¥Ê¥ì¥Ù¥ë¤â¤¢¤ê¤Þ¤¹¤¬¡¢Ä̾ï
¤ÏÌÀ¤ë¤¯¾È¤é¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¤Ä²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£Ãæ¤Ë¤Ï¿¿¤Ã°Å¤Ê¥¢¥ê¡¼¥Ê¥ì¥Ù¥ë¤â¤¢¤ê¤Þ¤¹¤¬¡¢Ä̾ï
¤ÏÌÀ¤ë¤¯¾È¤é¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
+***** <bound_walls_perm>
+¥À¥ó¥¸¥ç¥ó¤Î³°Êɤò±Êµ×´ä¤Ë¤¹¤ë [bound_walls_perm]
+ ¥À¥ó¥¸¥ç¥ó¤Î³°ÊɤϳƥÀ¥ó¥¸¥ç¥ó¤Ç°Û¤Ê¤Ã¤¿³°¸«¤ò¼¨¤·¤Þ¤¹¤¬¡¢¤½¤ì°Ê¾å
+ Àè¤Ë¿Ê¤á¤Ê¤¤¶³¦¤Ï¤¢¤ê¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤òON¤Ë¤¹¤ë¤È¡¢¤½¤Î¤è¤¦¤Ê
+ ¶³¦¤¬ÌÀ¼¨Åª¤Ê³°ÊɤȤʤꡢ±Êµ×´ä¤ÇÀ¸À®¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£°ìÉô¤Î
+ ËâË¡¤Ç¤Ï¶³¦¤¬¾²¤Ë¸«¤¨¤Æ¤¤¤ì¤Ð¾²¤Ç¤¢¤ë¤è¤¦¤Ë°·¤ï¤ì¤Þ¤¹¡£¤³¤Î¥ª¥×
+ ¥·¥ç¥ó¤ÎÀßÄê¤Ï¼¡¤Î¿·¤·¤¤¥À¥ó¥¸¥ç¥óÀ¸À®¤«¤é͸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
+
***** <last_words>
¥¥ã¥é¥¯¥¿¡¼¤¬»à¤ó¤À»þ°ä¸À¤ò¤Î¤³¤¹ [last_words]
¥¥ã¥é¥¯¥¿¤¬»à¤ó¤À¤È¤¡¢'death.txt'¤«¤é¥é¥ó¥À¥à¤Ë°ì¹ÔÁª¤ó¤Çɽ¼¨¤·¡¢
***** <last_words>
¥¥ã¥é¥¯¥¿¡¼¤¬»à¤ó¤À»þ°ä¸À¤ò¤Î¤³¤¹ [last_words]
¥¥ã¥é¥¯¥¿¤¬»à¤ó¤À¤È¤¡¢'death.txt'¤«¤é¥é¥ó¥À¥à¤Ë°ì¹ÔÁª¤ó¤Çɽ¼¨¤·¡¢
diff --git
a/lib/pref/pref-opt.prf
b/lib/pref/pref-opt.prf
index
aa876fd
..
7ea9fc1
100644
(file)
--- a/
lib/pref/pref-opt.prf
+++ b/
lib/pref/pref-opt.prf
@@
-68,6
+68,7
@@
X:view_unsafe_grids
Y:small_levels
X:always_small_levels
Y:empty_levels
Y:small_levels
X:always_small_levels
Y:empty_levels
+X:bound_walls_perm
Y:last_words
Y:send_score
X:allow_debug_opts
Y:last_words
Y:send_score
X:allow_debug_opts
diff --git
a/src/externs.h
b/src/externs.h
index
7d94d4c
..
7c0fb88
100644
(file)
--- a/
src/externs.h
+++ b/
src/externs.h
@@
-289,6
+289,7
@@
extern bool over_exert;
extern bool small_levels;
extern bool always_small_levels;
extern bool empty_levels;
extern bool small_levels;
extern bool always_small_levels;
extern bool empty_levels;
+extern bool bound_walls_perm;
extern bool player_symbols;
extern bool equippy_chars;
extern bool use_command;
extern bool player_symbols;
extern bool equippy_chars;
extern bool use_command;
diff --git
a/src/generate.c
b/src/generate.c
index
dac60fe
..
e54d345
100644
(file)
--- a/
src/generate.c
+++ b/
src/generate.c
@@
-994,13
+994,13
@@
static bool cave_gen(void)
cave_type *c_ptr = &cave[0][x];
/* Set boundary mimic and add "solid" perma-wall */
cave_type *c_ptr = &cave[0][x];
/* Set boundary mimic and add "solid" perma-wall */
- c_ptr->mimic = f_info[c_ptr->feat].mimic;
+ c_ptr->mimic =
bound_walls_perm ? 0 :
f_info[c_ptr->feat].mimic;
c_ptr->feat = FEAT_PERM_SOLID;
c_ptr = &cave[cur_hgt - 1][x];
/* Set boundary mimic and add "solid" perma-wall */
c_ptr->feat = FEAT_PERM_SOLID;
c_ptr = &cave[cur_hgt - 1][x];
/* Set boundary mimic and add "solid" perma-wall */
- c_ptr->mimic = f_info[c_ptr->feat].mimic;
+ c_ptr->mimic =
bound_walls_perm ? 0 :
f_info[c_ptr->feat].mimic;
c_ptr->feat = FEAT_PERM_SOLID;
}
c_ptr->feat = FEAT_PERM_SOLID;
}
@@
-1010,13
+1010,13
@@
static bool cave_gen(void)
cave_type *c_ptr = &cave[y][0];
/* Set boundary mimic and add "solid" perma-wall */
cave_type *c_ptr = &cave[y][0];
/* Set boundary mimic and add "solid" perma-wall */
- c_ptr->mimic = f_info[c_ptr->feat].mimic;
+ c_ptr->mimic =
bound_walls_perm ? 0 :
f_info[c_ptr->feat].mimic;
c_ptr->feat = FEAT_PERM_SOLID;
c_ptr = &cave[y][cur_wid - 1];
/* Set boundary mimic and add "solid" perma-wall */
c_ptr->feat = FEAT_PERM_SOLID;
c_ptr = &cave[y][cur_wid - 1];
/* Set boundary mimic and add "solid" perma-wall */
- c_ptr->mimic = f_info[c_ptr->feat].mimic;
+ c_ptr->mimic =
bound_walls_perm ? 0 :
f_info[c_ptr->feat].mimic;
c_ptr->feat = FEAT_PERM_SOLID;
}
c_ptr->feat = FEAT_PERM_SOLID;
}
diff --git
a/src/tables.c
b/src/tables.c
index
1cb0261
..
d5b19aa
100644
(file)
--- a/
src/tables.c
+++ b/
src/tables.c
@@
-6905,6
+6905,15
@@
option_type option_info[] =
#ifdef JP
#ifdef JP
+ { &bound_walls_perm, FALSE, 3, 2, 1,
+ "bound_walls_perm", "¥À¥ó¥¸¥ç¥ó¤Î³°Êɤò±Êµ×´ä¤Ë¤¹¤ë" },
+#else
+ { &bound_walls_perm, FALSE, 3, 2, 1,
+ "bound_walls_perm", "Boundary walls are created by permanent wall" },
+#endif
+
+
+#ifdef JP
{ &last_words, TRUE, 3, 0, 28,
"last_words", "¥¥ã¥é¥¯¥¿¡¼¤¬»à¤ó¤À»þ°ä¸À¤ò¤Î¤³¤¹" },
#else
{ &last_words, TRUE, 3, 0, 28,
"last_words", "¥¥ã¥é¥¯¥¿¡¼¤¬»à¤ó¤À»þ°ä¸À¤ò¤Î¤³¤¹" },
#else
diff --git
a/src/variable.c
b/src/variable.c
index
8727d8a
..
2be8d11
100644
(file)
--- a/
src/variable.c
+++ b/
src/variable.c
@@
-223,6
+223,7
@@
bool over_exert;
bool small_levels; /* Allow unusually small dungeon levels */
bool always_small_levels; /* Use always unusually small dungeon levels */
bool empty_levels; /* Allow empty 'arena' levels */
bool small_levels; /* Allow unusually small dungeon levels */
bool always_small_levels; /* Use always unusually small dungeon levels */
bool empty_levels; /* Allow empty 'arena' levels */
+bool bound_walls_perm; /* Boundary walls are created by permanent wall */
bool player_symbols; /* Use varying symbols for the player char */
bool equippy_chars; /* Back by popular demand... */
bool display_mutations; /* Skip mutations screen even if we have it */
bool player_symbols; /* Use varying symbols for the player char */
bool equippy_chars; /* Back by popular demand... */
bool display_mutations; /* Skip mutations screen even if we have it */