home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma58.dms / ma58.adf / superplay-lib_USR / SuperPlay / SuperPlay.h < prev    next >
C/C++ Source or Header  |  1996-05-27  |  4KB  |  149 lines

  1.  
  2.  /* SuperPlay.h
  3.     - Include File for global functions and variables -
  4.     (c) 1994-95 by Andreas R. Kleinert
  5.     Last changes : 21.10.1995
  6.  */
  7.  
  8. #ifndef SUPERPLAY_H
  9. #define SUPERPLAY_H
  10.  
  11.  
  12. #ifndef INTUITION_INTUITION_H
  13. #include <intuition/intuitionbase.h>
  14. #endif /* INTUITION_INTUITION_H */
  15.  
  16. #ifndef EXEC_MEMORY_H
  17. #include <exec/memory.h>
  18. #endif /* EXEC_MEMORY_H */
  19.  
  20. #ifndef EXEC_LISTS_H
  21. #include <exec/lists.h>
  22. #endif /* EXEC_LISTS_H */
  23.  
  24. #ifndef GRAPHICS_GFXBASE_H
  25. #include <graphics/gfxbase.h>
  26. #endif /* GRAPHICS_GFXBASE_H */
  27.  
  28. #ifndef LIBRARIES_DOS_H
  29. #include <libraries/dos.h>
  30. #endif /* LIBRARIES_DOS_H */
  31.  
  32. #ifndef LIBRARIES_ASL_H
  33. #include <libraries/asl.h>
  34. #endif /* LIBRARIES_ASL_H */
  35.  
  36. #ifndef UTILITY_TAGITEM_H
  37. #include <utility/tagitem.h>
  38. #endif /* UTILITY_TAGITEM_H */
  39.  
  40. #ifndef _STDIO_H
  41. #include <stdio.h>
  42. #endif /* _STDIO_H */
  43.  
  44. #ifndef _STDLIB_H
  45. #include <stdlib.h>
  46. #endif /* _STDLIB_H */
  47.  
  48. #ifndef _STRING_H
  49. #include <string.h>
  50. #endif /* _STRING_H */
  51.  
  52. #ifndef _CTYPE_H
  53. #include <ctype.h>
  54. #endif /* _CTYPE_H */
  55.  
  56. #include <superplay/superplaybase.h>
  57.  
  58. #include <proto/exec.h>
  59. #include <proto/dos.h>
  60. #include <proto/intuition.h>
  61. #include <proto/graphics.h>
  62. #include <proto/gadtools.h>
  63. #include <proto/asl.h>
  64.  
  65. #include <proto/superplay.h>
  66. #include <proto/spobjects.h>
  67.  
  68. #include "SuperPlay_Main.h"
  69. #include "SP_SPOListSubs.h"
  70.  
  71.  
  72. /* *************************************************** */
  73. /* *                             * */
  74. /* * Version Defines                     * */
  75. /* *                             * */
  76. /* *************************************************** */
  77.  
  78. #define SP_STRDEF_VER      "\0$VER: "
  79. #define SP_STRDEF_VERSION "SuperPlay V4.5"
  80. #define SP_STRDEF_DATE      "(21.10.95)"
  81.  
  82.  
  83. /* *************************************************** */
  84. /* *                             * */
  85. /* * MACROs for Version-Tests                 * */
  86. /* *                             * */
  87. /* *************************************************** */
  88.  
  89. #define LibVer(x) ( ((struct Library *) x)->lib_Version )
  90. #define OS_VER      LibVer(SysBase)
  91.  
  92.  
  93. /* *************************************************** */
  94. /* *                             * */
  95. /* * Additional Base References               * */
  96. /* *                             * */
  97. /* *************************************************** */
  98.  
  99. extern struct ExecBase        *SysBase;
  100. extern struct IntuitionBase *IntuitionBase;
  101. extern struct GfxBase        *GfxBase;
  102. extern struct Library        *GadToolsBase;
  103. extern struct SuperPlayBase *SuperPlayBase;
  104.  
  105.  
  106. /* *************************************************** */
  107. /* *                             * */
  108. /* * Globally Referenced Variables             * */
  109. /* *                             * */
  110. /* *************************************************** */
  111.  
  112. extern struct SPS_SPOList     *SPOList;
  113.  
  114.  
  115. /* *************************************************** */
  116. /* *                             * */
  117. /* * Compiler Stuff for BackgroundIO             * */
  118. /* *                             * */
  119. /* *************************************************** */
  120.  
  121. extern BPTR _Backstdout; /* NULL, if started from Workbench */
  122.  
  123.  
  124. /* *************************************************** */
  125. /* *                             * */
  126. /* * References for GUI Access                       * */
  127. /* *                             * */
  128. /* *************************************************** */
  129.  
  130. extern struct Screen *Scr;
  131. extern struct Window *SP_Main_Wnd;
  132.  
  133.  
  134. /* *************************************************** */
  135. /* *                             * */
  136. /* * Specific Definitions                            * */
  137. /* *                             * */
  138. /* *************************************************** */
  139.  
  140. struct SP_RememberPath
  141. {
  142.  char rp_Dir  [256]; /* dir                   */
  143.  char rp_File [256]; /* file                  */
  144.  char rp_Path [256]; /* dir + ("/"| %) + file */
  145. };
  146.  
  147.  
  148. #endif /* SUPERPLAY_H */
  149.