home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Large Pack of OldSkool DOS MOD Trackers
/
goattracker_2.65_stereo.zip
/
src
/
goattrk2.h
< prev
next >
Wrap
C/C++ Source or Header
|
2007-04-15
|
3KB
|
113 lines
#ifndef GOATTRK2_H
#define GOATTRK2_H
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <dirent.h>
#include <sys/stat.h>
#include "bme.h"
#include "gcommon.h"
#include "gconsole.h"
#include "gsound.h"
#include "gsid.h"
#include "gsong.h"
#include "gplay.h"
#include "gdisplay.h"
#include "greloc.h"
#include "gfile.h"
#include "gpattern.h"
#include "gorder.h"
#include "ginstr.h"
#include "gtable.h"
#define EDIT_PATTERN 0
#define EDIT_ORDERLIST 1
#define EDIT_INSTRUMENT 2
#define EDIT_TABLES 3
#define EDIT_NAMES 4
#define KEY_TRACKER 0
#define KEY_DMC 1
#define VISIBLEPATTROWS 31
#define VISIBLEORDERLIST 11
#define VISIBLETABLEROWS 14
#define VISIBLEFILES 24
#define PGUPDNREPEAT 8
#ifndef GOATTRK2_C
extern int menu;
extern int editmode;
extern int recordmode;
extern int followplay;
extern int hexnybble;
extern int stepsize;
extern int autoadvance;
extern int defaultpatternlength;
extern int cursorflash;
extern int cursorcolortable[];
extern int exitprogram;
extern int eacolumn;
extern int eamode;
extern int keypreset;
extern int playerversion;
extern int fileformat;
extern int zeropageadr;
extern int playeradr;
extern unsigned sidmodel;
extern unsigned multiplier;
extern unsigned adparam;
extern unsigned ntsc;
extern unsigned patternhex;
extern unsigned sidaddress;
extern unsigned finevibrato;
extern unsigned optimizepulse;
extern unsigned optimizerealtime;
extern unsigned usefinevib;
extern unsigned b;
extern unsigned mr;
extern unsigned writer;
extern unsigned hardsid;
extern unsigned catweasel;
extern unsigned interpolate;
extern char *configptr;
extern char configbuf[MAX_PATHNAME];
extern unsigned char loadedsongfilename[MAX_FILENAME];
extern unsigned char songfilename[MAX_FILENAME];
extern unsigned char songfilter[MAX_FILENAME];
extern unsigned char songpath[MAX_PATHNAME];
extern unsigned char instrfilename[MAX_FILENAME];
extern unsigned char instrfilter[MAX_FILENAME];
extern unsigned char instrpath[MAX_PATHNAME];
extern unsigned char packedpath[MAX_PATHNAME];
extern char *programname;
extern char textbuffer[MAX_PATHNAME];
extern unsigned char hexkeytbl[16];
extern unsigned char datafile[];
#endif
void getparam(FILE *handle, int *value);
void waitkey(void);
void waitkeymouse(void);
void waitkeynoupdate(void);
void waitkeymousenoupdate(void);
void converthex(void);
void docommand(void);
void onlinehelp(void);
void mousecommands(void);
void generalcommands(void);
void load(void);
void save(void);
void quit(void);
void clear(void);
void prevmultiplier(void);
void nextmultiplier(void);
void editadsr(void);
#endif