43 #ifdef NO_ACCENTED_CHARS
44 char CControler::unaccent(
char AChar)
const
46 static const char* from =
"àâÀÂéèëêÉÈËÊîïÎÏôÔùûÙÛ";
47 static const char* to =
"aaAAeeeeEEEEiiIIoOuuUU";
49 char* pos = strchr(from, AChar);
52 return * (to - from + pos);
56 #endif // NO_ACCENTED_CHARS
60 string result = AString;
62 #ifdef NO_ACCENTED_CHARS
63 for (
unsigned int i=0; i<result.length(); ++i)
64 result[i] = unaccent(result[i]);
66 #endif // NO_ACCENTED_CHARS
89 s<<ANumber1<<
" "<<ANumber2<<AMessage;
94 const string & AMessage2)
97 s<<AMessage1<<ANumber<<AMessage2;
116 view -> unproject(x,y,res);
119 aimed_pos -> setLookAt(0,res[0]);
120 aimed_pos -> setLookAt(1,res[1]);
121 aimed_pos -> setLookAt(2,res[2]);