Debian Codegraph @

gcc/testsuite/gm2/projects/pim/run/pass/tower/AdvSound.def

raw
1 (* Copyright (C) 2003-2025 Free Software Foundation, Inc. *)
2 (* This file is part of GNU Modula-2.
3
4 GNU Modula-2 is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
7 version.
8
9 GNU Modula-2 is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13
14 You should have received a copy of the GNU General Public License along
15 with gm2; see the file COPYING. If not, write to the Free Software
16 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
17
18 DEFINITION MODULE AdvSound ;
19
20 (*
21 Title : AdvSound
22 Author : Gaius Mulley
23 System : GNU Modula-2
24 Date : Mon Jul 11 21:40:59 2005
25 Revision : $Version$
26 Description: provides a simple set of routines to generate
27 sound.
28 *)
29
30 EXPORT QUALIFIED EnterGame, Explode, Swish, Miss, Hit ;
31
32
33 (*
34 EnterGame - play the enter game sound to player, p.
35 *)
36
37 PROCEDURE EnterGame (p: CARDINAL) ;
38
39
40 (*
41 Explode - play the explosion for each player in room, r, and adjacent
42 rooms.
43 *)
44
45 PROCEDURE Explode (r: CARDINAL; pulled: CARDINAL; hit: BOOLEAN) ;
46
47
48 (*
49 Swish - play the arrow swish sound to each player in room, r.
50 *)
51
52 PROCEDURE Swish (r: CARDINAL) ;
53
54
55 (*
56 Miss - play the arrow miss sound to each player in room, r.
57 *)
58
59 PROCEDURE Miss (r: CARDINAL) ;
60
61
62 (*
63 Hit - play the arrow hit sound to player, p.
64 *)
65
66 PROCEDURE Hit (p: CARDINAL) ;
67
68
69 END AdvSound.