home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d8xx / d828 / disktest.lha / DiskTest / Source / global.h < prev    next >
C/C++ Source or Header  |  2001-02-25  |  1KB  |  46 lines

  1. /*-------------------------------------------------------*
  2.  | File: GLOBAL.h - Declaration of all global variables. |
  3.  | Variables needed to have a defined value at the       |
  4.  | program start are ALWAYS explicitely initialised.     |
  5.  *-------------------------------------------------------*/
  6.  
  7. /**
  8.  | - variables for cback.o;
  9.  | - library bases;
  10.  | - Intuition pointers and structures for the output window;
  11.  | - Intuition pointers and structures for the AppWindow;
  12.  | - Intuition pointers and structures for the break window;
  13.  | - pointers and structures related to disk reading
  14. **/
  15.  
  16. long  __stack         = 4000;
  17. char *__procname      = "DT";
  18. long  __priority      = 0;
  19. long  __BackGroundIO  = 0;
  20.  
  21. struct Library *IntuitionBase = NULL;
  22. struct Library *GfxBase       = NULL;
  23. struct Library *LayersBase    = NULL;
  24. struct Library *GadToolsBase  = NULL;
  25. struct Library *WorkbenchBase = NULL;
  26.  
  27. struct Screen   *pScr       = NULL;
  28. struct Window   *pWind      = NULL;
  29. struct TextFont *GadFont    = NULL;
  30. APTR            pVI         = NULL;
  31. struct RastPort *pClearRP   = NULL;
  32. struct Gadget   *pScroller;
  33. struct Gadget   *pGlist;
  34.  
  35. struct MsgPort   *appWinPort  = NULL;
  36. struct AppWindow *pAWind      = NULL;
  37.  
  38. struct Window *pBWind = NULL;
  39. struct Gadget *pBGad  = NULL;
  40.  
  41. struct MsgPort       *diskPort    = NULL;
  42. struct IOExtTD       *diskReq     = NULL;
  43. BYTE                 *diskBuffer  = NULL;
  44. struct FileInfoBlock *pFIB        = NULL;
  45. ULONG                diskBufferLength;
  46.