/[projet1]/public/oric/games/Space 1999/Sources/game source/sound.h
Defence Force logotype

Contents of /public/oric/games/Space 1999/Sources/game source/sound.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 76 - (show annotations)
Tue May 26 07:45:25 2009 UTC (10 years, 6 months ago) by Chema
File MIME type: text/plain
File size: 2757 byte(s)


1 /*
2
3 Some definitions for playing sound effects.
4
5 Music tracks (and channels used)
6
7 0)Title Tune (Start Event 0) (ABC) (game start)
8 1)Reggae Track (AB) (infoposts)
9 2)Repeating Drum Pattern (A) (speeches)
10 3)Pool Music (AB) (dark, dying)
11 4)Hifi Music (AB) (success)
12
13
14 Sound effects
15
16 00 Switch
17 01 Door Opening/Closing
18 02 Pick up
19 03 Drop
20 04 Step #1 (Hard Floor)
21 05 Step #2 (Soft Floor)
22 06 Lift Start
23 07 Lift End
24 08 Alarm #1 (Power Down)
25 09 Effect #1 (InfoPost)
26 10 New Msg through Commlink
27 11 Effect #2 (InfoPost)
28 12 Computer Room #1
29 13 Computer Room #2
30 14 Beep for Info Messages in Text Area
31 15 Robot Shuffle
32 16 Alarm #2
33 17 Dying
34 18 Not Sure
35 19 Contact with Enemy
36 20 Alarm #3 (Life Support Circuit Open)
37 21 Alarm #3 End
38
39
40 To work load data on register A and call PlayAudio
41
42 Data is as follows:
43 Bit 0-1 Forms value 0-3
44 0 Assign Music to Track specified in Data
45 1 Assign Effect specified in Data to Channel A
46 2 Assign Effect specified in Data to Channel B
47 3 Assign Effect specified in Data to Channel C
48 Bit 2-6 Forms value 0-31
49 0-31 Data
50 Bit 7-7 Forms value 0-1
51 0 Stop Effect on specified Channel or Track
52 1 Start Effect on specified Channel or Track
53
54 */
55
56
57 // Music tracks
58
59 #define STOP_ALL 0
60 #define STOP_TRACK 0
61
62 #define TRACK_0_ON %10000000
63 #define TRACK_1_ON %10000100
64 #define TRACK_2_ON %10001000
65 #define TRACK_3_ON %10001100
66 #define TRACK_4_ON %10010000
67
68
69 // Sfx
70 ;#define TOGGLE %10000011
71 #define MENUCHG %10000011
72 #define DOOR %10000111
73 #define PICKUP %10001011
74 #define DROP %10001111
75 #define STEPK %10010011
76 #define STEPH %10010111
77 #define LIFT_START %10011011
78 #define LIFT_STOP %10011111
79 #define ALARMPWR %10100001
80 ;#define MENUCHG %10100111
81 #define TOGGLE %10100111
82 #define NEWMSG %10101011
83 #define MENUSEL %10101111
84 #define BEEPS1 %10110010
85 #define BEEPS2 %10110110
86 #define BEEPGRL %10111011
87 #define SHUFFLE %10111111
88 #define ALARM %11000001
89 #define DYING %11000111
90 #define BUMP2 %11001011
91 #define BUMP %11001111
92 #define ALARMLSA %11010001
93 #define ALARMLSB %11010101
94
95 #define ALARMPWR_OFF %00100001
96 #define BEEPS1_OFF %00110010
97 #define BEEPS2_OFF %00110110
98 #define ALARM_OFF %01000001
99
100
101 /* Used in game
102 DYING NEWMSG TOGGLE MENUCHG DROP STEPH STEPK DOOR LIFT_STOP BUMP PICKUP LIFT_START MENUSEL BEEPGRL
103 */

  ViewVC Help
Powered by ViewVC 1.1.26