コード例 #1
0
ファイル: Sound_PC.cpp プロジェクト: carriercomm/openfodder
cSound_PC::cSound_PC() {

	mSound = false;
	mMusicPlaying = 0;

	devicePrepare();

	for (unsigned int x = 0; x < 0x3C; ++x) {
		dword_42320[x].mBuffer = 0;
		dword_42320[x].mCleanup = true;
		dword_42410[x].mBuffer = 0;
		dword_42410[x].mCleanup = true;
		dword_42500[x].mBuffer = 0;
		dword_42500[x].mCleanup = true;
		dword_425F0[x].mBuffer = 0;
		dword_425F0[x].mCleanup = true;
		dword_426E0[x].mBuffer = 0;
		dword_426E0[x].mCleanup = true;
	}

	word_42316[0] = dword_42320;	// Jun
	word_42316[1] = dword_42410;	// Des
	word_42316[2] = dword_42500;	// Ice
	word_42316[3] = dword_425F0;
	word_42316[4] = dword_426E0;
	word_42316[5] = 0;
	word_42316[6] = dword_42500;	// Amiga Format Xmas

	Sound_Voc_Load();
}
コード例 #2
0
ファイル: Sound_PC2.cpp プロジェクト: segrax/openfodder
cSound_PC2::cSound_PC2() {

	mSound = false;
	mMusicPlaying = 0;

    devicePrepare();
    Sound_Voc_Load();
}