File: globals.h

package info (click to toggle)
gmod 3.1-8.3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,340 kB
  • ctags: 808
  • sloc: cpp: 7,764; makefile: 76
file content (39 lines) | stat: -rw-r--r-- 878 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// -*-C++-*-
// This file is part of the gmod package
// Copyright (C) 1997 by Andrew J. Robinson

/* This file is part of the GMOD package */

#ifndef __globalsH
#define __globalsH

extern int patternLen[MAX_POSITION];
extern int patternTempo[MAX_POSITION];
extern struct noteInfo *patternTable[MAX_PATTERN * MAX_TRACK];

extern struct voiceInfo voices[MAX_TRACK];

extern int tune[MAX_POSITION];
extern short voiceTable[MAX_POSITION][MAX_TRACK];
extern double tickDuration;
extern int  mixerfd;
extern double thisTime, nextTime;
extern int ticksPerDivision;
extern double clockRate;	/* HZ */

extern unsigned short periodTable[];

#ifndef USE_X
extern unsigned char stopFlag;
#endif
extern unsigned char background;
extern int actualPos;
extern int positionChange;

extern unsigned int seqInput;

#ifdef USE_X
extern struct xStruct xInfo;
extern int currentMod;
#endif
#endif