1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef RY_STARTING_POINT_H
20 #define RY_STARTING_POINT_H
23 // strating point for new created character
24 namespace RYZOM_STARTING_POINT
28 // Matis start village
36 // zorai start village
44 // fyros start village
52 // tryker start village
54 aubermouth
= tryker_start
,
60 // New NewbieLand start village
65 Unknown
= NB_START_POINTS
69 * get the right string from the given enum value
70 * \param faber_type the TStartPoint value to convert
71 * \return the string associated to this enum number (UNKNOWN if the enum number not exist)
73 const std::string
& toString( TStartPoint start_point
);
76 * get the right TStartPoint from its string
77 * \param str the input string
78 * \return the TStartPoint associated to this string (UNKNOWN if the string cannot be interpreted)
80 TStartPoint
toStartPoint( const std::string
& str
);
83 #endif // RY_STARTING_POINT_H
84 /* End of starting_point.h */