home *** CD-ROM | disk | FTP | other *** search
/ Phoenix Heaven Sunny 2 / APPARE2.BIN / oh_towns / install / instsnd.c < prev    next >
Text File  |  1995-06-20  |  1KB  |  64 lines

  1. /*************************************************************************
  2. *    [サウンド]インストール処理
  3. *************************************************************************/
  4.  
  5.  
  6. char    *get_inst_snd_mnu()
  7. {
  8.     char    *mnu;
  9.  
  10.     if ( (mnu = MNU_open()) == NULL )
  11.         return (NULL);
  12.     MNU_datAdd( mnu, 0, 'O', Rom16x16, 0, "install_otohime", 0, "音姫七変化"       );
  13.     MNU_datAdd( mnu, 0, 'G', Rom16x16, 0, "install_gwav"   , 0, "PCM Player 'GWAV'");
  14.     MNU_datAdd( mnu, 0, 'S', Rom16x16, 0, "install_gcanvas", 0, "GraphicCanvas"    );
  15.     MNU_setPosition(mnu,-1);
  16.  
  17.     return (mnu);
  18. }
  19.  
  20.  
  21. int        install_otohime()
  22. {
  23.     static char    *buf[7] =
  24.     {
  25.         "softname    \"音姫七変化シリーズ\"",
  26.         "instfile    /OH_TOWNS/OTOHIME    \"*.*\"",
  27.         "help        WAVHIME.GGG",
  28.         "item        \"音姫七変化/WAVE\",WAVHIME.EXG,\"\",2",
  29.         "item        \"音姫七変化/SND\" ,OTOHIME.EXP,\"\",2",
  30.         "item        \"音姫七録音機\"   ,HIMEREC.EXG,\"\",2",
  31.         NULL
  32.     };
  33.  
  34.     return install_exec(buf);
  35. }
  36.  
  37. int        install_gwav()
  38. {
  39.     static char    *buf[5] =
  40.     {
  41.         "softname    \"「PCM Player 'GWAV'」\"",
  42.         "instfile    /OH_TOWNS/GWAV    \"*.*\"",
  43.         "help        SRC/GWAV.DOC",
  44.         "item        \"PCM Player GWAV\",EXP\\GWAV.EXG,\"\",2",
  45.         NULL
  46.     };
  47.  
  48.     return install_exec(buf);
  49. }
  50.  
  51. int        install_gcanvas()
  52. {
  53.     static char    *buf[5] =
  54.     {
  55.         "softname    \"GraphicCanvas\"",
  56.         "instfile    /OH_TOWNS/GCANVAS    \"*.*\"",
  57.         "help        GCANVAS.DOC",
  58.         "item        \"GraphicCanvas\",GCANVAS.EXP,\"\",2",
  59.         NULL
  60.     };
  61.  
  62.     return install_exec(buf);
  63. }
  64.