scrdisp.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. //Externs for SCRDISP.CPP
  22. #ifndef __SCRDISP_H
  23. #define __SCRDISP_H
  24. #include "world.h"
  25. #include "robot.h"
  26. // Type 0/1 to DISPLAY a scroll/sign
  27. void scroll_edit(World *mzx_world, Scroll *scroll, int type);
  28. void scroll_frame(World *mzx_world, Scroll *scroll, int pos);
  29. // type == 0 scroll, 1 sign, 2 scroll edit
  30. void scroll_edging(World *mzx_world, int type);
  31. void help_display(World *mzx_world, char *help, int offs,
  32. char *file, char *label);
  33. void help_frame(World *mzx_world, char *help, int pos);
  34. char print(char *str);
  35. int strlencolor(char *str);
  36. #endif