~hangman8086-devs/hangman8086/trunk

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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;      __   __  _______  __    _  _______  __   __  _______  __    _       ;;
;;     |  | |  ||   _   ||  |  | ||       ||  |_|  ||   _   ||  |  | |      ;;
;;     |  |_|  ||  |_|  ||   |_| ||    ___||       ||  |_|  ||   |_| |      ;;
;;     |       ||       ||       ||   | __ |       ||       ||       |      ;;
;;     |       ||       ||  _    ||   ||  ||       ||       ||  _    |      ;;
;;     |   _   ||   _   || | |   ||   |_| || ||_|| ||   _   || | |   |      ;;
;;     |__| |__||__| |__||_|  |__||_______||_|   |_||__| |__||_|  |__|      ;;
;;                                                                          ;;
;;                                                                          ;;
;;  HANGMAN - An implementation of the Hang Man game in assembly (Emu8086)  ;;
;;                                                                          ;;
;;  Copyright (C) 2011  Fabien LOISON                                       ;;
;;  Copyright (C) 2011  Mathilde BOUTIGNY                                   ;;
;;  Copyright (C) 2011  Vincent PEYROUSE                                    ;;
;;  Copyright (C) 2011  Germain CARRÉ                                       ;;
;;  Copyright (C) 2011  Matthis FRENAY                                      ;;
;;                                                                          ;;
;;  HangMan is free software: you can redistribute it and/or modify         ;;
;;  it under the terms of the GNU General Public License as published by    ;;
;;  the Free Software Foundation, either version 3 of the License, or       ;;
;;  (at your option) any later version.                                     ;;
;;                                                                          ;;
;;  This program is distributed in the hope that it will be useful,         ;;
;;  but WITHOUT ANY WARRANTY; without even the implied warranty of          ;;
;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           ;;
;;  GNU General Public License for more details.                            ;;
;;                                                                          ;;
;;  You should have received a copy of the GNU General Public License       ;;
;;  along with this program.  If not, see <http://www.gnu.org/licenses/>.   ;;
;;                                                                          ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;;
;; Contains the sounds ressources.
;;



;========================================================== Startup music ====
;              Sound, duration
SND_START   dw     4049,  1
            dw    40000,  1
            dw     3033,  1
            dw    40000,  4
            dw     2702,  5
            dw    40000,  1
            dw     2407,  2
            dw    40000,  2
            dw     3033,  2
            dw    40000,  3
            dw     4049,  3
            dw    40000,  2
            dw     4049,  1
            dw    40000,  3
            dw     3405,  3
            dw    40000,  3
            dw     3607,  2
            dw    40000,  3
            dw     4049,  4
            dw    40000,  5
            dw     3405,  2
            dw    40000,  2
            dw     3405,  1
            dw    40000,  1
            dw     2551,  2
            dw    40000,  1
            dw     3405,  1
            dw    40000,  1
            dw     2551,  4
            dw    40000,  4
            dw     2272,  6
            dw    40000,  2
            dw     3405,  2
            dw    40000,  2
            dw     3405,  2
            dw    40000,  2
            dw     3405,  2
            dw    40000,  1
            dw     3033,  6
            dw        0,  0


;================================================================== Menus ====
;                     Sound, duration
SND_MENU_CH_ITEM dw    4000, 01
                 dw       0,  0


;                   Sound, duration
SND_MENU_VALID dw    2000, 01
               dw    0800, 02
               dw       0,  0



;=================================================================== Game ====
;                       Sound, duration
SND_GAME_GOOD_LTTR dw    4000, 01
                   dw    2000, 01
                   dw    1000, 01
                   dw       0,  0


;                      Sound, duration
SND_GAME_BAD_LTTR dw    9000, 01
                  dw       0,  0


;                 Sound, duration
SND_GAME_DIE dw    7000, 02
             dw    8000, 02
             dw    9000, 02
             dw    9999, 08
             dw       0,  0


;                 Sound, duration
SND_GAME_GG dw     3000, 02
            dw     2500, 02
            dw     2000, 02
            dw    20000, 01
            dw     2500, 02
            dw     2000, 02
            dw     1500, 02
            dw    20000, 01
            dw     2000, 02
            dw     1500, 02
            dw     1000, 03
            dw        0,  0