Files
rathena/src/common/msg_conf.h
akinari1087 bc7f63b3b5 Song and Dance timers now correctly update in the instance of Dissonance/Ugly Dance cell switches - Fixes bugreport:6606
Adding display enabled language in @langtype
Speed up language check and ignore case

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-12 23:43:29 +00:00

39 lines
880 B
C

// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef MSG_CONF_H
#define MSG_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
enum lang_types {
LANG_RUS = 0x01,
LANG_SPN = 0x02,
LANG_GRM = 0x04,
LANG_CHN = 0x08,
LANG_MAL = 0x10,
LANG_IND = 0x20,
LANG_FRN = 0x40,
LANG_MAX
};
// What languages are enabled? bitmask FF mean all
//#define LANG_ENABLE 0xFF
#define LANG_ENABLE 0x00
const char* _msg_txt(int msg_number,int size, char ** msg_table);
int _msg_config_read(const char* cfgName,int size, char ** msg_table);
void _do_final_msg(int size, char ** msg_table);
int msg_langstr2langtype(char * langtype);
const char* msg_langtype2langstr(int langtype);
//verify that the choosen langtype is enable
int msg_checklangtype(int lang, bool display);
#ifdef __cplusplus
}
#endif
#endif /* MSG_CONF_H */