R-PAGE
Resistance's Portable-Adventure-Game-Engine
ptreplay_protos.h
Go to the documentation of this file.
1 /*** PROTOS FOR PTREPLAY.LIBRARY ***/
2 
3 struct Module *PTLoadModule(STRPTR);
4 VOID PTUnloadModule(struct Module *);
5 ULONG PTPlay(struct Module *);
6 ULONG PTStop(struct Module *);
7 ULONG PTPause(struct Module *);
8 ULONG PTResume(struct Module *);
9 /* New in V2 */
10 VOID PTFade(struct Module *, UBYTE);
11 /* New in V3 */
12 VOID PTSetVolume(struct Module *, UBYTE);
13 /* New in V4 */
14 UBYTE PTSongPos(struct Module *);
15 UBYTE PTSongLen(struct Module *);
17 UBYTE PTPatternPos(struct Module *);
18 APTR PTPatternData(struct Module *, UBYTE, UBYTE);
19 void PTInstallBits(struct Module *, BYTE, BYTE, BYTE, BYTE);
20 struct Module *PTSetupMod(APTR);
21 void PTFreeMod(struct Module *);
22 void PTStartFade(struct Module *, UBYTE);
23 /* New in V5 */
24 void PTOnChannel(struct Module *, BYTE);
25 void PTOffChannel(struct Module *, BYTE);
26 void PTSetPos(struct Module *,UBYTE);
27 void PTSetPri(BYTE);
28 BYTE PTGetPri(void);
29 /* New in V6 */
30 BYTE PTGetChan(void);
31 struct PTSample *PTGetSample(struct Module *,WORD);
UBYTE PTPatternPos(struct Module *)
ULONG PTResume(struct Module *)
UBYTE PTSongPos(struct Module *)
void PTSetPri(BYTE)
ULONG PTStop(struct Module *)
BYTE PTGetPri(void)
void PTFreeMod(struct Module *)
BYTE PTGetChan(void)
VOID PTUnloadModule(struct Module *)
struct PTSample * PTGetSample(struct Module *, WORD)
struct Module * PTSetupMod(APTR)
APTR PTPatternData(struct Module *, UBYTE, UBYTE)
unsigned char UBYTE
Definition: utils.h:20
void PTInstallBits(struct Module *, BYTE, BYTE, BYTE, BYTE)
void PTOnChannel(struct Module *, BYTE)
VOID PTSetVolume(struct Module *, UBYTE)
unsigned short UWORD
Definition: utils.h:28
ULONG PTPause(struct Module *)
UBYTE PTSongPattern(struct Module *, UWORD)
void PTStartFade(struct Module *, UBYTE)
void PTOffChannel(struct Module *, BYTE)
VOID PTFade(struct Module *, UBYTE)
unsigned char BYTE
Definition: utils.h:16
unsigned long ULONG
Definition: utils.h:24
struct Module * PTLoadModule(STRPTR)
void PTSetPos(struct Module *, UBYTE)
UBYTE PTSongLen(struct Module *)
ULONG PTPlay(struct Module *)