scrdisp.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* MegaZeux
  2. *
  3. * Copyright (C) 1996 Greg Janson
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation; either version 2 of
  8. * the License, or (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  18. */
  19. #ifndef __SCRDISP_H
  20. #define __SCRDISP_H
  21. #include "compat.h"
  22. __M_BEGIN_DECLS
  23. #include "world_struct.h"
  24. // Type 0/1 to DISPLAY a scroll/sign
  25. CORE_LIBSPEC void scroll_edit(struct world *mzx_world, struct scroll *scroll,
  26. int type);
  27. // type == 0 scroll, 1 sign, 2 scroll edit
  28. void scroll_edging_ext(struct world *mzx_world, int type, boolean mask);
  29. void help_display(struct world *mzx_world, char *help, int offs,
  30. char *file, char *label);
  31. char print(char *str);
  32. int strlencolor(char *str);
  33. __M_END_DECLS
  34. #endif // __SCRDISP_H