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