Do not show the intelligence screen after playing a mission update FMV anymore. This was previously done because the
FMV's were missing. A message "New Intelligence Report" is shown to remind people who abort the movie that they can see it again in the intelligence screen. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6253 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
03c11abefb
commit
be9e1706cd
|
@ -1466,29 +1466,20 @@ void resetIntelligencePauseState(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Play an intelligence message.
|
||||||
// play this message immediately, but definitely donot tell the intelligence screen to start
|
* This function is used from scripts to give updates to the mission.
|
||||||
|
*/
|
||||||
void displayImmediateMessage(MESSAGE *psMessage)
|
void displayImmediateMessage(MESSAGE *psMessage)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
This has to be changed to support a script calling a message in the intellegence screen
|
This has to be changed to support a script calling a message in the intellegence screen
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NO_VIDEO
|
|
||||||
psCurrentMsg = psMessage;
|
psCurrentMsg = psMessage;
|
||||||
/* so we lied about definately not starting the intelligence screen */
|
|
||||||
addIntelScreen();
|
|
||||||
|
|
||||||
// Using software cursors (when on) for these menus due to a bug in SDL's SDL_ShowCursor()
|
|
||||||
pie_SetMouse(CURSOR_DEFAULT, war_GetColouredCursor());
|
|
||||||
|
|
||||||
/* addIntelScreen() (via addIntelMap()) actually starts
|
|
||||||
* playing psCurrentMsg automatically */
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
StartMessageSequences(psMessage,true);
|
StartMessageSequences(psMessage,true);
|
||||||
|
// remind the player that the message can be seen again from
|
||||||
|
// the intelligence screen
|
||||||
|
addConsoleMessage(_("New Intelligence Report"), CENTRE_JUSTIFY, SYSTEM_MESSAGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue