Changeset 12476 for lang/d

Show
Ignore:
Timestamp:
05/27/08 00:25:54 (6 months ago)
Author:
omega
Message:

チャート暫定でなんとかした

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/d/koke/trunk/src/gamecore.d

    r12015 r12476  
    565565        // 作画 
    566566        void draw(){ 
     567                // この管理方法はイマイチなので後でなんかとする 
     568                 
    567569                // キャラクタごとのカラー(Character.TYPE参照) 
    568                 //                                              NONE  NICO SOWA  RAY   EXPL  UPNS  ARAS   MOVIE 
    569                 static const int r[] = [  0 ,   0 ,   0 ,   0 ,   0 ,   0 , 255 , 192 ]; 
    570                 static const int g[] = [  0 , 255 ,   0 ,   0 ,   0 ,   0 ,   0 , 192 ]; 
    571                 static const int b[] = [  0 ,   0 ,   0 ,   0 ,   0 , 255 ,   0 , 192 ]; 
     570                //                                                NONE  SOWA  RAY   EXPL  NICO  R     G     B 
     571                //                                                UPNS  R     G     B     ARAS  R     G     B 
     572                //                                                KUUY MOVIE 
     573                static const int r[] = [    0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 
     574                                                                ,   0 ,   0 ,   0 ,   0 , 255 ,   0 ,   0 ,   0 
     575                                                                ,   0 , 192 ]; 
     576                static const int g[] = [    0 ,   0 ,   0 ,   0 , 255 ,   0 ,   0 ,   0 
     577                                                                , 128 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 
     578                                                                ,   0 , 192 ]; 
     579                static const int b[] = [    0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 
     580                                                                , 255 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 
     581                                                                ,   0 , 192 ]; 
    572582                 
    573583                if(!logs[length - 1]) return; 
     
    586596                                 
    587597                                for(int e;e < logs[t].param.length ; e++){ 
     598                                        if(r.length <= e) break; 
    588599                                        if(r[e] == 0 && g[e] == 0 && b[e] == 0) continue; 
    589600