|
|
@ -870,6 +870,9 @@ hsBool plClient::MsgReceive(plMessage* msg) |
|
|
|
//============================================================================
|
|
|
|
//============================================================================
|
|
|
|
hsBool plClient::IHandleMovieMsg(plMovieMsg* mov) |
|
|
|
hsBool plClient::IHandleMovieMsg(plMovieMsg* mov) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
if (mov != nullptr) |
|
|
|
|
|
|
|
hsStatusMessageF("MovieMsg received 0x%x", mov->GetCmd()); |
|
|
|
|
|
|
|
|
|
|
|
if( !(mov->GetFileName() && *mov->GetFileName()) ) |
|
|
|
if( !(mov->GetFileName() && *mov->GetFileName()) ) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
@ -1517,6 +1520,8 @@ hsBool plClient::StartInit() |
|
|
|
|
|
|
|
|
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plEvalMsg::Index(), pLMod->GetKey()); |
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plEvalMsg::Index(), pLMod->GetKey()); |
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plAudioSysMsg::Index(), pLMod->GetKey()); |
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plAudioSysMsg::Index(), pLMod->GetKey()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Init the movie player handler
|
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plMovieMsg::Index(), GetKey()); |
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plMovieMsg::Index(), GetKey()); |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
@ -1549,7 +1554,6 @@ hsBool plClient::StartInit() |
|
|
|
|
|
|
|
|
|
|
|
IPlayIntroMovie("avi/intro1.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75); |
|
|
|
IPlayIntroMovie("avi/intro1.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75); |
|
|
|
IPlayIntroMovie("avi/EventIntro.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75); |
|
|
|
IPlayIntroMovie("avi/EventIntro.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75); |
|
|
|
IPlayIntroMovie("avi/URULiveIntro.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plSynchedObject::PushSynchDisabled(false); // enable dirty tracking
|
|
|
|
plSynchedObject::PushSynchDisabled(false); // enable dirty tracking
|
|
|
|
|
|
|
|
|
|
|
|