[ogs-changes] dist/c++/ogs/creatures/humanoids Dwarf.h,1.1,1.2 Elf.h,1.1,1.2 Gnome.h,1.1,1.2 HalfElf
Status: Alpha
Brought to you by:
elemings
|
From: <ele...@us...> - 2003-04-04 20:23:21
|
Update of /cvsroot/ogs/dist/c++/ogs/creatures/humanoids
In directory sc8-pr-cvs1:/tmp/cvs-serv9450/c++/ogs/creatures/humanoids
Modified Files:
Dwarf.h Elf.h Gnome.h HalfElf.h HalfOrc.h Halfling.h
Log Message:
See ChangeLog files (Apr 3-4) for details.
Index: Dwarf.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/creatures/humanoids/Dwarf.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Dwarf.h 23 Mar 2003 22:14:36 -0000 1.1
--- Dwarf.h 4 Apr 2003 20:22:45 -0000 1.2
***************
*** 67,71 ****
unsigned getAdultAge () const;
- const Die& getStartingAge () const;
unsigned getMiddleAge () const;
unsigned getOldAge () const;
--- 67,70 ----
***************
*** 74,80 ****
private:
- static Die _startingAge;
static Die _maximumAge;
-
};
--- 73,77 ----
***************
*** 87,100 ****
inline unsigned Dwarf::getAdultAge () const {
return (40);
- }
-
- /**
- * Access the die used to roll a random starting age for a PC. The die
- * used to roll starting ages for dwarves is 3d6.
- *
- * @return 3d6
- */
- inline const Die& Dwarf::getStartingAge () const {
- return (_startingAge);
}
--- 84,87 ----
Index: Elf.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/creatures/humanoids/Elf.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Elf.h 23 Mar 2003 22:14:36 -0000 1.1
--- Elf.h 4 Apr 2003 20:22:45 -0000 1.2
***************
*** 66,70 ****
unsigned getAdultAge () const;
- const Die& getStartingAge () const;
unsigned getMiddleAge () const;
unsigned getOldAge () const;
--- 66,69 ----
***************
*** 73,79 ****
private:
- static Die _startingAge;
static Die _maximumAge;
-
};
--- 72,76 ----
***************
*** 86,99 ****
inline unsigned Elf::getAdultAge () const {
return (110);
- }
-
- /**
- * Access the die used to roll a random starting age for a PC. The die
- * used to roll starting ages for elves is 4d6.
- *
- * @return 4d6
- */
- inline const Die& Elf::getStartingAge () const {
- return (_startingAge);
}
--- 83,86 ----
Index: Gnome.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/creatures/humanoids/Gnome.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Gnome.h 23 Mar 2003 22:14:36 -0000 1.1
--- Gnome.h 4 Apr 2003 20:22:45 -0000 1.2
***************
*** 43,47 ****
unsigned getAdultAge () const;
- const Die& getStartingAge () const;
unsigned getMiddleAge () const;
unsigned getOldAge () const;
--- 43,46 ----
***************
*** 49,58 ****
const Die& getMaximumAge () const;
- protected:
-
private:
- static Die _startingAge;
static Die _maximumAge;
-
};
--- 48,53 ----
***************
*** 65,78 ****
inline unsigned Gnome::getAdultAge () const {
return (40);
- }
-
- /**
- * Access the die used to roll a random starting age for a PC. The die
- * used to roll starting ages for gnomes is 4d6.
- *
- * @return 4d6
- */
- inline const Die& Gnome::getStartingAge () const {
- return (_startingAge);
}
--- 60,63 ----
Index: HalfElf.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/creatures/humanoids/HalfElf.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HalfElf.h 23 Mar 2003 22:14:36 -0000 1.1
--- HalfElf.h 4 Apr 2003 20:22:45 -0000 1.2
***************
*** 42,46 ****
unsigned getAdultAge () const;
- const Die& getStartingAge () const;
unsigned getMiddleAge () const;
unsigned getOldAge () const;
--- 42,45 ----
***************
*** 48,57 ****
const Die& getMaximumAge () const;
- protected:
-
private:
- static Die _startingAge;
static Die _maximumAge;
-
};
--- 47,52 ----
***************
*** 64,77 ****
inline unsigned HalfElf::getAdultAge () const {
return (20);
- }
-
- /**
- * Access the die used to roll a random starting age for a PC. The die
- * used to roll starting ages for half-elves is 1d6.
- *
- * @return 1d6
- */
- inline const Die& HalfElf::getStartingAge () const {
- return (_startingAge);
}
--- 59,62 ----
Index: HalfOrc.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/creatures/humanoids/HalfOrc.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HalfOrc.h 23 Mar 2003 22:14:36 -0000 1.1
--- HalfOrc.h 4 Apr 2003 20:22:45 -0000 1.2
***************
*** 33,37 ****
/**
! * A progeny of a human and an orc.
*
* Half-orcs typically exist in fantasy campaign settings.
--- 33,37 ----
/**
! * A progeny of a human and an orc. TODO: Finish this description.
*
* Half-orcs typically exist in fantasy campaign settings.
***************
*** 42,46 ****
unsigned getAdultAge () const;
- const Die& getStartingAge () const;
unsigned getMiddleAge () const;
unsigned getOldAge () const;
--- 42,45 ----
***************
*** 48,57 ****
const Die& getMaximumAge () const;
- protected:
-
private:
- static Die _startingAge;
static Die _maximumAge;
-
};
--- 47,52 ----
***************
*** 64,77 ****
inline unsigned HalfOrc::getAdultAge () const {
return (14);
- }
-
- /**
- * Access the die used to roll a random starting age for a PC. The die
- * used to roll starting ages for half-orcs is 1d4.
- *
- * @return 1d4
- */
- inline const Die& HalfOrc::getStartingAge () const {
- return (_startingAge);
}
--- 59,62 ----
Index: Halfling.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/creatures/humanoids/Halfling.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Halfling.h 23 Mar 2003 22:14:36 -0000 1.1
--- Halfling.h 4 Apr 2003 20:22:45 -0000 1.2
***************
*** 42,46 ****
unsigned getAdultAge () const;
- const Die& getStartingAge () const;
unsigned getMiddleAge () const;
unsigned getOldAge () const;
--- 42,45 ----
***************
*** 49,55 ****
private:
- static Die _startingAge;
static Die _maximumAge;
-
};
--- 48,52 ----
***************
*** 62,75 ****
inline unsigned Halfling::getAdultAge () const {
return (20);
- }
-
- /**
- * Access the die used to roll a random starting age for a PC. The die
- * used to roll starting ages for halflings is 2d4.
- *
- * @return 2d4
- */
- inline const Die& Halfling::getStartingAge () const {
- return (_startingAge);
}
--- 59,62 ----
|