1 | |
|
|
2 | /* |
1 | /* |
3 | CrossFire, A Multiplayer game for X-windows |
2 | CrossFire, A Multiplayer game for X-windows |
4 | |
3 | |
|
|
4 | Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
5 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
5 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
6 | Copyright (C) 1992 Frank Tore Johansen |
6 | Copyright (C) 1992 Frank Tore Johansen |
7 | |
7 | |
8 | This program is free software; you can redistribute it and/or modify |
8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by |
9 | it under the terms of the GNU General Public License as published by |
… | |
… | |
505 | * being nonzero have been changed to check for 1. Also, since |
505 | * being nonzero have been changed to check for 1. Also, since |
506 | * map_mark is a char value, putting 2 in should cause no problems. |
506 | * map_mark is a char value, putting 2 in should cause no problems. |
507 | * |
507 | * |
508 | * This function examines the map the player is on, and determines what |
508 | * This function examines the map the player is on, and determines what |
509 | * is visible. 2 is set for walls or objects that blocks view. 1 |
509 | * is visible. 2 is set for walls or objects that blocks view. 1 |
510 | * is for open spaces. map_mark should already have been initialized |
510 | * is for open spaces. map_mark should already have been initialised |
511 | * to zero before this is called. |
511 | * to zero before this is called. |
512 | * strength is an initial strength*2 rectangular area that we automatically |
512 | * strength is an initial strength*2 rectangular area that we automatically |
513 | * see in/penetrate through. |
513 | * see in/penetrate through. |
514 | */ |
514 | */ |
515 | |
515 | |