Since we probably won't have anything like the original BS2 launcher menu,

make the 'C' key run the credits. I haven't yet implemented the credits
function, but it does play the music at least.

svn-id: r10366
This commit is contained in:
Torbjörn Andersson 2003-09-23 06:27:58 +00:00
parent 0ac7aa0671
commit f8591911ab
3 changed files with 75 additions and 26 deletions

View file

@ -27,6 +27,7 @@
#include "bs2/build_display.h"
#include "bs2/console.h"
#include "bs2/controls.h"
#include "bs2/credits.h"
#include "bs2/debug.h"
#include "bs2/events.h"
#include "bs2/header.h"
@ -403,6 +404,8 @@ void Sword2State::go() {
} else if (toupper(c) == 'P') {
// 'P' while not paused = pause!
PauseGame();
} else if (toupper(c) == 'C' && _gameId == GID_SWORD2) {
FN_play_credits(NULL);
}
#ifdef _SWORD2_DEBUG
else if (toupper(c) == 'S') {