src/menucode.cpp
// luaSetCurrentLanguage *******
// a function used for changing the current mouse position

luaSetCurrentLanguage
a function used for changing the current mouse position
luaSetCurrentLanguage a function used for changing the current mouse position
int luaSetCurrentLanguage(lua_State* lstate)
{
	char* langName;
	int paramNum=lua_gettop(lstate);
	langName=(char*)(lua_tostring(lstate, 1));
	if (strcmp(langName, "spanish")==0) {
		currentLanguage=language_spanish;
	}else if (strcmp(langName, "english")==0) {
		currentLanguage=language_english;
	}else{
	}
	scriptMan.setCurrentLanguageInLua(currentLanguage);
	logger.logLine("Language been switched to %s", true, false, true,
		langName);
	return 0;
}
int luaSetCurrentLanguage ( lua_State * lstate ) { char * langName ; int paramNum = lua_gettop ( lstate ) ; langName = ( char * ) ( lua_tostring ( lstate , 1 ) ) ; if ( strcmp ( langName , " " ) == 0 ) { currentLanguage = language_spanish ; } else if ( strcmp ( langName , " " ) == 0 ) { currentLanguage = language_english ; } else { } scriptMan . setCurrentLanguageInLua ( currentLanguage ) ; logger . logLine ( " " , true , false , true , langName ) ; return 0 ; }
luaSetCurrentLanguage 
a function used for changing the current mouse position
luaSetCurrentLanguage a function used for changing the current mouse position
// get the new language name
 // nothing to do if lang name is not specified correctly
 // set the language in lua
 // log it
 // there are no return values
