add intro tune, part 2
This commit is contained in:
parent
2f8a69646e
commit
658428d68d
9 changed files with 38179 additions and 3 deletions
|
|
@ -38,6 +38,7 @@
|
|||
#include "guiConst.h"
|
||||
#include "intConst.h"
|
||||
#include "scaling.h"
|
||||
#include "introTune.h"
|
||||
#include <stdint.h>
|
||||
#include <zlib.h>
|
||||
#include <fmt/printf.h>
|
||||
|
|
@ -5665,6 +5666,12 @@ bool FurnaceGUI::init() {
|
|||
oldPat[i]=new DivPattern;
|
||||
}
|
||||
|
||||
if ((!tutorial.introPlayed || settings.alwaysPlayIntro>=2) && curFileName.empty()) {
|
||||
unsigned char* introTemp=new unsigned char[intro_fur_len];
|
||||
memcpy(introTemp,intro_fur,intro_fur_len);
|
||||
e->load(introTemp,intro_fur_len);
|
||||
}
|
||||
|
||||
firstFrame=true;
|
||||
|
||||
// TODO: MIDI mapping time!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue