mstring.h 1.3 KB

1234567891011121314151617181920212223242526272829303132
  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. extern char strings[16][64];
  22. int string_type(char far *expression);
  23. char *get_string(char far *expression, char far *str_buffer);
  24. char get_str_char(char far *expression);
  25. int get_str_int(char far *expression);
  26. void set_string(char far *expression, char *set);
  27. void set_str_char(char far *expression, char set);
  28. void set_str_int(char far *expression, int val);
  29. void load_string_board(char far *expression, int w, int h, char l,
  30. char far *src, int width);