Vanilla Development Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/tools



Date:	Thursday March 23, 2000 @ 19:07
Author:	cameron

Update of /home/netrek/cvsroot/Vanilla/tools
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv23173

Modified Files:
	players.c 
Log Message:
minor edits


****************************************

Index: Vanilla/tools/players.c
diff -u Vanilla/tools/players.c:1.4 Vanilla/tools/players.c:1.5
--- Vanilla/tools/players.c:1.4	Thu Mar 23 18:48:30 2000
+++ Vanilla/tools/players.c	Thu Mar 23 19:07:36 2000
@@ -57,7 +57,7 @@
     output("<>=======================================================================<>\n");
 
     switch(mode) {
-      case 'v':
+      case 'l':
 	break;
       case 'd':
 	output("  Pl: Name             Type  Kills Damage Shields Armies   Fuel\n");
@@ -70,8 +70,8 @@
 	output("  Pl: Rank       Name             Login      Display                  Type\n");
 	break;
 
-      case 'l':
-	output("pid    pl avrt stdv in  out who\n");
+      case 'v':
+	output("pid    pl avrt std in ou who\n");
 	break;
 
       default:
@@ -138,11 +138,11 @@
 	    break;
 	  case 'v':
             fixed_name = name_fix(players[i].p_name);
-	    output("%6d %2s "
+	    output("%5d %2s "
 #ifdef PING
-		   "%4d %4d %3d %3d"
+		   "%4d %3d %2d %2d "
 #endif
-		   "%s %s@%s %c",
+		   "%s:%s@%s %c",
 		   players[i].p_process,
 		   players[i].p_mapchars, 
 #ifdef PING
@@ -176,6 +176,8 @@
 	    break;
 	}
     }
+    if (mode == 'v') return 0;
+
     output("<>=======================================================================<>\n");
     output("  Feds: %d   Roms: %d   Kli: %d   Ori: %d\n", 
 	   teams[FED], teams[ROM], teams[KLI], teams[ORI]);
@@ -186,7 +188,7 @@
 	output("  No wait queue.\n");
 
     output("<>=======================================================================<>\n");
-    return 1;		/* satisfy lint */
+    return 0;		/* satisfy lint */
 }