Music integration started. Only menu music included in game. All music is already on the data.jrf

This commit is contained in:
2016-02-19 19:51:17 +01:00
parent f9ef26deda
commit c746a131c1
5 changed files with 9 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
#include "jgame.h"
#include "jdraw8.h"
#include "jinput.h"
#include "jsound.h"
#include <stdlib.h>
#include <string>
@@ -73,6 +74,9 @@ const int minim( const int a, const int b ) {
void ModuleSequence::doIntro() {
JG_SetUpdateTicks(1000);
JS_LoadMusic("00000003.xm");
JS_PlayMusic(-1);
JD8_Surface gfx = JD8_LoadSurface( "logo.gif" );
JD8_Palette pal = JD8_LoadPalette( "logo.gif" );
JD8_SetScreenPalette( pal );