Update of /cvsroot/netrek/client/netrekxp/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv25264/include

Modified Files:
        struct.h 
Log Message:
Added in support for multiline macros using the NEWMACRO system with the 
recipient being a conditional variable, i.e. %p, %z, etc.  Prior to this 
change, only single line macros could be sent using a conditional variable for 
the recipient.  Changes were made as follows:
struct.h: New variable (int multi) in struct macro_list.
defaults.c: Initialize multi to 0, set to 1 in the case of multiline macros 
that are sent by mouse targetting.
input.c: Check for value of multi in the case of mouse targetted macros.  If 
multi is 1, continue reading in the rest of the macro.  If not, break out of 
loop per usual.

Index: struct.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/struct.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- struct.h    28 May 2006 23:05:11 -0000      1.10
+++ struct.h    10 Aug 2006 10:00:52 -0000      1.11
@@ -532,6 +532,7 @@
 struct macro_list
 {
     int type;
+    int multi;
     unsigned char key;
     char who;
     char *string;


_______________________________________________
netrek-cvs mailing list
[email protected]
http://mailman.us.netrek.org/mailman/listinfo/netrek-cvs

Reply via email to