Linux multi-monitor fullscreen support
[ryzomcore.git] / ryzom / common / src / game_share / starting_point.h
blob550166768a838ba517ec69b8ea030f04a0ee8fcd
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
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.
8 //
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
26 enum TStartPoint
28 // Matis start village
29 matis_start,
30 stalli = matis_start,
31 borea,
32 nistia,
33 rosilio,
34 miani,
36 // zorai start village
37 zorai_start,
38 qai_lo = zorai_start,
39 sheng_wo,
40 men_xing,
41 koi_zun,
42 yin_piang,
44 // fyros start village
45 fyros_start,
46 aegus = fyros_start,
47 kaemon,
48 sekovix,
49 phyxon,
50 galemus,
52 // tryker start village
53 tryker_start,
54 aubermouth = tryker_start,
55 barkdell,
56 hobwelly,
57 waverton,
58 dingleton,
60 // New NewbieLand start village
61 starting_city,
64 NB_START_POINTS ,
65 Unknown = NB_START_POINTS
68 /**
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 );
75 /**
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 */