OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#37287 #37353 (2.2.0.89) KIND_OBJECT_IDX型とMONSTER_NUMBER型を定義し、型の置換を継続中。 / KIND_OBJECT...
[hengband/hengband.git]
/
src
/
wizard2.c
diff --git
a/src/wizard2.c
b/src/wizard2.c
index
9b0d9a5
..
1c94028
100644
(file)
--- a/
src/wizard2.c
+++ b/
src/wizard2.c
@@
-233,7
+233,7
@@
static void prt_binary(u32b flags, int row, int col)
* @param col 表示行
* @return なし
*/
* @param col 表示行
* @return なし
*/
-static void prt_alloc(
byte tval, byte sval, int row, int
col)
+static void prt_alloc(
OBJECT_TYPE_VALUE tval, OBJECT_SUBTYPE_VALUE sval, TERM_POSITION row, TERM_POSITION
col)
{
int i, j;
int home = 0;
{
int i, j;
int home = 0;
@@
-1272,7
+1272,7
@@
static void do_cmd_wiz_blue_mage(void)
*/
static void do_cmd_wiz_play(void)
{
*/
static void do_cmd_wiz_play(void)
{
-
int
item;
+
OBJECT_IDX
item;
object_type forge;
object_type *q_ptr;
object_type forge;
object_type *q_ptr;
@@
-1555,7
+1555,8
@@
static void do_cmd_wiz_jump(void)
if (!d_info[tmp_dungeon_type].maxdepth || (tmp_dungeon_type > max_d_idx)) tmp_dungeon_type = DUNGEON_ANGBAND;
/* Prompt */
if (!d_info[tmp_dungeon_type].maxdepth || (tmp_dungeon_type > max_d_idx)) tmp_dungeon_type = DUNGEON_ANGBAND;
/* Prompt */
- sprintf(ppp, "Jump to level (0, %d-%d): ", d_info[tmp_dungeon_type].mindepth, d_info[tmp_dungeon_type].maxdepth);
+ sprintf(ppp, "Jump to level (0, %d-%d): ",
+ (int)d_info[tmp_dungeon_type].mindepth, (int)d_info[tmp_dungeon_type].maxdepth);
/* Default */
sprintf(tmp_val, "%d", (int)dun_level);
/* Default */
sprintf(tmp_val, "%d", (int)dun_level);
@@
-1669,7
+1670,7
@@
static void do_cmd_wiz_summon(int num)
* @details
* XXX XXX XXX This function is rather dangerous
*/
* @details
* XXX XXX XXX This function is rather dangerous
*/
-static void do_cmd_wiz_named(
int
r_idx)
+static void do_cmd_wiz_named(
MONRACE_IDX
r_idx)
{
(void)summon_named_creature(0, p_ptr->y, p_ptr->x, r_idx, (PM_ALLOW_SLEEP | PM_ALLOW_GROUP));
}
{
(void)summon_named_creature(0, p_ptr->y, p_ptr->x, r_idx, (PM_ALLOW_SLEEP | PM_ALLOW_GROUP));
}
@@
-1683,7
+1684,7
@@
static void do_cmd_wiz_named(int r_idx)
* @details
* XXX XXX XXX This function is rather dangerous
*/
* @details
* XXX XXX XXX This function is rather dangerous
*/
-static void do_cmd_wiz_named_friendly(
int
r_idx)
+static void do_cmd_wiz_named_friendly(
MONRACE_IDX
r_idx)
{
(void)summon_named_creature(0, p_ptr->y, p_ptr->x, r_idx, (PM_ALLOW_SLEEP | PM_ALLOW_GROUP | PM_FORCE_PET));
}
{
(void)summon_named_creature(0, p_ptr->y, p_ptr->x, r_idx, (PM_ALLOW_SLEEP | PM_ALLOW_GROUP | PM_FORCE_PET));
}
@@
-1697,7
+1698,7
@@
static void do_cmd_wiz_named_friendly(int r_idx)
*/
static void do_cmd_wiz_zap(void)
{
*/
static void do_cmd_wiz_zap(void)
{
-
int
i;
+
MONSTER_IDX
i;
/* Genocide everyone nearby */
/* Genocide everyone nearby */
@@
-1735,7
+1736,7
@@
static void do_cmd_wiz_zap(void)
*/
static void do_cmd_wiz_zap_all(void)
{
*/
static void do_cmd_wiz_zap_all(void)
{
-
int
i;
+
MONSTER_IDX
i;
/* Genocide everyone */
for (i = 1; i < m_max; i++)
/* Genocide everyone */
for (i = 1; i < m_max; i++)