Update of /cvsroot/wpdev/wolfpack/python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15956/python
Modified Files:
global.cpp
Log Message:
teleporter fixes
added color for static tiles
Index: global.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/python/global.cpp,v
retrieving revision 1.162
retrieving revision 1.163
diff -C2 -d -r1.162 -r1.163
*** global.cpp 25 Sep 2004 22:57:10 -0000 1.162
--- global.cpp 1 Oct 2004 19:43:57 -0000 1.163
***************
*** 590,593 ****
--- 590,594 ----
following keys:
- <code>id</code> The art tile id of the static item as an integer value.
+ - <code>color</code> The color of the tile.
- <code>x</code> The absolute x component of the coordinate of the static tile. (Not relative to the
upper left block corner).
***************
*** 624,627 ****
--- 625,629 ----
PyDict_SetItemString( dict, "y", PyInt_FromLong( ( yBlock * 8 ) + iter->yoff ) );
PyDict_SetItemString( dict, "z", PyInt_FromLong( iter->zoff ) );
+ PyDict_SetItemString( dict, "color", PyInt_FromLong( iter->color ) );
PyList_Append( list, dict );
|