From e3685faad0456828b4a2e19f97d5574f6d12cd9d Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 25 Mar 2006 09:22:10 +0000 Subject: (svn r4105) - Feature: Add proper ISO-8859-15 <> LOCALCODE conversion. As the mess that is makefile can't properly support it at the moment, it is only available for MACOSX. Windows doesn't need FS conversion and I have no idea about OS/2 so it's disabled for them. - CodeChange: Change the function GetCurrentLocale(). It returns the locale from some default environment-variables, plus a custom one defined as parameter. If all fail, it tries $LANG. --- functions.h | 1 + 1 file changed, 1 insertion(+) (limited to 'functions.h') diff --git a/functions.h b/functions.h index 2f325d911..cf558f3ae 100644 --- a/functions.h +++ b/functions.h @@ -250,6 +250,7 @@ void GameSizeChanged(void); bool FileExists(const char *filename); bool ReadLanguagePack(int index); void InitializeLanguagePacks(void); +const char *GetCurrentLocale(const char *param); void *ReadFileToMem(const char *filename, size_t *lenp, size_t maxsize); int GetLanguageList(char **languages, int max); -- cgit v1.2.3-54-g00ecf