* @param width 基本幅
* @return なし
*/
-static void recursive_river(int x1, int y1, int x2, int y2, IDX feat1, IDX feat2, int width)
+static void recursive_river(POSITION x1, POSITION y1, POSITION x2, POSITION y2, FEAT_IDX feat1, FEAT_IDX feat2, POSITION width)
{
- int dx, dy, length, l, x, y;
- int changex, changey;
- int ty, tx;
+ POSITION dx, dy, length, l, x, y;
+ POSITION changex, changey;
+ POSITION ty, tx;
bool done;
cave_type *c_ptr;
if (!in_bounds2(ty, tx)) continue;
break;
}
-
- /* Access the grid */
c_ptr = &cave[ty][tx];
f_ptr = &f_info[c_ptr->feat];
if (c_ptr->o_idx && !have_flag(streamer_ptr->flags, FF_DROP))
{
- s16b this_o_idx, next_o_idx = 0;
+ OBJECT_IDX this_o_idx, next_o_idx = 0;
/* Scan all objects in the grid */
for (this_o_idx = c_ptr->o_idx; this_o_idx; this_o_idx = next_o_idx)
*/
void destroy_level(void)
{
- int y1, x1, n;
+ POSITION y1, x1;
+ int n;
/* Note destroyed levels */
msg_print_wizard(CHEAT_DUNGEON, _("階に*破壊*の痕跡を生成しました。", "Destroyed Level."));