Expose Gui::getAny* to Lua

develop
lethosor 2017-06-08 11:21:30 -04:00
parent acf50b755f
commit 8d23660d55
1 changed files with 4 additions and 0 deletions

@ -1474,6 +1474,10 @@ static const LuaWrapper::FunctionReg dfhack_gui_module[] = {
WRAPM(Gui, getSelectedItem), WRAPM(Gui, getSelectedItem),
WRAPM(Gui, getSelectedBuilding), WRAPM(Gui, getSelectedBuilding),
WRAPM(Gui, getSelectedPlant), WRAPM(Gui, getSelectedPlant),
WRAPM(Gui, getAnyUnit),
WRAPM(Gui, getAnyItem),
WRAPM(Gui, getAnyBuilding),
WRAPM(Gui, getAnyPlant),
WRAPM(Gui, writeToGamelog), WRAPM(Gui, writeToGamelog),
WRAPM(Gui, makeAnnouncement), WRAPM(Gui, makeAnnouncement),
WRAPM(Gui, addCombatReport), WRAPM(Gui, addCombatReport),