File: protos.h

package info (click to toggle)
gmod 3.1-2
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 1,348 kB
  • ctags: 808
  • sloc: cpp: 7,755; makefile: 82
file content (89 lines) | stat: -rw-r--r-- 2,225 bytes parent folder | download | duplicates (7)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// -*-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 __protosH
#define __protosH

#ifndef STDIO__H
#include <stdio.h>
#endif

/* in compress.c */
short compressVoice (short lastVoice, short position, int notesPerTrack,
		      int skip, short firstVoice = 0);

/* in cvtPeriod.c */
void periodToNote (int period, int *note, int *pitchbend);

/* in gmod.c */
int startPlayback (unsigned char);

/* in init.c */
void initVoices (void);

/* int load_669.c */
int load_669_module (FILE * modFd, struct songInfo *songChar,
		     struct optionsInfo options, unsigned char *buffer);

/* in loadMod.c */
int loadModule (char *name, struct songInfo *songChar,
		 struct optionsInfo options);

/* in loadMtm.c */
int loadMtmModule (FILE * modFd, struct songInfo *songChar, 
		     unsigned char *buffer);

/* in loadS3m.c */
int loadS3mModule (FILE ** modFd, struct songInfo *songChar,
		     struct optionsInfo options, unsigned char *buffer,
		     char *command);

/* in loadUlt.c */
int loadUltModule (FILE * modFd, struct songInfo *songChar,
		     struct optionsInfo options, unsigned char *buffer);

/* in loadXm.c */
int loadXmModule (FILE ** modFd, struct songInfo *songChar,
		    struct optionsInfo options, unsigned char *buffer,
		    char *command);

/* in misc.c */
int panning (int ch);
void syncTime (void);
void freePatterns();
void removeNoprint (char *string);

/* in parse.c */
int parseArgs (int argc, char *argv[], struct optionsInfo *options);

/* in playMod.c */
void playModule (int startPosition, struct songInfo *songChar,
		 struct optionsInfo options, int startDelay);
int playNextPosition (void);
int endModule (unsigned char);

/* in playNote.c */
int playNote (int channel, int position, int pattern, struct noteInfo *pat,
	       struct songInfo *songChar, struct effectInfo *effects,
	       struct optionsInfo *options);

#ifndef USE_X
/* in procEvent.c */
void NoXProcessEvent (void);
#endif

/* in procInput.c */
unsigned int procInput (void);

#ifndef USE_X
/* in signals.c */
void timerSet (int mode);
void timerHandler (int sig);

/* in terminal.c */
void terminalSet (int mode);
#endif
#endif