Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18774
Modified Files:
ChangeLog basechar.h
Log Message:
fixes
Index: basechar.h
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/basechar.h,v
retrieving revision 1.91
retrieving revision 1.92
diff -C2 -d -r1.91 -r1.92
*** basechar.h 15 Oct 2004 14:38:22 -0000 1.91
--- basechar.h 16 Oct 2004 19:42:55 -0000 1.92
***************
*** 1,3 ****
! /*
* Wolfpack Emu (WP)
* UO Server Emulation Program
--- 1,3 ----
! /*
* Wolfpack Emu (WP)
* UO Server Emulation Program
***************
*** 388,392 ****
bool gender() const;
P_CHAR guarding() const;
! short hitpoints() const;
unsigned char hunger() const;
uint hungerTime() const;
--- 388,392 ----
bool gender() const;
P_CHAR guarding() const;
! unsigned short hitpoints() const;
unsigned char hunger() const;
uint hungerTime() const;
***************
*** 468,472 ****
void setGender( bool data );
void setGuarding( P_CHAR data );
! void setHitpoints( short data );
void setHunger( unsigned char data );
void setHungerTime( uint data );
--- 468,472 ----
void setGender( bool data );
void setGuarding( P_CHAR data );
! void setHitpoints( unsigned short data );
void setHunger( unsigned char data );
void setHungerTime( uint data );
***************
*** 1051,1060 ****
}
! inline short cBaseChar::hitpoints() const
{
return hitpoints_;
}
! inline void cBaseChar::setHitpoints( short data )
{
hitpoints_ = data;
--- 1051,1060 ----
}
! inline unsigned short cBaseChar::hitpoints() const
{
return hitpoints_;
}
! inline void cBaseChar::setHitpoints( unsigned short data )
{
hitpoints_ = data;
Index: ChangeLog
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/ChangeLog,v
retrieving revision 1.116
retrieving revision 1.117
diff -C2 -d -r1.116 -r1.117
*** ChangeLog 16 Oct 2004 18:19:40 -0000 1.116
--- ChangeLog 16 Oct 2004 19:42:55 -0000 1.117
***************
*** 59,62 ****
--- 59,63 ----
- Fixed command processing with command char . and body 0x3db.
- Added AI Monster_Mage.
+ - Hitpoints are now unsigned.
Wolfpack 12.9.11 Beta (26. September 2004)
|