OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
pattern.h
Go to the documentation of this file.
1#pragma once
2
3#include "info.h"
4#include "riff.h"
5#include "structs.h"
6
7namespace Dx8 {
8
9class Pattern final {
10 public:
11 Pattern(Riff &riff);
12
13 struct PartRef final {
14 PartRef(Riff &input);
17 };
18
21 std::vector<PartRef> partref;
22
23 uint32_t timeLength(double tempo) const;
24
25 private:
26 void implRead(Riff &riff);
27 };
28
29}
std::vector< PartRef > partref
Definition pattern.h:21
DMUS_IO_PATTERN header
Definition pattern.h:19
uint32_t timeLength(double tempo) const
Definition pattern.cpp:24
Unfo info
Definition pattern.h:20
Definition band.h:10
DMUS_IO_PARTREF io
Definition pattern.h:15