GodMode9i/arm9/source/language.h
2021-11-22 21:02:13 -06:00

21 lines
426 B
C++

// Language functions.
#ifndef LANGUAGE_H
#define LANGUAGE_H
#include <string>
#define STRING(what, def) extern std::string STR_##what;
#include "language.inl"
#undef STRING
/**
* Initialize translations.
* Uses the language ID specified in settings.ui.language.
*
* Check the language variable outside of settings to determine
* the actual language in use.
*/
void langInit(bool reloading);
#endif /* LANGUAGE_H */