*\n
* The layout of the array is [x][0] = light and [x][1] = dark.\n
*/
-static byte lighting_colours[16][2] =
+static TERM_COLOR lighting_colours[16][2] =
{
/* TERM_DARK */
{TERM_L_DARK, TERM_DARK},
*/
void update_lite(void)
{
- int i, x, y, min_x, max_x, min_y, max_y;
+ int i;
+ POSITION x, y, min_x, max_x, min_y, max_y;
int p = p_ptr->cur_lite;
grid_type *g_ptr;
if (!cave_los_grid(g_ptr)) break;
}
-
/*** Step 3 -- major axes ***/
/* Scan south */
/* Now check each "diagonal" (in parallel) */
for (n = 1; n <= over / 2; n++)
{
- int ypn, ymn, xpn, xmn;
-
+ POSITION ypn, ymn, xpn, xmn;
/* Acquire the "bounds" of the maximal circle */
z = over - n - n;
*/
void delayed_visual_update(void)
{
- int i, y, x;
+ int i;
+ POSITION y, x;
grid_type *g_ptr;
/* Update needed grids */
*/
void update_flow(void)
{
- POSITION x, y, d;
+ POSITION x, y;
+ DIRECTION d;
int flow_head = 1;
int flow_tail = 0;