edit.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* $Id$
  2. * MegaZeux
  3. *
  4. * Copyright (C) 1996 Greg Janson
  5. * Copyright (C) 1998 Matthew D. Williams - dbwilli@scsn.net
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation; either version 2 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21. /* Declarations for EDIT.CPP */
  22. #ifndef __EDIT_H
  23. #define __EDIT_H
  24. void add_ext(char far *str,char far *ext);
  25. void edit_world(void);
  26. void draw_debug_box(char ypos=12);
  27. extern char tmenu_thing_ids[8][18];
  28. extern char tmenu_num_choices[8];
  29. extern char far *tmenu_titles[8];
  30. extern char far *thing_menus[8];
  31. extern unsigned char def_colors[128];
  32. extern char debug_mode;//Debug mode
  33. extern char debug_x;//Debug box x pos
  34. #define EC_MAIN_BOX 25
  35. #define EC_MAIN_BOX_DARK 16
  36. #define EC_MAIN_BOX_CORNER 24
  37. #define EC_MENU_NAME 27
  38. #define EC_CURR_MENU_NAME 159
  39. #define EC_MODE_STR 30
  40. #define EC_MODE_HELP 31
  41. #define EC_CURR_THING 31
  42. #define EC_CURR_PARAM 23
  43. #define EC_OPTION 26
  44. #define EC_HIGHLIGHTED_OPTION 31
  45. #define EC_DEBUG_BOX 76
  46. #define EC_DEBUG_BOX_DARK 64
  47. #define EC_DEBUG_BOX_CORNER 70
  48. #define EC_DEBUG_LABEL 78
  49. #define EC_DEBUG_NUMBER 79
  50. #define EC_NA_FILL 1
  51. #endif