[ogs-changes] dist/c++/ogs/core/details Maturity.h,1.1,1.2
Status: Alpha
Brought to you by:
elemings
From: <ele...@us...> - 2003-03-29 02:11:07
|
Update of /cvsroot/ogs/dist/c++/ogs/core/details In directory sc8-pr-cvs1:/tmp/cvs-serv24985/core/details Modified Files: Maturity.h Log Message: See C++ ChangeLog (Mar 28) for details. Index: Maturity.h =================================================================== RCS file: /cvsroot/ogs/dist/c++/ogs/core/details/Maturity.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Maturity.h 23 Mar 2003 22:14:36 -0000 1.1 --- Maturity.h 29 Mar 2003 02:10:33 -0000 1.2 *************** *** 23,33 **** #ifdef __cplusplus ! # ifndef OGS_CORE_AGES_H ! # define OGS_CORE_AGES_H # include <ogs/core/Die.h> ! # include <ogs/core/Namespace.h> ! OGS_BEGIN_CORE_NAMESPACE /** --- 23,33 ---- #ifdef __cplusplus ! # ifndef OGS_CORE_MATURITY_H ! # define OGS_CORE_MATURITY_H # include <ogs/core/Die.h> ! # include <ogs/core/details/Namespace.h> ! OGS_BEGIN_CORE_DETAILS_NAMESPACE /** *************** *** 99,114 **** /** - * Roll a random starting age for a player character (PC). A random - * starting age is determined by adding the die roll for starting - * ages to the average adult age. - * - * @return Random starting age modifier. - */ - inline unsigned Ages::rollStartingAge () const { - const Die& startingAge = getStartingAge (); - return (getAdultAge () + startingAge.rollValue ()); - } - - /** * Roll a random maximum age for a player character (PC). A random * maximum age is determined by adding the die roll for maximum ages --- 99,102 ---- *************** *** 117,128 **** * @return Random maximum age modifier. */ ! inline unsigned Ages::rollMaximumAge () const { const Die& maximumAge = getMaximumAge (); return (getVenerableAge () + maximumAge.rollValue ()); } ! OGS_END_CORE_NAMESPACE ! # endif /* !defined OGS_CORE_AGES_H */ #endif /* defined __cplusplus */ --- 105,116 ---- * @return Random maximum age modifier. */ ! inline unsigned Maturity::rollMaximumAge () const { const Die& maximumAge = getMaximumAge (); return (getVenerableAge () + maximumAge.rollValue ()); } ! OGS_END_CORE_DETAILS_NAMESPACE ! # endif /* !defined OGS_CORE_MATURITY_H */ #endif /* defined __cplusplus */ |