robo_ed.h 1.6 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. //Prototype- ROBO_ED.CPP
  22. #ifndef __ROBO_ED_H
  23. #define __ROBO_ED_H
  24. char replace_line(int id,unsigned int pos,unsigned int size,
  25. unsigned char far *buffer,unsigned char far *robot,char insert=0);
  26. void robot_editor(int id);
  27. long _rts_pre_param(unsigned char far *robot,unsigned char far *string);
  28. void robot_to_string(unsigned char far *robot,unsigned char far *string);
  29. inline char isspace(unsigned char c);
  30. char string_to_robot(unsigned char far *string,unsigned char far *storage,
  31. int *ret_length);
  32. long _rtd_pre_param(unsigned char far *robot,char x,char y,int color);
  33. void robot_to_display(unsigned char far *robot,char y,int color);
  34. int robo_ed_block_cmd(void);
  35. unsigned int find_line_num(unsigned char far *robot,unsigned int pos);
  36. char export_robot_dialog(void);
  37. void robo_ed_options(void);
  38. #endif