Update of /cvsroot/netrek/client/netrekxp/include
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6411/include
Modified Files:
defs.h struct.h
Log Message:
Add support for plasma to gettarget.
Add sanity and range checks to autophaser.
Add plasma check to autophaser.
Index: defs.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/defs.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- defs.h 9 May 2009 21:21:43 -0000 1.35
+++ defs.h 23 May 2009 15:21:19 -0000 1.36
@@ -169,6 +169,7 @@
#define TARG_SELF 0x8
#define TARG_ENEMY 0x10
#define TARG_FRIEND 0x20
+#define TARG_PLASMA 0x40
#define DEFAULT_PORT 2592
Index: struct.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/struct.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- struct.h 9 May 2009 21:21:43 -0000 1.33
+++ struct.h 23 May 2009 15:21:19 -0000 1.34
@@ -726,11 +726,14 @@
#define PLANETTYPE 0x1
#define PLAYERTYPE 0x2
+#define PLASMATYPE 0x4
struct obtype
{
int o_type;
int o_num;
+ int o_dist_x;
+ int o_dist_y;
};
struct rank