mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Delay intro movie playback until after display init.
- Fixes stretched cursor during movie playback.
This commit is contained in:
@ -1436,10 +1436,6 @@ bool plClient::StartInit()
|
||||
|
||||
plgAudioSys::Activate(true);
|
||||
|
||||
IPlayIntroMovie("avi/CyanWorlds.avi", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75);
|
||||
if( GetDone() ) return false;
|
||||
plgDispatch::Dispatch()->RegisterForExactType(plMovieMsg::Index(), GetKey());
|
||||
|
||||
//
|
||||
// Init Net before loading things
|
||||
//
|
||||
@ -1453,7 +1449,7 @@ bool plClient::StartInit()
|
||||
pModMsg2->SetCmd(plCmdIfaceModMsg::kAdd);
|
||||
plgDispatch::MsgSend(pModMsg2);
|
||||
|
||||
// create new the virtual camera
|
||||
// create new virtual camera
|
||||
fNewCamera = new plVirtualCam1;
|
||||
fNewCamera->RegisterAs( kVirtualCamera1_KEY );
|
||||
fNewCamera->Init();
|
||||
@ -1464,6 +1460,10 @@ bool plClient::StartInit()
|
||||
plMouseDevice::Instance()->SetDisplayResolution((float)fPipeline->Width(), (float)fPipeline->Height());
|
||||
plInputManager::SetRecenterMouse(false);
|
||||
|
||||
IPlayIntroMovie("avi/CyanWorlds.webm", 0.f, 0.f, 0.f, 1.f, 1.f, 0.75);
|
||||
if(GetDone()) return false;
|
||||
plgDispatch::Dispatch()->RegisterForExactType(plMovieMsg::Index(), GetKey());
|
||||
|
||||
// create the listener for the audio system:
|
||||
plListener* pLMod = new plListener;
|
||||
pLMod->RegisterAs(kListenerMod_KEY );
|
||||
|
Reference in New Issue
Block a user