mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
feat(ui): add stubs for CSimpleMovieFrame::StartMovie method
This commit is contained in:
parent
92a3925797
commit
967408b2e7
3 changed files with 27 additions and 3 deletions
|
|
@ -36,8 +36,7 @@ int32_t CSimpleMovieFrame_StopMovie(lua_State* L) {
|
|||
int32_t CSimpleMovieFrame_EnableSubtitles(lua_State* L) {
|
||||
auto type = CSimpleMovieFrame::GetObjectType();
|
||||
auto movieFrame = static_cast<CSimpleMovieFrame*>(FrameScript_GetObjectThis(L, type));
|
||||
bool enabled = StringToBOOL(L, 2, 1);
|
||||
// *(movieFrame + 680) = enabled;
|
||||
movieFrame->m_enableSubtitles = StringToBOOL(L, 2, 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue