SCRIPLIB.H 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. Copyright (C) 1994-1995 Apogee Software, Ltd.
  3. This program is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License
  5. as published by the Free Software Foundation; either version 2
  6. of the License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. See the GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  14. */
  15. // scriplib.h
  16. #ifndef __CMDLIB__
  17. #include "cmdlib.h"
  18. #endif
  19. #define MAXTOKEN 128
  20. extern char token[MAXTOKEN];
  21. extern char *scriptbuffer,*script_p,*scriptend_p;
  22. extern int grabbed;
  23. extern int scriptline;
  24. extern boolean endofscript;
  25. void LoadScriptFile (char *filename);
  26. void GetToken (boolean crossline);
  27. void UnGetToken (void);
  28. boolean TokenAvailable (void);