jorrit | 2 Jan 2004 15:34
Picon

cel/scripts xmlgames.xml,1.32,1.33

Update of /cvsroot/cel/cel/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv14516/scripts

Modified Files:
	xmlgames.xml 
Log Message:
Some boulderdash enhancements.

Index: xmlgames.xml
===================================================================
RCS file: /cvsroot/cel/cel/scripts/xmlgames.xml,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- xmlgames.xml	30 Dec 2003 14:32:27 -0000	1.32
+++ xmlgames.xml	2 Jan 2004 14:34:53 -0000	1.33
 <at>  <at>  -67,6 +67,11  <at>  <at> 
 	    <transparent red="0" green="0" blue="0" />
 	    <keepimage />
         </texture>
+        <texture name="bomb">
+	    <file>/cellib/images/bomb.png</file>
+	    <transparent red="0" green="0" blue="0" />
+	    <keepimage />
+        </texture>
     </textures>
     <materials>
 	<material name="picture1"> <texture>picture1</texture> </material>
 <at>  <at>  -84,6 +89,7  <at>  <at> 
         <material name="banana"> <texture>banana</texture> </material>
(Continue reading)

jorrit | 2 Jan 2004 15:34
Picon

cel/data/images bomb.png,NONE,1.1

Update of /cvsroot/cel/cel/data/images
In directory sc8-pr-cvs1:/tmp/cvs-serv14516/data/images

Added Files:
	bomb.png 
Log Message:
Some boulderdash enhancements.

--- NEW FILE: bomb.png ---
(This appears to be a binary file; contents omitted.)

jorrit | 2 Jan 2004 17:01
Picon

cel/docs history.txt,1.342,1.343

Update of /cvsroot/cel/cel/docs
In directory sc8-pr-cvs1:/tmp/cvs-serv29764/docs

Modified Files:
	history.txt 
Log Message:
	- Jorrit added the ability to use parameters for the
	  'call' operation in the XML behaviour layer.

Index: history.txt
===================================================================
RCS file: /cvsroot/cel/cel/docs/history.txt,v
retrieving revision 1.342
retrieving revision 1.343
diff -u -d -r1.342 -r1.343
--- history.txt	30 Dec 2003 14:32:27 -0000	1.342
+++ history.txt	2 Jan 2004 16:01:43 -0000	1.343
 <at>  <at>  -3,6 +3,9  <at>  <at> 

 The history order is reversed so that new features are at the top.

+2-Jan-2004
+	- Jorrit added the ability to use parameters for the
+	  'call' operation in the XML behaviour layer.
 28-Dec-2003
 	- Jorrit added new 'stridx' function to the XML behaviour layer.
 	- Jorrit added new 'strsplit' operation to the XML behaviour layer.

jorrit | 2 Jan 2004 17:01
Picon

cel/plugins/behaviourlayer/xml blxml.cpp,1.39,1.40 xmlscript.cpp,1.48,1.49

Update of /cvsroot/cel/cel/plugins/behaviourlayer/xml
In directory sc8-pr-cvs1:/tmp/cvs-serv29764/plugins/behaviourlayer/xml

Modified Files:
	blxml.cpp xmlscript.cpp 
Log Message:
	- Jorrit added the ability to use parameters for the
	  'call' operation in the XML behaviour layer.

Index: blxml.cpp
===================================================================
RCS file: /cvsroot/cel/cel/plugins/behaviourlayer/xml/blxml.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- blxml.cpp	30 Dec 2003 14:32:27 -0000	1.39
+++ blxml.cpp	2 Jan 2004 16:01:43 -0000	1.40
 <at>  <at>  -920,6 +920,33  <at>  <at> 
         break;
       case XMLTOKEN_CALL:
         {
+	  csRef<iDocumentNodeIterator> child_it = child->GetNodes ();
+	  uint32 cnt = 0;
+	  while (child_it->HasNext ())
+	  {
+	    csRef<iDocumentNode> c = child_it->Next ();
+	    if (c->GetType () != CS_NODE_ELEMENT) continue;
+	    if (xmltokens.Request (c->GetValue ()) == XMLTOKEN_PAR) cnt++;
+	    else synldr->ReportBadToken (c);
+	  }
(Continue reading)

jorrit | 2 Jan 2004 17:01
Picon

cel/scripts xmlgames.xml,1.33,1.34

Update of /cvsroot/cel/cel/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv29764/scripts

Modified Files:
	xmlgames.xml 
Log Message:
	- Jorrit added the ability to use parameters for the
	  'call' operation in the XML behaviour layer.

Index: xmlgames.xml
===================================================================
RCS file: /cvsroot/cel/cel/scripts/xmlgames.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- xmlgames.xml	2 Jan 2004 14:34:53 -0000	1.33
+++ xmlgames.xml	2 Jan 2004 16:01:43 -0000	1.34
 <at>  <at>  -1136,13 +1136,19  <at>  <at> 
 	      - script to set a block. Uses ?x and ?y for the position
 	      - of the block and ?blocktype for the block letter.
 	      - It also uses ?entity to set the entity at the block.
+	      - Uses parameters 'entity', 'blocktype', 'x', and 'y'.
 	      -->
 	    <event name="setblock">
-	    	<var name="mazepos" value="?x+'_'+?y" />
-	        <var name="maze+?mazepos" value="?blocktype" />
-		<var name="mazeent+?mazepos" value="?entity" />
-		<if eval="?blocktype == ' '">
-		    <call event="checkfall" />
+	    	<var name="x" value="param(parid(x))" />
(Continue reading)

jorrit | 2 Jan 2004 20:58
Picon

cel/scripts xmlgames.xml,1.34,1.35

Update of /cvsroot/cel/cel/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv9499/scripts

Modified Files:
	xmlgames.xml 
Log Message:
	- Jorrit added a shorthand notation in the XML behaviour
	  layer:  <at> parameter instead of param(parid(parameter)).

Index: xmlgames.xml
===================================================================
RCS file: /cvsroot/cel/cel/scripts/xmlgames.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- xmlgames.xml	2 Jan 2004 16:01:43 -0000	1.34
+++ xmlgames.xml	2 Jan 2004 19:58:07 -0000	1.35
 <at>  <at>  -328,7 +328,7  <at>  <at> 
 		        </true>
 		        <false>
 			    <var name="delta"
-			    	value="?delta+?speed*param(parid(elapsedticks))" />
+			    	value="?delta+?speed* <at> elapsedticks" />
 		        </false>
 		    </if>
 		</if>
 <at>  <at>  -539,8 +539,7  <at>  <at> 
 	        <property id="propid(y)"
 			value="1000+intpol(?delta,?inty1,?inty2)*?puzzle_main.tiledim" />
 		<if eval="?delta>=1" true="stoptimer" />
(Continue reading)

jorrit | 2 Jan 2004 20:58
Picon

cel/docs history.txt,1.343,1.344

Update of /cvsroot/cel/cel/docs
In directory sc8-pr-cvs1:/tmp/cvs-serv9499/docs

Modified Files:
	history.txt 
Log Message:
	- Jorrit added a shorthand notation in the XML behaviour
	  layer:  <at> parameter instead of param(parid(parameter)).

Index: history.txt
===================================================================
RCS file: /cvsroot/cel/cel/docs/history.txt,v
retrieving revision 1.343
retrieving revision 1.344
diff -u -d -r1.343 -r1.344
--- history.txt	2 Jan 2004 16:01:43 -0000	1.343
+++ history.txt	2 Jan 2004 19:58:07 -0000	1.344
 <at>  <at>  -6,6 +6,8  <at>  <at> 
 2-Jan-2004
 	- Jorrit added the ability to use parameters for the
 	  'call' operation in the XML behaviour layer.
+	- Jorrit added a shorthand notation in the XML behaviour
+	  layer:  <at> parameter instead of param(parid(parameter)).
 28-Dec-2003
 	- Jorrit added new 'stridx' function to the XML behaviour layer.
 	- Jorrit added new 'strsplit' operation to the XML behaviour layer.

jorrit | 2 Jan 2004 20:58
Picon

cel/plugins/behaviourlayer/xml blxml.cpp,1.40,1.41 blxml.h,1.12,1.13 token.cpp,1.11,1.12 token.h,1.10,1.11

Update of /cvsroot/cel/cel/plugins/behaviourlayer/xml
In directory sc8-pr-cvs1:/tmp/cvs-serv9499/plugins/behaviourlayer/xml

Modified Files:
	blxml.cpp blxml.h token.cpp token.h 
Log Message:
	- Jorrit added a shorthand notation in the XML behaviour
	  layer:  <at> parameter instead of param(parid(parameter)).

Index: blxml.cpp
===================================================================
RCS file: /cvsroot/cel/cel/plugins/behaviourlayer/xml/blxml.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- blxml.cpp	2 Jan 2004 16:01:43 -0000	1.40
+++ blxml.cpp	2 Jan 2004 19:58:07 -0000	1.41
 <at>  <at>  -250,6 +250,60  <at>  <at> 
   return true;
 }

+bool celBlXml::ParseID (const char*& input, iDocumentNode* child,
+	celXmlScriptEventHandler* h,
+	const char* name, char* str, csStringID fun_id)
+{
+  input = celXmlSkipWhiteSpace (input);
+  const char* i = input;
+  bool idconstant = true;
+  while (*i && *i != ')')
+  {
(Continue reading)

jorrit | 2 Jan 2004 21:00
Picon

cel/plugins/behaviourlayer/python blcel.cpp,1.46,1.47

Update of /cvsroot/cel/cel/plugins/behaviourlayer/python
In directory sc8-pr-cvs1:/tmp/cvs-serv9981/plugins/behaviourlayer/python

Modified Files:
	blcel.cpp 
Log Message:
Regenerated python.

Index: blcel.cpp
===================================================================
RCS file: /cvsroot/cel/cel/plugins/behaviourlayer/python/blcel.cpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- blcel.cpp	17 Dec 2003 09:39:21 -0000	1.46
+++ blcel.cpp	2 Jan 2004 20:00:03 -0000	1.47
 <at>  <at>  -760,13 +760,13  <at>  <at> 
 #define  SWIGTYPE_p_p_csVector3 swig_types[103] 
 #define  SWIGTYPE_p_csDVector3 swig_types[104] 
 #define  SWIGTYPE_p_csVector3 swig_types[105] 
-#define  SWIGTYPE_p_csFrustumViewObjectFunc swig_types[106] 
-#define  SWIGTYPE_p_iDataObject swig_types[107] 
-#define  SWIGTYPE_p_iVisibilityObject swig_types[108] 
-#define  SWIGTYPE_p_iObject swig_types[109] 
-#define  SWIGTYPE_p_csObject swig_types[110] 
-#define  SWIGTYPE_p_iSharedVariableList swig_types[111] 
-#define  SWIGTYPE_csEventHandlerFunc swig_types[112] 
+#define  SWIGTYPE_p_csPluginRequest swig_types[106] 
[...3601 lines suppressed...]
 _swigt__p_csPtrTiPluginIterator_t, 
(Continue reading)

jorrit | 2 Jan 2004 21:29
Picon

cel/scripts xmlgames.xml,1.35,1.36

Update of /cvsroot/cel/cel/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv15328/scripts

Modified Files:
	xmlgames.xml 
Log Message:
Some small changes.

Index: xmlgames.xml
===================================================================
RCS file: /cvsroot/cel/cel/scripts/xmlgames.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- xmlgames.xml	2 Jan 2004 19:58:07 -0000	1.35
+++ xmlgames.xml	2 Jan 2004 20:29:31 -0000	1.36
 <at>  <at>  -301,12 +301,12  <at>  <at> 
 	    <!--
 	      - Do the actual move. Subscripts can override this to
 	      - do additional stuff like check for collisions and so on.
-	      - Uses ?xx and ?yy parameters.
+	      - Uses  <at> x and  <at> y parameters.
 	      -->
 	    <event name="actualmove">
 		<default propclass="pc(pcbillboard)" />
-	        <property id="propid(x)" value="?xx" />
-	        <property id="propid(y)" value="?yy" />
+	        <property id="propid(x)" value=" <at> x" />
+	        <property id="propid(y)" value=" <at> y" />
 	    </event>
(Continue reading)


Gmane