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 231 by notanpe, Mon Sep 14 06:29:50 2009 UTC revision 232 by notanpe, Mon Sep 14 08:33:27 2009 UTC
# Line 132  int    special = 0; Line 132  int    special = 0;
132  #define ST_NIKO 1<<0x1 /* 二構 */  #define ST_NIKO 1<<0x1 /* 二構 */
133  #define ST_BUOO 1<<0x8 /* ぶお */  #define ST_BUOO 1<<0x8 /* ぶお */
134  #define ST_DOSU 1<<0x9 /* 怒数 */  #define ST_DOSU 1<<0x9 /* 怒数 */
135    #define ST_CHIN 1<<0xb /* ^Chinko Uni では感嘆用のフラグ */
136  #define ST_EROI 1<<0xc /* エロい人 Uni では拡飛のフラグ */  #define ST_EROI 1<<0xc /* エロい人 Uni では拡飛のフラグ */
137  #define ST_HREN 1<<0xd /* 飛連 */  #define ST_HREN 1<<0xd /* 飛連 */
 #define ST_CHIN 1<<0xb /* ^Chinko Uni では感嘆用のフラグ */  
138  #define ST_YAKU 1<<0xe /* 八雲 */  #define ST_YAKU 1<<0xe /* 八雲 */
139    
140  #ifdef REON  #ifdef REON
# Line 1254  unsigned char  *kind; Line 1254  unsigned char  *kind;
1254     }     }
1255    }    }
1256    
1257      if ( special & ST_EROI ) {
1258       /* エロい人 looooloooo */
1259       if ( trip[0] == trip[5] &&
1260            trip[1] == trip[2] && trip[1] == trip[3] && trip[1] == trip[4] &&
1261            trip[1] == trip[6] && trip[1] == trip[7] && trip[1] == trip[8] &&
1262            trip[1] == trip[9] ) {
1263        strcpy( kind, "エ" );
1264        return( tfp );
1265       }
1266      }
1267    
1268    if ( special & ST_NIKO ) {    if ( special & ST_NIKO ) {
1269     /* 二構 */     /* 二構 */
1270     int  i;     int  i;
# Line 1271  unsigned char  *kind; Line 1282  unsigned char  *kind;
1282    }    }
1283    NONIKO:    NONIKO:
1284    
   if ( special & ST_EROI ) {  
    /* エロい人 looooloooo */  
    if ( trip[0] == trip[5] &&  
         trip[1] == trip[2] && trip[1] == trip[3] && trip[1] == trip[4] &&  
         trip[1] == trip[6] && trip[1] == trip[7] && trip[1] == trip[8] &&  
         trip[1] == trip[9] ) {  
     strcpy( kind, "エ" );  
     return( tfp );  
    }  
   }  
   
1285    if ( special & ST_YAKU ) {    if ( special & ST_YAKU ) {
1286     /* 八雲 */     /* 八雲 */
1287     if ( trip[0] == trip[1] && trip[0] == trip[2] &&     if ( trip[0] == trip[1] && trip[0] == trip[2] &&
# Line 1560  main(int argc, char *argv[]) Line 1560  main(int argc, char *argv[])
1560       printf( "全数 " );       printf( "全数 " );
1561      }      }
1562     }     }
1563       if ( special & ST_EROI ) {
1564        printf( "エロ " );
1565       }
1566     if ( special & ST_NIKO ) {     if ( special & ST_NIKO ) {
1567      printf( "二構 " );      printf( "二構 " );
1568     }     }

Legend:
Removed from v.231  
changed lines
  Added in v.232

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