1 //-------------------------------------------------------------------------
2 /*
3 Copyright (C) 1997, 2005 - 3D Realms Entertainment
4 
5 This file is part of Shadow Warrior version 1.2
6 
7 Shadow Warrior is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
11 
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 
16 See the GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 
22 Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
23 */
24 //-------------------------------------------------------------------------
25 
26 //-------------------------------------------------------------------------
27 /*
28 Copyright (C) 1996, 2003 - 3D Realms Entertainment
29 
30 This file is part of Duke Nukem 3D version 1.5 - Atomic Edition
31 
32 Duke Nukem 3D is free software; you can redistribute it and/or
33 modify it under the terms of the GNU General Public License
34 as published by the Free Software Foundation; either version 2
35 of the License, or (at your option) any later version.
36 
37 This program is distributed in the hope that it will be useful,
38 but WITHOUT ANY WARRANTY; without even the implied warranty of
39 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
40 
41 See the GNU General Public License for more details.
42 
43 You should have received a copy of the GNU General Public License
44 along with this program; if not, write to the Free Software
45 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
46 
47 Original Source: 1996 - Todd Replogle
48 Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms
49 */
50 //-------------------------------------------------------------------------
51 
52 //***************************************************************************
53 //
54 //    RTS.H
55 //
56 //***************************************************************************
57 
58 #ifndef __rts_public__
59 #define __rts_public__
60 
61 /*
62 ====================
63 =
64 = RTS_Init
65 =
66 = Files with a .rts extension are idlink files with multiple lumps
67 =
68 ====================
69 */
70 
71 void RTS_Init (char *filename);
72 void RTS_Shutdown ( void );
73 
74 /*
75 ====================
76 =
77 = RTS_NumSounds
78 =
79 ====================
80 */
81 
82 int32 RTS_NumSounds (void);
83 /*
84 ====================
85 =
86 = RTS_SoundLength
87 =
88 = Returns the buffer size needed to load the given lump
89 =
90 ====================
91 */
92 
93 int32 RTS_SoundLength (int32 lump);
94 /*
95 ====================
96 =
97 = RTS_GetSoundName
98 =
99 ====================
100 */
101 
102 char * RTS_GetSoundName (int32 i);
103 /*
104 ====================
105 =
106 = RTS_GetSound
107 =
108 ====================
109 */
110 void *RTS_GetSound (int32 lump);
111 #endif
112