Update of /cvsroot/wpdev/wolfpack/python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27475/python
Modified Files:
global.cpp worlditerator.cpp
Log Message:
Documentation
Index: worlditerator.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/python/worlditerator.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** worlditerator.cpp 2 Jun 2004 19:13:14 -0000 1.6
--- worlditerator.cpp 29 Jun 2004 11:36:41 -0000 1.7
***************
*** 29,40 ****
#include "../world.h"
! typedef struct
! {
PyObject_HEAD;
cItemIterator* iter;
} wpItemIterator;
! static void wpItemIteratorDealloc( PyObject* self )
! {
delete ( ( wpItemIterator * ) self )->iter;
PyObject_Del( self );
--- 29,38 ----
#include "../world.h"
! typedef struct {
PyObject_HEAD;
cItemIterator* iter;
} wpItemIterator;
! static void wpItemIteratorDealloc( PyObject* self) {
delete ( ( wpItemIterator * ) self )->iter;
PyObject_Del( self );
Index: global.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/python/global.cpp,v
retrieving revision 1.134
retrieving revision 1.135
diff -C2 -d -r1.134 -r1.135
*** global.cpp 27 Jun 2004 19:24:37 -0000 1.134
--- global.cpp 29 Jun 2004 11:36:41 -0000 1.135
***************
*** 279,284 ****
};
! /*!
! Gets the minutes of the current uo time
*/
static PyObject* wpTime_minute( PyObject* self, PyObject* args )
--- 279,286 ----
};
! /*
[...1117 lines suppressed...]
--- 1669,1672 ----
***************
*** 1431,1436 ****
{ "chariterator", wpAllCharsIterator, METH_NOARGS, "Returns an iterator for all chars in the world." },
{ "chars", wpChars, METH_VARARGS, "Returns a list of chars in a specific sector." },
- { "allcharsserials", wpAllCharsSerials, METH_VARARGS, "Returns a list of all chars serials" },
- { "allitemsserials", wpAllItemsSerials, METH_VARARGS, "Returns a list of all items serials" },
{ "landdata", wpLanddata, METH_VARARGS, "Returns the landdata information for a given tile stored on the server." },
{ "tiledata", wpTiledata, METH_VARARGS, "Returns the tiledata information for a given tile stored on the server." },
--- 1693,1696 ----
***************
*** 1441,1447 ****
{ "registerpackethook", wpRegisterPacketHook, METH_VARARGS, "Registers a packet hook." },
{ "registercommand", wpRegisterCommand, METH_VARARGS, "Registers a global command hook." },
- { "serveruptime", wpServerUptime, METH_NOARGS, "Returns uptime of server in seconds." },
{ "serverversion", wpServerVersion, METH_NOARGS, "Returns the server version string." },
- { "currentdatetime", wpCurrentdatetime, METH_NOARGS, "Returns the current real date/time" },
{ "isstarting", wpIsStarting, METH_NOARGS, "Returns if the server is in starting state" },
{ "isrunning", wpIsRunning, METH_NOARGS, "Returns if the server is in running state" },
--- 1701,1705 ----
|