File: sound.h

package info (click to toggle)
rockdodger 0.9.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,220 kB
  • ctags: 756
  • sloc: ansic: 5,374; makefile: 159; sh: 21
file content (14 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __SOUND_H__
#define __SOUND_H__

#define TUNE_TITLE_PAGE		0
#define TUNE_GAMEPLAY		1
#define TUNE_HIGH_SCORE_ENTRY	2

extern int sfx_enabled; //!< if equal to one then play sound effects. This is used during demo so that the music is heard.

int init_sound();
void play_sound(int i);
void play_tune(int i);

#endif