Music integration started. Only menu music included in game. All music is already on the data.jrf
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user