home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / main / medwall.h < prev    next >
C/C++ Source or Header  |  1998-06-08  |  2KB  |  95 lines

  1. /*
  2.  * $Source: f:/miner/source/main/editor/rcs/medwall.h $
  3.  * $Revision: 2.0 $
  4.  * $Author: john $
  5.  * $Date: 1995/02/27 11:35:10 $
  6.  * 
  7.  * Created from version 1.6 of main\wall.h
  8.  * 
  9.  * $Log: medwall.h $
  10.  * Revision 2.0  1995/02/27  11:35:10  john
  11.  * Version 2.0! No anonymous unions, Watcom 10.0, with no need
  12.  * for bitmaps.tbl.
  13.  * 
  14.  * Revision 1.9  1994/09/28  17:31:51  mike
  15.  * Prototype copy_group_walls().
  16.  * 
  17.  * Revision 1.8  1994/08/05  21:18:16  matt
  18.  * Allow two doors to be linked together
  19.  * 
  20.  * Revision 1.7  1994/06/20  22:30:10  yuan
  21.  * Fixed crazy runaway trigger bug that Adam found
  22.  * 
  23.  * Revision 1.6  1994/05/30  20:22:58  yuan
  24.  * New triggers.
  25.  * 
  26.  * Revision 1.5  1994/05/25  18:08:37  yuan
  27.  * Revamping walls and triggers interface.
  28.  * Wall interface complete, but triggers are still in progress.
  29.  * 
  30.  * Revision 1.4  1994/05/18  18:22:04  yuan
  31.  * Fixed delete segment and walls bug.
  32.  * 
  33.  * Revision 1.3  1994/03/17  18:08:41  yuan
  34.  * New wall stuff... Cut out switches....
  35.  * 
  36.  * Revision 1.2  1994/03/15  16:34:10  yuan
  37.  * Fixed bm loader (might have some changes in walls and switches)
  38.  * 
  39.  * Revision 1.1  1994/02/10  17:52:01  matt
  40.  * Initial revision
  41.  * 
  42.  * 
  43.  * 
  44.  */
  45.  
  46. #ifndef _MEDWALL_H
  47. #define _MEDWALL_H
  48.  
  49. #include "wall.h"
  50. #include "inferno.h"
  51. #include "segment.h"
  52.  
  53. extern int wall_add_removable(); 
  54.  
  55. // Restores all the walls to original status
  56. extern int wall_restore_all();
  57.  
  58. // Reset a wall.
  59. extern void wall_reset(segment *seg, short side);
  60.  
  61. // Adds a removable wall (medwall.c)
  62. extern int wall_add_removable();
  63.  
  64. // Adds a door (medwall.c)
  65. extern int wall_add_door();
  66.  
  67. // Adds an illusory wall (medwall.c)
  68. extern int wall_add_illusion();
  69.  
  70. // Removes a removable wall (medwall.c) 
  71. extern int wall_remove_blastable(); 
  72.  
  73. // Adds a wall. (visually)
  74. extern int wall_add_to_curside();
  75. extern int wall_add_to_markedside();
  76.  
  77. // Removes a wall. (visually)
  78. extern int wall_remove();
  79.  
  80. // Removes a specific side.
  81. int wall_remove_side(segment *seg, short side);
  82.  
  83. extern int bind_wall_to_control_center();
  84.  
  85. extern void close_wall_window();
  86.  
  87. extern void do_wall_window();
  88.  
  89. extern wall_link_doors();
  90. extern wall_unlink_door();
  91. extern void copy_group_walls(int old_group, int new_group);
  92.  
  93. #endif
  94.  
  95.