block.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 */
  22. #ifndef __BLOCK_H
  23. #define __BLOCK_H
  24. int block_cmd(void);
  25. int rtoo_obj_type(void);
  26. int choose_char_set(void);
  27. char save_file_dialog(char far *title,char far *prompt,char far *dest);
  28. //Have overlay_mode set to wanted mode with bits 64/128 set properly
  29. void export_ansi(char far *file,int x1,int y1,int x2,int y2,char text_only);
  30. int export_type(void);
  31. int import_type(void);
  32. //Pass curr_thing and curr_param so overwritten objects can be handled
  33. //correctly
  34. void import_ansi(char far *filename,char obj_type,int &curr_thing,
  35. int &curr_param,int start_x=0,int start_y=0);
  36. int import_ansi_obj_type(void);
  37. #endif