Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv25388
Modified Files:
prototypes.h wolfpack.cpp
Log Message:
Further Cleanups of wolfpack.cpp
Index: prototypes.h
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/prototypes.h,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** prototypes.h 3 Sep 2003 15:00:50 -0000 1.107
--- prototypes.h 3 Sep 2003 15:05:56 -0000 1.108
***************
*** 35,39 ****
class QString;
class cUOSocket;
- class Coord_cl;
QString hex2dec( const QString& value );
--- 35,38 ----
***************
*** 43,50 ****
void goldsfx( cUOSocket *socket, UINT16 amount, bool hearall );
- int getamount(P_CHAR pc, short id);
- void delequan(P_CHAR pc, short id, int amount, int *not_deleted = NULL);
void playmonstersound(P_CHAR monster, unsigned short id, int sfx);
- int DeleBankItem( P_PLAYER pc, unsigned short itemid, unsigned short color, int amt );
void reloadScripts();
--- 42,46 ----
Index: wolfpack.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/wolfpack.cpp,v
retrieving revision 1.452
retrieving revision 1.453
diff -C2 -d -r1.452 -r1.453
*** wolfpack.cpp 3 Sep 2003 15:00:51 -0000 1.452
--- wolfpack.cpp 3 Sep 2003 15:05:57 -0000 1.453
***************
*** 1043,1058 ****
fclose( file );
! }
!
! int DeleBankItem( P_PLAYER pc, unsigned short itemid, unsigned short color, int amt )
! {
! if( pc == NULL )
! return amt;
!
! P_ITEM pBank = pc->getBankBox();
!
! if( pBank )
! return pBank->DeleteAmount( amt, itemid, color );
! else
! return 0;
! }
--- 1043,1045 ----
fclose( file );
! }
\ No newline at end of file
|