source: golgotha/src/golg/music.hh

Last change on this file was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 976 bytes
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef G1_MUSIC_HH
10#define G1_MUSIC_HH
11
12#include "arch.hh"
13class i4_stream_wav_player;
14
15class g1_music_manager_class
16{
17  i4_bool no_songs;
18  sw32 song_on;
19  sw32 total_songs;
20  sw32 total_missing;
21  i4_stream_wav_player *stream;
22  i4_bool playing;
23
24  void next_song();
25
26public:
27  void init();
28  void uninit();
29
30  void poll();  // called by main game once per game loop
31
32  void start();
33  void stop();
34};
35
36extern g1_music_manager_class g1_music_man;
37
38
39#endif
Note: See TracBrowser for help on using the repository browser.