home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 May / cica_0595_4.zip / cica_0595_4 / UTIL / MSWSRC35 / GLOBALS.H < prev    next >
C/C++ Source or Header  |  1993-10-06  |  4KB  |  154 lines

  1.  
  2. /*
  3.  *      globals.h       logo global references module           dvb
  4.  *
  5.  *    Copyright (C) 1989 The Regents of the University of California
  6.  *    This Software may be copied and distributed for educational,
  7.  *    research, and not for profit purposes provided that this
  8.  *    copyright and statement are included in all such copies.
  9.  *
  10.  */
  11.  
  12. /* extern double atof();
  13.  
  14. /* main.c */
  15. extern int yield_flag;
  16. extern int GCMAX;
  17. extern int MAX_PHYS_LINE;
  18. extern char *p_line;
  19. extern NODE **hash_table;
  20. extern NODE **gcstack;
  21. extern NODE **gctop;
  22. extern NODE *current_line;
  23. extern NODE *exec_list;
  24. extern char TempPathName[];
  25. extern int Time_To_Exit;
  26. extern int Time_To_Pause;
  27. extern int Time_To_Halt;
  28. extern int halt_flag;
  29. extern int traceflag;
  30. extern int IsDirty;
  31. extern int error_happen;
  32. extern long eval_count;
  33. extern int memory_count;
  34. extern int status_flag;
  35. extern int keyboard_on;
  36. extern int keyboard_value;
  37. extern int mouse_on;
  38. extern int mouse_posx;
  39. extern int mouse_posy;
  40. extern int xoffset;
  41. extern int yoffset;
  42. extern char *keyboard_status;
  43. extern char *keyboard_keydown;
  44. extern char *keyboard_keyup;
  45. extern char *mouse_lbuttondown;
  46. extern char *mouse_lbuttonup;
  47. extern char *mouse_rbuttondown;
  48. extern char *mouse_rbuttonup;
  49. extern char *mouse_mousemove;
  50. extern char edit_editexit[];
  51. extern char mci_callback[];
  52. extern char *timer_callback[];
  53.  
  54. /* logodata.c */
  55. #ifdef ecma
  56. extern char ecma_array[], special_chars[];
  57. extern int ecma_size;
  58. #endif
  59.  
  60. /* mem.c */
  61. extern NODE *free_list;
  62. extern struct segment *segment_list;
  63.  
  64. /* parse.c */
  65. extern FILE *loadstream, *writestream, *readstream, *dribblestream;
  66. extern int input_blocking;
  67. extern NODE *current_line;
  68. extern int input_mode;
  69.  
  70. /* math.c */
  71.  
  72. /* intern.c */
  73.  
  74. /* debug.c */
  75.  
  76. /* print.c */
  77. extern int print_stringlen;
  78. extern char *print_stringptr;
  79. extern int x_margin, y_margin;
  80.  
  81. /* init.c */
  82. extern NODE *Truex, *Falsex, *Left_Paren, *Right_Paren, *Null_Word, *Toplevel, *System, *Error;
  83. extern NODE *End, *Redefp, *Caseignoredp, *Erract, *Printdepthlimit, *Printwidthlimit, *Pause;
  84. extern NODE *If, *Ifelse, *To, *Macro, *Unbound, *Not_Enough_Node;
  85. extern NODE *Minus_Sign, *Minus_Tight, *Startup, *Query, *Output, *Op, *Stop;
  86.  
  87. /* wrksp.c */
  88. extern char *editor, *editorname;
  89. extern int to_pending;
  90.  
  91. /* error.c */
  92. extern NODE *throw_node;
  93. extern NODE *err_mesg;
  94. extern ERR_TYPES erract_errtype;
  95.  
  96. /* eval.c */
  97. extern FIXNUM global_repcount[];
  98. extern FIXNUM global_repcount_index;
  99. extern NODE *fun, *ufun, *last_ufun, *this_line, *last_line, *didnt_get_output;
  100. extern NODE *var, *var_stack, *output_node, *last_call, *didnt_output_name;
  101. extern CTRLTYPE stopping_flag;
  102. extern char *logolib;
  103. extern FIXNUM tailcall, val_status, dont_fix_ift;
  104.  
  105. /* print.c */
  106. extern BOOLEAN print_backslashes;
  107.  
  108. /* lists.c */
  109.  
  110. /* files.c */
  111.  
  112. /* coms.c */
  113. extern FIXNUM ift_iff_flag;
  114.  
  115. /* term.c */
  116. extern int x_coord, y_coord, x_max, y_max;
  117. extern int interactive;
  118.  
  119. /* libloc.c */
  120. extern char *libloc;
  121.  
  122. /* paren.c */
  123. extern NODE *the_generation;
  124.  
  125. /* graphics.c */
  126. extern mode_type current_mode;
  127. extern FLONUM turtle_x, turtle_y, turtle_heading, x_scale, y_scale;
  128. extern BOOLEAN turtle_shown;
  129.  
  130. #ifdef mac
  131.  
  132. #define SIGQUIT SIGABRT
  133.  
  134. /* macterm.c */
  135. extern WindowPtr graphics_window, listener_window;
  136. #endif
  137.  
  138. #ifdef ibm
  139. /* ibmterm.c/ztcterm.c */
  140. extern BOOLEAN in_graphics_mode;
  141. extern int MaxX, MaxY;
  142. #ifdef __ZTC__
  143. extern int ibm_screen_bottom, turtle_color;
  144. extern BOOLEAN in_splitscreen;
  145. #else
  146. extern int ibm_screen_top;
  147. #define SIGQUIT 15
  148. #endif
  149. #endif
  150.  
  151. #ifdef x_window
  152. /* xgraphics.c */
  153. #endif
  154.