~ubuntu-branches/ubuntu/natty/gtkboard/natty

« back to all changes in this revision

Viewing changes to .pc/debian-changes-0.11pre0+cvs.2003.11.02-2/src/sound.h

  • Committer: Bazaar Package Importer
  • Author(s): Barak A. Pearlmutter
  • Date: 2011-02-28 11:25:02 UTC
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20110228112502-e9aah248wxelm7ao
Tags: 0.11pre0+cvs.2003.11.02-2
autotools tweaks, most notably -lSDL to supplement -lSDL_mixer

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SOUND_H_
 
2
#define _SOUND_H_
 
3
 
 
4
#include "config.h"
 
5
 
 
6
typedef enum 
 
7
{
 
8
        SOUND_PROGRAM_START,
 
9
        SOUND_ILLEGAL_MOVE,
 
10
        SOUND_WON,
 
11
        SOUND_LOST,
 
12
        SOUND_USER_MOVE,
 
13
        SOUND_MACHINE_MOVE,
 
14
        SOUND_GAME_START,
 
15
        SOUND_GAME_OVER,
 
16
        SOUND_HIGHSCORE,
 
17
}SoundEvent;
 
18
 
 
19
void sound_init();
 
20
void sound_stop ();
 
21
void sound_play (SoundEvent event);
 
22
void sound_set_enabled (gboolean enabled);
 
23
gboolean sound_get_enabled ();
 
24
void sound_set_enabled (gboolean enabled);
 
25
void sound_enable_pref_cb (gchar *key, gchar *value);
 
26
 
 
27
#endif