move config handler to a new class

paves the way for chip flags rewrite
This commit is contained in:
tildearrow 2022-09-29 01:24:26 -05:00
parent c45816b8f2
commit 24a72165c9
5 changed files with 233 additions and 107 deletions

View file

@ -19,6 +19,7 @@
#ifndef _ENGINE_H
#define _ENGINE_H
#include "config.h"
#include "instrument.h"
#include "song.h"
#include "dispatch.h"
@ -366,7 +367,7 @@ class DivEngine {
DivAudioEngines audioEngine;
DivAudioExportModes exportMode;
double exportFadeOut;
std::map<String,String> conf;
DivConfig conf;
std::deque<DivNoteEvent> pendingNotes;
// bitfield
unsigned char walked[8192];