home *** CD-ROM | disk | FTP | other *** search
/ Merciful 3 / Merciful_Release_3.bin / software / o / octamed / octamedv6.12.lha / programmers / libproto.h < prev    next >
C/C++ Source or Header  |  1995-03-24  |  2KB  |  58 lines

  1. /* pragmas for MEDPlayer.library V2.0 - V6.0 */
  2. #ifndef NO_PRAGMAS
  3. #pragma libcall MEDPlayerBase GetPlayer 1e 1
  4. #pragma libcall MEDPlayerBase FreePlayer 24 0
  5. #pragma libcall MEDPlayerBase PlayModule 2a 801
  6. #pragma libcall MEDPlayerBase ContModule 30 801
  7. #pragma libcall MEDPlayerBase StopPlayer 36 0
  8. /* #pragma libcall MEDPlayerBase DimOffPlayer 3c 1 --- REMOVED */
  9. #pragma libcall MEDPlayerBase SetTempo 42 1
  10. #pragma libcall MEDPlayerBase LoadModule 48 801
  11. #pragma libcall MEDPlayerBase UnLoadModule 4e 801
  12. #pragma libcall MEDPlayerBase GetCurrentModule 54 0
  13. #pragma libcall MEDPlayerBase ResetMIDI 5a 0
  14. /* functions below in V2.0 or later*/
  15. #pragma libcall MEDPlayerBase SetModnum 60 001
  16. #pragma libcall MEDPlayerBase RelocModule 66 801
  17.  
  18. /* prototypes for OctaPlayer.library V2.0 - V6.0 */
  19. #pragma libcall OctaPlayerBase GetPlayer8 1E 0
  20. #pragma libcall OctaPlayerBase FreePlayer8 24 0
  21. #pragma libcall OctaPlayerBase PlayModule8 2A 801
  22. #pragma libcall OctaPlayerBase ContModule8 30 801
  23. #pragma libcall OctaPlayerBase StopPlayer8 36 0
  24. #pragma libcall OctaPlayerBase LoadModule8 3C 801
  25. #pragma libcall OctaPlayerBase UnLoadModule8 42 801
  26. #pragma libcall OctaPlayerBase SetModnum8 48 001
  27. #pragma libcall OctaPlayerBase RelocModule8 4E 801
  28. #pragma libcall OctaPlayerBase SetHQ 54 1
  29. #endif
  30. /* prototypes */
  31. LONG GetPlayer(UWORD midi);
  32. void FreePlayer(void);
  33. void PlayModule(struct MMD0 *module);
  34. void ContModule(struct MMD0 *module);
  35. void StopPlayer(void);
  36. /* void DimOffPlayer(UWORD length); */
  37. void SetTempo(UWORD tempo);
  38. struct MMD0 *LoadModule(char *name);
  39. void UnLoadModule(struct MMD0 *module);
  40. struct MMD0 *GetCurrentModule(void);
  41. void ResetMIDI(void);
  42. void SetModnum(UWORD modnum);
  43. void RelocModule(struct MMD0 *module);
  44.  
  45. /* for octaplayer.library */
  46. LONG GetPlayer8(void);
  47. void FreePlayer8(void);
  48. void PlayModule8(struct MMD0 *module);
  49. void ContModule8(struct MMD0 *module);
  50. void StopPlayer8(void);
  51. struct MMD0 *LoadModule8(char *name);
  52. void UnLoadModule8(struct MMD0 *module);
  53. void SetModnum8(UWORD modnum);
  54. void RelocModule8(struct MMD0 *module);
  55. void SetHQ(LONG hq);
  56.  
  57. #define OCTAPLR_LIB_PROTOS 1
  58.