MEDWALL.H 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. #ifndef _MEDWALL_H
  46. #define _MEDWALL_H
  47. #include "wall.h"
  48. #include "inferno.h"
  49. #include "segment.h"
  50. extern int wall_add_removable();
  51. // Restores all the walls to original status
  52. extern int wall_restore_all();
  53. // Reset a wall.
  54. extern void wall_reset(segment *seg, short side);
  55. // Adds a removable wall (medwall.c)
  56. extern int wall_add_removable();
  57. // Adds a door (medwall.c)
  58. extern int wall_add_door();
  59. // Adds an illusory wall (medwall.c)
  60. extern int wall_add_illusion();
  61. // Removes a removable wall (medwall.c)
  62. extern int wall_remove_blastable();
  63. // Adds a wall. (visually)
  64. extern int wall_add_to_curside();
  65. extern int wall_add_to_markedside();
  66. // Removes a wall. (visually)
  67. extern int wall_remove();
  68. // Removes a specific side.
  69. int wall_remove_side(segment *seg, short side);
  70. extern int bind_wall_to_control_center();
  71. extern void close_wall_window();
  72. extern void do_wall_window();
  73. extern wall_link_doors();
  74. extern wall_unlink_door();
  75. extern void copy_group_walls(int old_group, int new_group);
  76. #endif