/* Apply the RLE info */
for (i = count; i > 0; i--)
{
- /* Access the cave */
- c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ c_ptr = &grid_array[y][x];
/* Extract "info" */
c_ptr->info = info;
/* Apply the RLE info */
for (i = count; i > 0; i--)
{
- /* Access the cave */
- c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ c_ptr = &grid_array[y][x];
/* Extract "feat" */
c_ptr->feat = (s16b)tmp8u;
/* Apply the RLE info */
for (i = count; i > 0; i--)
{
- /* Access the cave */
- c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ c_ptr = &grid_array[y][x];
/* Extract "mimic" */
c_ptr->mimic = (s16b)tmp8u;
/* Apply the RLE info */
for (i = count; i > 0; i--)
{
- /* Access the cave */
- c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ c_ptr = &grid_array[y][x];
/* Extract "feat" */
c_ptr->special = tmp16s;
}
}
- /* Convert cave data */
+ /* Convert grid_array data */
if (z_older_than(11, 0, 99))
{
for (y = 0; y < ymax; y++) for (x = 0; x < xmax; x++)
{
/* Wipe old unused flags */
- cave[y][x].info &= ~(CAVE_MASK);
+ grid_array[y][x].info &= ~(CAVE_MASK);
}
}
{
for (y = 0; y < ymax; y++) for (x = 0; x < xmax; x++)
{
- /* Access the cave */
- c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ c_ptr = &grid_array[y][x];
/* Very old */
if (c_ptr->feat == OLD_FEAT_INVIS)
{
for (y = 0; y < ymax; y++) for (x = 0; x < xmax; x++)
{
- /* Access the cave */
- c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ c_ptr = &grid_array[y][x];
/* Old CAVE_IN_MIRROR flag */
if (c_ptr->info & CAVE_OBJECT)
{
for (y = 0; y < ymax; y++) for (x = 0; x < xmax; x++)
{
- /* Access the cave */
- c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ c_ptr = &grid_array[y][x];
if ((c_ptr->special == OLD_QUEST_WATER_CAVE) && !dun_level)
{
else
{
/* Access the item location */
- c_ptr = &cave[o_ptr->iy][o_ptr->ix];
+ c_ptr = &grid_array[o_ptr->iy][o_ptr->ix];
/* Build a stack */
o_ptr->next_o_idx = c_ptr->o_idx;
/* Access grid */
- c_ptr = &cave[m_ptr->fy][m_ptr->fx];
+ c_ptr = &grid_array[m_ptr->fy][m_ptr->fx];
/* Mark the location */
c_ptr->m_idx = m_idx;
cave_template_type *templates;
- /*** Wipe all cave ***/
+ /*** Wipe all grid_array ***/
clear_cave();
/* Apply the RLE info */
for (i = count; i > 0; i--)
{
- /* Access the cave */
- grid_type *c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ grid_type *c_ptr = &grid_array[y][x];
- /* Extract cave data */
+ /* Extract grid_array data */
c_ptr->info = templates[id].info;
c_ptr->feat = templates[id].feat;
c_ptr->mimic = templates[id].mimic;
{
for (y = 0; y < ymax; y++) for (x = 0; x < xmax; x++)
{
- /* Access the cave */
- grid_type *c_ptr = &cave[y][x];
+ /* Access the grid_array */
+ grid_type *c_ptr = &grid_array[y][x];
if ((c_ptr->special == OLD_QUEST_WATER_CAVE) && !dun_level)
{
else
{
/* Access the item location */
- grid_type *c_ptr = &cave[o_ptr->iy][o_ptr->ix];
+ grid_type *c_ptr = &grid_array[o_ptr->iy][o_ptr->ix];
/* Build a stack */
o_ptr->next_o_idx = c_ptr->o_idx;
/* Access grid */
- c_ptr = &cave[m_ptr->fy][m_ptr->fx];
+ c_ptr = &grid_array[m_ptr->fy][m_ptr->fx];
/* Mark the location */
c_ptr->m_idx = m_idx;