Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/mty-makai/mty.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 234 by notanpe, Mon Sep 28 09:14:24 2009 UTC revision 235 by notanpe, Mon Oct 5 12:17:32 2009 UTC
# Line 2039  main(int argc, char *argv[]) Line 2039  main(int argc, char *argv[])
2039  #endif /* SELF */  #endif /* SELF */
2040    
2041       sprintf( len, "%02d", hitLen );       sprintf( len, "%02d", hitLen );
2042    
2043    #if SEQ > 0 /* だがしかし、SEQ == 8 の場合しか考えてない */
2044         /* 連モノの処理方法をちゃんと追いかけるべきだが、めんどくさいのでこれで */
2045         if ( hitLen == 0 ) [
2046          char      ref;
2047          ref = hash[2];
2048          if ( ref == hash[3] && ref == hash[4] && ref == hash[5] &&
2049               ref == hash[6] && ref == hash[7] ) {
2050           if ( ref == hash[0] && ref == hash[1] ) {
2051            strcpy( len, "勝" );
2052           }
2053           if ( ref == hash[1] && ref == hash[8] ) {
2054            strcpy( len, "勝" );
2055           }
2056           if ( ref == hash[8] && ref == hash[9] ) {
2057            strcpy( len, "勝" );
2058           }
2059          }
2060         }
2061    #endif /* SEQ */
2062    
2063  #ifdef NAMA  #ifdef NAMA
2064       hit( ofp, hash, pkt_c->uk.key, kk, k, len, MAKAI_FALSE );       hit( ofp, hash, pkt_c->uk.key, kk, k, len, MAKAI_FALSE );
2065  #else /* NAMA */  #else /* NAMA */

Legend:
Removed from v.234  
changed lines
  Added in v.235

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26