Vanilla Development Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS update: Vanilla/ntserv
Date: Monday November 22, 1999 @ 17:58
Author: unbelver
Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv9261
Modified Files:
data.c data.h feature.c
Log Message:
Well, they're in the .features file, might as well make them
settable.
* ntserv/data.c: added variables for all features types
* ntserv/data.h: added declarations of all feature types
* ntserv/feature.h: filled in null entries for feature variables
--Carlos V.
****************************************
Index: Vanilla/ntserv/data.c
diff -u Vanilla/ntserv/data.c:1.9 Vanilla/ntserv/data.c:1.10
--- Vanilla/ntserv/data.c:1.9 Sun Jun 6 17:38:24 1999
+++ Vanilla/ntserv/data.c Mon Nov 22 17:58:58 1999
@@ -1,4 +1,4 @@
-/* $Id: data.c,v 1.9 1999/06/06 22:38:24 jeffno Exp $
+/* $Id: data.c,v 1.10 1999/11/22 23:58:58 unbelver Exp $
*/
#include "../ntserv/copyright.h"
@@ -383,5 +383,8 @@
int F_client_feature_packets = 0;
#endif
-int F_ship_cap = 0;
+int F_ship_cap = 0;
+int F_cloak_maxwarp = 0;
+int F_rc_distress = 0;
+int F_self_8flags = 0;
int sent_ship[NUM_TYPES];
Index: Vanilla/ntserv/data.h
diff -u Vanilla/ntserv/data.h:1.7 Vanilla/ntserv/data.h:1.8
--- Vanilla/ntserv/data.h:1.7 Sun Jun 6 17:38:24 1999
+++ Vanilla/ntserv/data.h Mon Nov 22 17:58:58 1999
@@ -1,4 +1,4 @@
-/* $Id: data.h,v 1.7 1999/06/06 22:38:24 jeffno Exp $
+/* $Id: data.h,v 1.8 1999/11/22 23:58:58 unbelver Exp $
*/
#ifndef _h_data
@@ -315,6 +315,9 @@
#endif
extern int F_ship_cap;
+extern int F_cloak_maxwarp;
+extern int F_rc_distress;
+extern int F_self_8flags;
extern int sent_ship[];
extern char Cambot[FNAMESIZE];
Index: Vanilla/ntserv/feature.c
diff -u Vanilla/ntserv/feature.c:1.4 Vanilla/ntserv/feature.c:1.5
--- Vanilla/ntserv/feature.c:1.4 Mon Nov 22 16:21:28 1999
+++ Vanilla/ntserv/feature.c Mon Nov 22 17:58:58 1999
@@ -38,16 +38,14 @@
int *var; /* local variable */
};
-int F_cloak_maxwarp = 0;
-
struct feature_var feature_vars[] = {
{ "FEATURE_PACKETS", &F_client_feature_packets },
#ifdef CHAIN_REACTION
{ "WHY_DEAD", &why_dead },
#endif
{ "SBHOURS", &SBhours },
- { "SELF_8FLAGS", NULL },
- { "RC_DISTRESS", NULL }, /* xx */
+ { "SELF_8FLAGS", &F_self_8flags},
+ { "RC_DISTRESS", &F_rc_distress}, /* xx */
{ "CLOAK_MAXWARP", &F_cloak_maxwarp},
{ "SHIP_CAP", &F_ship_cap},
{ "DEAD_WARP", &dead_warp },