|
|
@ -1282,6 +1282,7 @@ static bool isMapLoaded() { return Core::getInstance().isMapLoaded(); }
|
|
|
|
|
|
|
|
|
|
|
|
static std::string df2utf(std::string s) { return DF2UTF(s); }
|
|
|
|
static std::string df2utf(std::string s) { return DF2UTF(s); }
|
|
|
|
static std::string utf2df(std::string s) { return UTF2DF(s); }
|
|
|
|
static std::string utf2df(std::string s) { return UTF2DF(s); }
|
|
|
|
|
|
|
|
static std::string df2console(std::string s) { return DF2CONSOLE(s); }
|
|
|
|
|
|
|
|
|
|
|
|
static const LuaWrapper::FunctionReg dfhack_module[] = {
|
|
|
|
static const LuaWrapper::FunctionReg dfhack_module[] = {
|
|
|
|
WRAP(getOSType),
|
|
|
|
WRAP(getOSType),
|
|
|
@ -1294,6 +1295,7 @@ static const LuaWrapper::FunctionReg dfhack_module[] = {
|
|
|
|
WRAPM(Translation, TranslateName),
|
|
|
|
WRAPM(Translation, TranslateName),
|
|
|
|
WRAP(df2utf),
|
|
|
|
WRAP(df2utf),
|
|
|
|
WRAP(utf2df),
|
|
|
|
WRAP(utf2df),
|
|
|
|
|
|
|
|
WRAP(df2console),
|
|
|
|
{ NULL, NULL }
|
|
|
|
{ NULL, NULL }
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|