Skip to content

Commit

Permalink
WITCHER: Add CGUINewControl SetHighliteOverrideObject lua method stub
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Nov 19, 2018
1 parent 4a7a506 commit 3ea8d0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/engines/witcher/lua/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ void LuaBindings::CGUINewControl::registerLuaBindings() {
LuaScriptMan.registerFunction("AddTextureLayerTransformable", &luaAddTextureLayerTransformable);
LuaScriptMan.registerFunction("PlayAnimation", &luaPlayAnimation);
LuaScriptMan.registerFunction("SetAlignmentVertical", &luaSetAlignmentVertical);
LuaScriptMan.registerFunction("SetHighliteOverrideObject", &luaSetHighliteOverrideObject);
LuaScriptMan.endRegisterClass();

LuaScriptMan.endRegister();
Expand Down Expand Up @@ -592,6 +593,11 @@ int LuaBindings::CGUINewControl::luaSetAlignmentVertical(lua_State *UNUSED(state
return 0;
}

int LuaBindings::CGUINewControl::luaSetHighliteOverrideObject(lua_State *UNUSED(state)) {
unimplementedFunction("SetHighliteOverrideObject", getLuaType());
return 0;
}

void LuaBindings::CPhysics::registerLuaBindings() {
LuaScriptMan.declareClass(getLuaType());

Expand Down
1 change: 1 addition & 0 deletions src/engines/witcher/lua/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class LuaBindings {
static int luaAddTextureLayerTransformable(lua_State *state);
static int luaPlayAnimation(lua_State *state);
static int luaSetAlignmentVertical(lua_State *state);
static int luaSetHighliteOverrideObject(lua_State *state);
};

class CGUIInGame {
Expand Down

0 comments on commit 3ea8d0d

Please sign in to comment.