home *** CD-ROM | disk | FTP | other *** search
/ Amiga Dream 59 / CDDream59.ISO / BeOs / Sound / Intel / PPBeDevKit.ZIP / PLAYERPR.TAR / PlayerPRO / Source / Import-Export / S3M.h < prev    next >
C/C++ Source or Header  |  1998-12-26  |  2KB  |  86 lines

  1. /********************                        ***********************/
  2. //
  3. //    Player PRO 5.0 - DRIVER SOURCE CODE -
  4. //
  5. //    Library Version 5.0
  6. //
  7. //    To use with MAD Library for Mac: Symantec, CodeWarrior and MPW
  8. //
  9. //    Antoine ROSSET
  10. //    16 Tranchees
  11. //    1206 GENEVA
  12. //    SWITZERLAND
  13. //
  14. //    COPYRIGHT ANTOINE ROSSET 1996, 1997, 1998
  15. //
  16. //    Thank you for your interest in PlayerPRO !
  17. //
  18. //    FAX:                (+41 22) 346 11 97
  19. //    PHONE:             (+41 79) 203 74 62
  20. //    Internet:     RossetAntoine@bluewin.ch
  21. //
  22. /********************                        ***********************/
  23.  
  24. #ifndef COMPIL68K 
  25. #pragma options align=mac68k
  26. #endif
  27.  
  28. typedef struct s3mform
  29. {
  30.     char                     name[28];
  31.     char                     sig1;
  32.     char                     type;
  33.     char                sig2[2];
  34.     short              ordernum;
  35.     short               insnum;
  36.     short                  patnum;
  37.     short                  flags;
  38.     short                 cwtv;
  39.     short                  ffv;
  40.     char                     s3msig[4];
  41.     unsigned char         mastervol;
  42.     unsigned char        initialspeed;
  43.     unsigned char        initialtempo;
  44.     unsigned char        mastermul;
  45.     char                     sig3[12];
  46.     unsigned char        chanset[32];
  47.     unsigned char          *orders;
  48.     unsigned short        *parapins;
  49.     unsigned short        *parappat;
  50.     struct s3minsform    *insdata;
  51. } s3mform;
  52.  
  53. typedef struct s3mPatform
  54. {
  55.     Byte    note;        // hi = oct, lo = note
  56.     Byte    intru;
  57.     Byte    vol;
  58.     Byte    SpecialCom;
  59.     Byte    ComArg;
  60. } s3mPatform;
  61.  
  62. typedef struct s3minsform
  63. {
  64.     unsigned char        instype;
  65.     unsigned char        insdosname[12];
  66.     unsigned char        memsegh;
  67.     unsigned short        memsegl;
  68.     unsigned long        inslength;
  69.     unsigned long        insloopbeg;
  70.     unsigned long        insloopend;
  71.     unsigned char        insvol;
  72.     unsigned char        insdsk;
  73.     unsigned char        inspack;
  74.     unsigned char        insflags;
  75.     unsigned long        c2spd;
  76.     unsigned char        inssig2[4];
  77.     unsigned short        insgvspos;
  78.     unsigned short        insint512;
  79.     unsigned long        insintlastused;
  80.     unsigned char        insname[28];
  81.     unsigned char        inssig[ 4];
  82. } s3minsform;
  83.                
  84. #ifndef COMPIL68K        
  85. #pragma options align=power
  86. #endif