[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src include/map.h unit/unit.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src include/map.h unit/unit.c |
Date: |
30 Jan 2004 20:49:39 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/30 20:49:39
Modified files:
src/include : map.h
src/unit : unit.c
Log message:
Fix stdout junk, sorry.
Patches:
Index: stratagus/src/include/map.h
diff -u stratagus/src/include/map.h:1.120 stratagus/src/include/map.h:1.121
--- stratagus/src/include/map.h:1.120 Fri Jan 30 20:47:59 2004
+++ stratagus/src/include/map.h Fri Jan 30 20:49:38 2004
@@ -27,7 +27,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: map.h,v 1.120 2004/01/30 09:47:59 nobody_ Exp $
+// $Id: map.h,v 1.121 2004/01/30 09:49:38 nobody_ Exp $
#ifndef __MAP_H__
#define __MAP_H__
@@ -521,7 +521,6 @@
MapSight((unit)->Player, (unit)->X,(unit)->Y, (unit)->Type->TileWidth,\
(unit)->Type->TileHeight, (unit)->CurrentSightRange,
MapMarkTileSight); \
if (unit->Type->DetectCloak) { \
- DebugLevel0Fn("P%d Mark detect cloak at %d, %d\n" _C_
(unit)->Player->Player _C_ (unit)->X _C_ (unit)->Y);\
MapSight((unit)->Player, (unit)->X,(unit)->Y,
(unit)->Type->TileWidth,\
(unit)->Type->TileHeight,
(unit)->CurrentSightRange, MapMarkTileDetectCloak); \
}\
@@ -532,7 +531,6 @@
MapSight((unit)->Player,(unit)->X,(unit)->Y, (unit)->Type->TileWidth,\
(unit)->Type->TileHeight,(unit)->CurrentSightRange,MapUnmarkTileSight); \
if (unit->Type->DetectCloak) { \
- DebugLevel0Fn("P%d Unmark detect cloak at %d, %d\n" _C_
(unit)->Player->Player _C_ (unit)->X _C_ (unit)->Y);\
MapSight((unit)->Player, (unit)->X,(unit)->Y,
(unit)->Type->TileWidth,\
(unit)->Type->TileHeight,
(unit)->CurrentSightRange, MapUnmarkTileDetectCloak); \
}\
Index: stratagus/src/unit/unit.c
diff -u stratagus/src/unit/unit.c:1.381 stratagus/src/unit/unit.c:1.382
--- stratagus/src/unit/unit.c:1.381 Fri Jan 30 20:48:00 2004
+++ stratagus/src/unit/unit.c Fri Jan 30 20:49:38 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: unit.c,v 1.381 2004/01/30 09:48:00 nobody_ Exp $
+// $Id: unit.c,v 1.382 2004/01/30 09:49:38 nobody_ Exp $
//@{
@@ -2892,7 +2892,6 @@
} else {
unit->CurrentSightRange = 0;
}
- DebugLevel0Fn("%s\n" _C_ unit->Type->Name);
MapMarkUnitSight(unit);
}
@@ -3770,7 +3769,7 @@
int j;
CLprintf(file, "\n--- -----------------------------------------\n");
- CLprintf(file, "--- MODULE: units $Id: unit.c,v 1.381 2004/01/30
09:48:00 nobody_ Exp $\n\n");
+ CLprintf(file, "--- MODULE: units $Id: unit.c,v 1.382 2004/01/30
09:49:38 nobody_ Exp $\n\n");
#if 0
//
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src include/map.h unit/unit.c,
address@hidden <=