[wpdev-commits] wolfpack wpdefmanager.cpp,1.69,1.70
Brought to you by:
rip,
thiagocorrea
|
From: <dar...@us...> - 2003-11-23 03:53:11
|
Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv24268
Modified Files:
wpdefmanager.cpp
Log Message:
Added an option to wolfpack.xml to specify which definition index file should be loaded (Default still is 'definitions.xml'). Also added an option to specify the python search path without the use of python.xml with the last commit.
Index: wpdefmanager.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/wpdefmanager.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** wpdefmanager.cpp 23 Nov 2003 03:46:22 -0000 1.69
--- wpdefmanager.cpp 23 Nov 2003 03:53:08 -0000 1.70
***************
*** 49,52 ****
--- 49,53 ----
#include "world.h"
#include "skills.h"
+ #include "srvparams.h"
#include "basechar.h"
#include "network.h"
***************
*** 317,325 ****
void WPDefManager::load( void )
{
Console::instance()->PrepareProgress( "Loading Definitions" );
! ImportSections( "definitions.xml" );
- unsigned int i = 0;
while( i < impl->imports.size() )
{
--- 318,327 ----
void WPDefManager::load( void )
{
+ unsigned int i = 0;
+
Console::instance()->PrepareProgress( "Loading Definitions" );
! impl->imports = QStringList::split( ";", SrvParams->getString( "General", "Definitions", "definitions.xml", true ) );
while( i < impl->imports.size() )
{
|