[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/unit unit.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src/unit unit.c |
Date: |
18 Jan 2004 03:58:01 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/18 03:58:01
Modified files:
src/unit : unit.c
Log message:
Fix Local->Global UnitGoes Under/OutOf Fog
Patches:
Index: stratagus/src/unit/unit.c
diff -u stratagus/src/unit/unit.c:1.363 stratagus/src/unit/unit.c:1.364
--- stratagus/src/unit/unit.c:1.363 Sat Jan 17 18:26:09 2004
+++ stratagus/src/unit/unit.c Sun Jan 18 03:58:01 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: unit.c,v 1.363 2004/01/17 07:26:09 jsalmon3 Exp $
+// $Id: unit.c,v 1.364 2004/01/17 16:58:01 nobody_ Exp $
//@{
@@ -936,7 +936,7 @@
** @param unit The unit that goes under fog.
** @param p The player the unit goes out of fog for.
*/
-local void UnitGoesUnderFog(Unit* unit, const Player* player)
+global void UnitGoesUnderFog(Unit* unit, const Player* player)
{
DebugLevel3Fn("Unit %d(%s) at %d %d goes under fog for %d\n" _C_
unit->Slot _C_ unit->Type->Name _C_ unit->X _C_ unit->Y
_C_ player->Player);
@@ -981,7 +981,7 @@
** not get an decrease the first time it's seen, so we have to
** keep track of what player saw what units, with SeenByPlayer.
*/
-local void UnitGoesOutOfFog(Unit* unit, const Player* player)
+global void UnitGoesOutOfFog(Unit* unit, const Player* player)
{
DebugLevel3Fn("Unit %d(%s) at %d %d goes out of fog for %d.\n" _C_
unit->Slot _C_ unit->Type->Name _C_ unit->X _C_ unit->Y
_C_ player->Player);
@@ -3786,7 +3786,7 @@
int j;
CLprintf(file, "\n--- -----------------------------------------\n");
- CLprintf(file, "--- MODULE: units $Id: unit.c,v 1.363 2004/01/17
07:26:09 jsalmon3 Exp $\n\n");
+ CLprintf(file, "--- MODULE: units $Id: unit.c,v 1.364 2004/01/17
16:58:01 nobody_ Exp $\n\n");
#if 0
//
- [Stratagus-CVS] stratagus/src/unit unit.c,
address@hidden <=