mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(ui): implement Script_GetMovieResolution method
This commit is contained in:
parent
5a36ab2f7c
commit
92a3925797
3 changed files with 16 additions and 4 deletions
|
|
@ -31,16 +31,16 @@ FrameScript_Object::ScriptIx* CSimpleMovieFrame::GetScriptByName(const char* nam
|
|||
}
|
||||
|
||||
if (!SStrCmpI(name, "OnMovieFinished", STORM_MAX_STR)) {
|
||||
//return (int)this + 948;
|
||||
return &this->m_onMovieFinished;
|
||||
}
|
||||
|
||||
if (!SStrCmpI(name, "OnMovieShowSubtitle", STORM_MAX_STR)) {
|
||||
data.wrapper = "return function(self,text) %s end";
|
||||
//return (int)this + 956;
|
||||
return &this->m_onMovieShowSubtitle;
|
||||
}
|
||||
|
||||
if (!SStrCmpI(name, "OnMovieHideSubtitle", STORM_MAX_STR)) {
|
||||
//return (int)this + 964;
|
||||
return &this->m_onMovieHideSubtitle;
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue