Diff for /np2/win9x/sstpmsg.cpp between versions 1.3 and 1.4

version 1.3, 2004/02/18 02:03:37 version 1.4, 2004/02/18 20:11:37
Line 18  static char cr[] = "\\n"; Line 18  static char cr[] = "\\n";
   
 // ---- np2info extend  // ---- np2info extend
   
 #ifdef __cplusplus  
 extern "C" {  
 #endif  
 extern  RHYTHMCFG       rhythmcfg;  
 #ifdef __cplusplus  
 }  
 #endif  
   
 static const char str_jwinclr[] =  static const char str_jwinclr[] =
                                                 "256色\0ハイカラー\0フルカラー\0トゥルーカラー";                                                  "256色\0ハイカラー\0フルカラー\0トゥルーカラー";
 static const char str_jwinmode[] =  static const char str_jwinmode[] =
Line 117  static void info_jrhythm(char *str, int  Line 109  static void info_jrhythm(char *str, int 
   
 const char      *p;  const char      *p;
         char    jrhythmstr[16];          char    jrhythmstr[16];
         UINT    rhythmfault;          UINT    exist;
         UINT    i;          UINT    i;
   
         if (!(usesound & 0x6c)) {          if (!(usesound & 0x6c)) {
                 p = "不要やで";                  p = "不要やで";
         }          }
         else {          else {
                 milstr_ncpy(jrhythmstr, "BSCHTRや", sizeof(jrhythmstr));                  exist = rhythm_getcaps();
                 rhythmfault = 0;                  if (exist == 0) {
                 for (i=0; i<6; i++) {                          p = "用意されてないんか…";
                         if (rhythmcfg.pcm[i].data == NULL) {  
                                 jrhythmstr[i] = '_';  
                                 rhythmfault++;  
                         }  
                 }                  }
                 if (!rhythmfault) {                  else if (exist == 0x3f) {
                         p = "全部あるで";                          p = "全部あるで";
                 }                  }
                 else if (rhythmfault == 6) {  
                         p = "用意されてないんか…";  
                 }  
                 else {                  else {
                           milstr_ncpy(jrhythmstr, "BSCHTRや", sizeof(jrhythmstr));
                           for (i=0; i<6; i++) {
                                   if (!(exist & (1 << i))) {
                                           jrhythmstr[i] = '_';
                                   }
                           }
                         p = jrhythmstr;                          p = jrhythmstr;
                 }                  }
         }          }

Removed from v.1.3  
changed lines
  Added in v.1.4


RetroPC.NET-CVS <cvs@retropc.net>