File:  [RetroPC.NET] / np2 / sound / vermouth / midimod.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Fri Oct 17 02:58:10 2003 JST (22 years ago) by yui
Branches: mie
CVS tags: start, rel_036, VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, VER_0_73, VER_0_72, VER_0_71, VER_0_70
Neko Project II


struct _pathlist;
typedef	struct _pathlist	_PATHLIST;
typedef	struct _pathlist	*PATHLIST;

struct _pathlist {
	PATHLIST	next;
	char		path[MAX_PATH];
};

enum {
	TONECFG_EXIST		= 0x01,
	TONECFG_NOLOOP		= 0x02,
	TONECFG_NOENV		= 0x04,
	TONECFG_KEEPENV		= 0x08,
	TONECFG_NOTAIL		= 0x10,

	TONECFG_AUTOAMP		= -1,
	TONECFG_VARIABLE	= 0xff
};

typedef struct {
	char	*name;
	int		amp;
	BYTE	flag;
	BYTE	pan;
	BYTE	note;
} _TONECFG, *TONECFG;


#ifdef __cplusplus
extern "C" {
#endif

BOOL cfgfile_getfile(MIDIMOD mod, const char *filename,
													char *path, int size);
BOOL cfgfile_load(MIDIMOD mod, const char *filename, int depth);

#ifdef __cplusplus
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>