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