Update of /cvsroot/ogs/dist/c++/ogs/skills
In directory sc8-pr-cvs1:/tmp/cvs-serv24985/skills
Modified Files:
Diplomacy.h Spot.h
Log Message:
See C++ ChangeLog (Mar 28) for details.
Index: Diplomacy.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/skills/Diplomacy.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Diplomacy.h 7 Jan 2003 07:41:34 -0000 1.1
--- Diplomacy.h 29 Mar 2003 02:10:39 -0000 1.2
***************
*** 26,31 ****
# define OGS_SKILLS_DIPLOMACY_H
# include <ogs/core/Skill.h>
- # include <ogs/core/abilities/Charisma.h>
# include <ogs/skills/Namespace.h>
--- 26,31 ----
# define OGS_SKILLS_DIPLOMACY_H
+ # include <ogs/core/Ability.h>
# include <ogs/core/Skill.h>
# include <ogs/skills/Namespace.h>
***************
*** 37,41 ****
class Diplomacy: public ogs::core::Skill {
public:
! ogs::support::Class getKeyAbility () const;
bool useUntrained () const;
bool useArmorCheckPenalty () const;
--- 37,41 ----
class Diplomacy: public ogs::core::Skill {
public:
! ogs::core::Ability::Type getKeyAbility () const;
bool useUntrained () const;
bool useArmorCheckPenalty () const;
***************
*** 49,56 ****
* @return Charisma
*/
! inline ogs::support::Class Diplomacy::getKeyAbility () const {
! using ogs::support::Class;
! using ogs::core::abilities::Charisma;
! return (Class::getClass <Charisma> ());
}
--- 49,55 ----
* @return Charisma
*/
! inline ogs::core::Ability::Type
! Diplomacy::getKeyAbility () const {
! return (ogs::core::Ability::CHA);
}
Index: Spot.h
===================================================================
RCS file: /cvsroot/ogs/dist/c++/ogs/skills/Spot.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Spot.h 5 Feb 2003 06:01:29 -0000 1.2
--- Spot.h 29 Mar 2003 02:10:39 -0000 1.3
***************
*** 28,32 ****
# include <ogs/core/Modifier.h>
# include <ogs/core/Skill.h>
! # include <ogs/core/abilities/Wisdom.h>
# include <ogs/skills/Namespace.h>
--- 28,32 ----
# include <ogs/core/Modifier.h>
# include <ogs/core/Skill.h>
! # include <ogs/core/Ability.h>
# include <ogs/skills/Namespace.h>
***************
*** 38,42 ****
class Spot: public ogs::core::Skill {
public:
! ogs::support::Class getKeyAbility () const;
bool useUntrained () const;
bool useArmorCheckPenalty () const;
--- 38,42 ----
class Spot: public ogs::core::Skill {
public:
! ogs::core::Ability::Type getKeyAbility () const;
bool useUntrained () const;
bool useArmorCheckPenalty () const;
***************
*** 61,68 ****
* @return Wisdom
*/
! inline ogs::support::Class Spot::getKeyAbility () const {
! using ogs::support::Class;
! using ogs::core::abilities::Wisdom;
! return (Class::getClass <Wisdom> ());
}
--- 61,67 ----
* @return Wisdom
*/
! inline ogs::core::Ability::Type
! Spot::getKeyAbility () const {
! return (ogs::core::Ability::WIS);
}
|