… | |
… | |
352 | static void |
352 | static void |
353 | apply_lights (player *pl) |
353 | apply_lights (player *pl) |
354 | { |
354 | { |
355 | object *op = pl->viewpoint; |
355 | object *op = pl->viewpoint; |
356 | int darklevel = op->map->darklevel (); |
356 | int darklevel = op->map->darklevel (); |
357 | maptile::outdoor_darkness = 4;//D |
|
|
358 | |
357 | |
359 | int half_x = pl->ns->mapx / 2; |
358 | int half_x = pl->ns->mapx / 2; |
360 | int half_y = pl->ns->mapy / 2; |
359 | int half_y = pl->ns->mapy / 2; |
361 | |
360 | |
362 | int pass2 = 0; // negative lights have an extra pass |
361 | int pass2 = 0; // negative lights have an extra pass |