]> Shamusworld >> Repos - wozmaker/blob - src/global.h
Flesh out the disk settings dialog.
[wozmaker] / src / global.h
1 #ifndef __GLOBAL_H__
2 #define __GLOBAL_H__
3
4 #include <stdint.h>
5
6 class A2R;
7 class A2RStream;
8 class Metadata;
9
10 class Global
11 {
12         // Static public variables accessible to all
13         public:
14                 static A2R * a2r;
15                 static uint32_t a2rSize;
16                 static Metadata * metadata;
17                 static A2RStream * stream[800];
18                 static uint32_t numStreams;
19                 static uint8_t bitStream[80000];
20                 static uint32_t bitStreamLength;
21                 static uint32_t nibbleCount;
22                 static uint32_t streamNum;
23                 static uint8_t trackNum;
24                 static const uint8_t bit[8];
25                 static uint8_t * streamData[9]; // N.B.: Should never have more than 5
26                 static uint32_t streamLen[9];
27                 static uint8_t streamCount;
28                 static uint32_t synthWave[80000];
29                 static float swAmplitude[80000];
30                 static uint32_t swLen;
31                 static uint8_t trackStatus[141];
32                 static uint32_t wave[800][80000];       // Unpacked raw timing wave
33                 static uint32_t waveLen[800];           // Unpacked raw timing wave length
34                 static uint32_t bloops;
35                 static uint32_t waveSync;
36                 static uint32_t synWave[141][80000];    // Synthesized wave
37                 static uint32_t synWaveLen[141];                // Synthesized wave length
38                 static uint8_t bStream[141][80000];
39                 static uint32_t bStreamLen[141];
40                 static uint32_t bStreamLenBits[141];
41                 static uint8_t meta[32][256];
42                 static uint8_t metaCount;
43 };
44
45 #endif  // __GLOBAL_H__
46