mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
@ -3934,18 +3934,11 @@ PF_CONSOLE_GROUP( Movie ) // Defines a main command group
|
||||
PF_CONSOLE_CMD( Movie,
|
||||
Start,
|
||||
"string filename",
|
||||
"Start of movie with this filename" )
|
||||
"Start movie with this filename" )
|
||||
{
|
||||
char* filename = params[0];
|
||||
plMovieMsg* mov = new plMovieMsg(filename, plMovieMsg::kStart);
|
||||
|
||||
//#define MF_TEST_MOVIECALLBACKS
|
||||
#ifdef MF_TEST_MOVIECALLBACKS
|
||||
plMovieMsg* cb = new plMovieMsg("avi/intro0.bik", plMovieMsg::kStart);
|
||||
mov->AddCallback(cb);
|
||||
mov->SetCmd(mov->GetCmd() | plMovieMsg::kAddCallbacks);
|
||||
#endif // MF_TEST_MOVIECALLBACKS
|
||||
|
||||
mov->Send();
|
||||
|
||||
PrintStringF(PrintString, "%s now playing", filename);
|
||||
|
Reference in New Issue
Block a user