OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
style.h
Go to the documentation of this file.
1#pragma once
2
3#include "band.h"
4#include "info.h"
5#include "pattern.h"
6#include "riff.h"
7#include "structs.h"
8
9#include <vector>
10
11namespace Dx8 {
12
13class Mixer;
14
15class Style final {
16 public:
17 Style(Riff& riff);
18
19 struct Part final {
20 Part(Riff& riff);
21
23 std::vector<DMUS_IO_STYLENOTE> notes;
24 std::vector<DMUS_IO_STYLECURVE> curves;
25 };
26
29 std::vector<Band> band;
30 std::vector<Part> parts;
31 std::vector<Pattern> patterns;
32
33 const Part *findPart(const GUID& guid) const;
34
35 private:
36 void implRead(Riff &input);
37 };
38
39}
DMUS_IO_STYLE styh
Definition style.h:28
std::vector< Part > parts
Definition style.h:30
std::vector< Pattern > patterns
Definition style.h:31
std::vector< Band > band
Definition style.h:29
GUID guid
Definition style.h:27
const Part * findPart(const GUID &guid) const
Definition style.cpp:49
Definition band.h:10
std::vector< DMUS_IO_STYLECURVE > curves
Definition style.h:24
DMUS_IO_STYLEPART header
Definition style.h:22
std::vector< DMUS_IO_STYLENOTE > notes
Definition style.h:23