1 /*
2  * Portions of this file are copyright Rebirth contributors and licensed as
3  * described in COPYING.txt.
4  * Portions of this file are copyright Parallax Software and licensed
5  * according to the Parallax license below.
6  * See COPYING.txt for license details.
7 
8 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
9 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
10 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
11 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
12 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
13 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
14 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
15 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
16 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
17 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
18 */
19 
20 /*
21  *
22  * Definitions for texpage.c
23  *
24  */
25 
26 #ifndef _TEXPAGE_H
27 #define _TEXPAGE_H
28 
29 #include "ui.h"
30 
31 #ifdef __cplusplus
32 #include "fwd-event.h"
33 
34 extern int TextureLights;
35 extern int TextureEffects;
36 extern int TextureMetals;
37 
38 void init_replacements(void);
39 void do_replacements(void);
40 void do_replacements_all(void);
41 int texpage_grab_current(texture1_value n);
42 int texpage_goto_first();
43 void texpage_init( UI_DIALOG * dlg );
44 void texpage_close();
45 int texpage_do(const d_event &event);
46 
47 #endif
48 
49 #endif
50