Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CommonSkills.h

00001 /*
00002  * CommonSkills.h -- class interface for common skills
00003  * Copyright (C) 2003  Eric Lemings <elemings@users.sourceforge.net>
00004  *
00005  * This software is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This software is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this software; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00018  * 02111-1307, USA
00019  *
00020  * RCS: $Id: CommonSkills.h,v 1.3 2003/04/18 01:41:07 elemings Exp $
00021  */
00022 
00023 #ifdef __cplusplus
00024 
00025 #  ifndef OGS_SKILLS_COMMON_SKILLS_H
00026 #    define OGS_SKILLS_COMMON_SKILLS_H
00027 
00028 #    include <ogs/core/Skill.h>
00029 #    include <ogs/skills/Namespace.h>
00030 #    include <ogs/skills/SkillFactory.h>
00031 
00032 OGS_BEGIN_SKILLS_NAMESPACE
00033 
00037 struct CommonSkills: public SkillFactory {
00039   static const ogs::core::Skill::Type APPRAISE = 3;
00040 
00042   static const ogs::core::Skill::Type BLUFF = 5;
00043 
00045   static const ogs::core::Skill::Type CLIMB = 6;
00046 
00048   static const ogs::core::Skill::Type CRAFT = 8;
00049 
00051   static const ogs::core::Skill::Type DIPLOMACY = 10;
00052 
00054   static const ogs::core::Skill::Type DISABLE_DEVICE = 11;
00055 
00057   static const ogs::core::Skill::Type DISGUISE = 12;
00058 
00060   static const ogs::core::Skill::Type ESCAPE_ARTIST = 13;
00061 
00063   static const ogs::core::Skill::Type FORGERY = 14;
00064 
00066   static const ogs::core::Skill::Type GATHER_INFORMATION = 15;
00067 
00069   static const ogs::core::Skill::Type HANDLE_ANIMAL = 16;
00070 
00072   static const ogs::core::Skill::Type HIDE = 18;
00073 
00075   static const ogs::core::Skill::Type INTIMIDATE = 20;
00076 
00078   static const ogs::core::Skill::Type JUMP = 22;
00079 
00081   static const ogs::core::Skill::Type KNOWLEDGE = 23;
00082 
00084   static const ogs::core::Skill::Type LISTEN = 27;
00085 
00087   static const ogs::core::Skill::Type MOVE_SILENTLY = 28;
00088 
00090   static const ogs::core::Skill::Type PROFESSION = 32;
00091 
00093   static const ogs::core::Skill::Type RIDE = 34;
00094 
00096   static const ogs::core::Skill::Type SEARCH = 36;
00097 
00099   static const ogs::core::Skill::Type SENSE_MOTIVE = 37;
00100 
00102   static const ogs::core::Skill::Type SPEAK_LANGUAGE = 38;
00103 
00105   static const ogs::core::Skill::Type SPOT = 40;
00106 
00108   static const ogs::core::Skill::Type SWIM = 41;
00109 
00111   static const ogs::core::Skill::Type TUMBLE = 42;
00112 
00113   ogs::core::Skill*
00114   createSkill (ogs::core::Skill::Type skillType,
00115                ogs::core::Skill::Points cclassPoints = 0) const;
00116 };
00117 
00118 OGS_END_SKILLS_NAMESPACE
00119 
00120 #  endif /* !defined OGS_SKILLS_COMMON_SKILLS_H */
00121 
00122 #endif /* defined __cplusplus */
00123 

Generated on Sun Apr 20 03:36:15 2003 for Open Gaming System (OGS) by doxygen1.3