*/
void vault_monsters(int y1, int x1, int num)
{
- int k, i, y, x;
+ int k, i;
+ POSITION y, x;
cave_type *c_ptr;
/* Try to summon "num" monsters "near" the given location */
* inner -- inner room walls\n
* outer -- outer room walls\n
* solid -- solid room walls\n
- * TODO: tmp_row/tmp_col をposition型に後から直す。
*/
bool build_tunnel(POSITION row1, POSITION col1, POSITION row2, POSITION col2)
{
int y, x;
- int tmp_row, tmp_col;
+ POSITION tmp_row, tmp_col;
int row_dir, col_dir;
int start_row, start_col;
int main_loop_count = 0;
*/
bool build_tunnel2(POSITION x1, POSITION y1, POSITION x2, POSITION y2, int type, int cutoff)
{
- int x3, y3, dx, dy; // TODO: いずれpositon型に変える
+ POSITION x3, y3, dx, dy;
int changex, changey;
int length;
int i;