]> icculus.org git repositories - btb/d2x.git/blob - main/editor/medwall.h
don't use hardcoded descriptions of joystick buttons/axes
[btb/d2x.git] / main / editor / medwall.h
1 /* $Id: medwall.h,v 1.4 2004-12-19 14:52:48 btb Exp $ */
2 /*
3 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
4 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
5 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
6 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
7 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
8 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
9 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
10 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
11 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
12 COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
13 */
14
15 /*
16  *
17  * Created from version 1.6 of main\wall.h
18  *
19  */
20
21 #ifndef _MEDWALL_H
22 #define _MEDWALL_H
23
24 #include "wall.h"
25 #include "inferno.h"
26 #include "segment.h"
27
28 extern int wall_add_removable(); 
29
30 // Restores all the walls to original status
31 extern int wall_restore_all();
32
33 // Reset a wall.
34 extern void wall_reset(segment *seg, short side);
35
36 // Adds a removable wall (medwall.c)
37 extern int wall_add_removable();
38
39 // Adds a door (medwall.c)
40 extern int wall_add_door();
41
42 // Adds an illusory wall (medwall.c)
43 extern int wall_add_illusion();
44
45 // Removes a removable wall (medwall.c) 
46 extern int wall_remove_blastable(); 
47
48 // Adds a wall. (visually)
49 extern int wall_add_to_curside();
50 extern int wall_add_to_markedside(sbyte type);
51  
52 // Removes a wall. (visually)
53 extern int wall_remove();
54
55 // Removes a specific side.
56 int wall_remove_side(segment *seg, short side);
57
58 extern int bind_wall_to_control_center();
59
60 extern void close_wall_window();
61
62 extern void do_wall_window();
63
64 extern int wall_link_doors();
65 extern int wall_unlink_door();
66 extern void copy_group_walls(int old_group, int new_group);
67
68 #endif
69