*/
void place_room(POSITION x1, POSITION x2, POSITION y1, POSITION y2, bool light)
{
- int y, x;
+ POSITION y, x;
place_floor(x1, x2, y1, y2, light);
SPELL_IDX i;
int j = 0;
int num = 0;
- int y = 1;
- int x = 15;
+ POSITION y = 1;
+ POSITION x = 15;
PLAYER_LEVEL plev = p_ptr->lev;
int ask = TRUE;
char choice;
*/
static void note(cptr msg)
{
- static int y = 2;
+ static TERM_LEN y = 2;
/* Draw the message */
prt(msg, y, 0);
*\r
*This makes a vault that looks like a castle/ city in the dungeon.\r
*/\r
-static void build_castle_vault(int x0, int y0, int xsize, int ysize)\r
+static void build_castle_vault(POSITION x0, POSITION y0, POSITION xsize, POSITION ysize)\r
{\r
- int dy, dx;\r
- int y1, x1, y2, x2;\r
- int y, x;\r
+ POSITION dy, dx;\r
+ POSITION y1, x1, y2, x2;\r
+ POSITION y, x;\r
\r
/* Pick a random room size */\r
dy = ysize / 2 - 1;\r
{
object_type forge;
object_type *q_ptr = &forge;
- int y, x;
+ POSITION y, x;
if (p_ptr->is_dead) return FALSE;
if (p_ptr->confused || p_ptr->blind || p_ptr->paralyzed || p_ptr->image) return FALSE;
*/
static void target_set_prepare(BIT_FLAGS mode)
{
- int y, x;
- int min_hgt, max_hgt, min_wid, max_wid;
+ POSITION y, x;
+ POSITION min_hgt, max_hgt, min_wid, max_wid;
if (mode & TARGET_KILL)
{