home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 22 / PCPP #22.iso / Quake2 / q2source_12_11 / utils3 / common / scriplib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-06  |  426 b   |  24 lines

  1. // scriplib.h
  2.  
  3. #ifndef __CMDLIB__
  4. #include "cmdlib.h"
  5. #endif
  6.  
  7. #define    MAXTOKEN    1024
  8.  
  9. extern    char    token[MAXTOKEN];
  10. extern    char    *scriptbuffer,*script_p,*scriptend_p;
  11. extern    int        grabbed;
  12. extern    int        scriptline;
  13. extern    qboolean    endofscript;
  14.  
  15.  
  16. void LoadScriptFile (char *filename);
  17. void ParseFromMemory (char *buffer, int size);
  18.  
  19. qboolean GetToken (qboolean crossline);
  20. void UnGetToken (void);
  21. qboolean TokenAvailable (void);
  22.  
  23.  
  24.