Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27088
Modified Files:
corpse.cpp
Log Message:
Corrected documentation of corpse objects.
Index: corpse.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/corpse.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** corpse.cpp 5 Jul 2004 18:33:20 -0000 1.57
--- corpse.cpp 7 Jul 2004 13:07:38 -0000 1.58
***************
*** 265,297 ****
{
/*
! \property corpse.bodyid The body if of the dead creature.
*/
SET_INT_PROPERTY( "bodyid", bodyId_ )
else
/*
! \property corpse.hairstyle The id of the hairstyle displayed on the corpse.
For no hair use 0.
*/
SET_INT_PROPERTY( "hairstyle", hairStyle_ )
else
/*
! \property corpse.haircolor The color of the hair displayed on the corpse.
*/
SET_INT_PROPERTY( "haircolor", hairColor_ )
else
/*
! \property corpse.beardstyle The id of the beardstyle displayed on the corpse.
For no beard use 0.
*/
SET_INT_PROPERTY( "beardstyle", beardStyle_ )
else
/*
! \property corpse.beardcolor The color of the beard displayed on the corpse.
*/
SET_INT_PROPERTY( "beardcolor", beardColor_ )
/*
! \property corpse.murderer The character who killed this creature. May be None if the
character has been deleted or the owner of this corpse accidently died.
*/
else if (name == "murderer")
--- 265,303 ----
{
/*
! \property item.bodyid The body if of the dead creature.
! This property only exists for corpses.
*/
SET_INT_PROPERTY( "bodyid", bodyId_ )
else
/*
! \property item.hairstyle The id of the hairstyle displayed on the corpse.
For no hair use 0.
+ This property only exists for corpses.
*/
SET_INT_PROPERTY( "hairstyle", hairStyle_ )
else
/*
! \property item.haircolor The color of the hair displayed on the corpse.
! This property only exists for corpses.
*/
SET_INT_PROPERTY( "haircolor", hairColor_ )
else
/*
! \property item.beardstyle The id of the beardstyle displayed on the corpse.
For no beard use 0.
+ This property only exists for corpses.
*/
SET_INT_PROPERTY( "beardstyle", beardStyle_ )
else
/*
! \property item.beardcolor The color of the beard displayed on the corpse.
! This property only exists for corpses.
*/
SET_INT_PROPERTY( "beardcolor", beardColor_ )
/*
! \property item.murderer The character who killed this creature. May be None if the
character has been deleted or the owner of this corpse accidently died.
+ This property only exists for corpses.
*/
else if (name == "murderer")
***************
*** 305,310 ****
}
/*
! \property corpse.murdertime The time when the murder was comitted in seconds
since the epoch (UNIX timestamp).
*/
else
--- 311,317 ----
}
/*
! \property item.murdertime The time when the murder was comitted in seconds
since the epoch (UNIX timestamp).
+ This property only exists for corpses.
*/
else
***************
*** 312,316 ****
/*
! \property corpse.direction The direction this corpse is facing.
*/
else
--- 319,324 ----
/*
! \property item.direction The direction this corpse is facing.
! This property only exists for corpses.
*/
else
***************
*** 318,323 ****
/*
! \property corpse.charbaseid The npc definition id of the murdererd creature.
This is used to derive the carve section for this corpse.
*/
else
--- 326,332 ----
/*
! \property item.charbaseid The npc definition id of the murdererd creature.
This is used to derive the carve section for this corpse.
+ This property only exists for corpses.
*/
else
|