AwarsIVのリポジトリです
修订版 | 8b7aeee4537ad0c2cdce62db66750d5b3099eac4 (tree) |
---|---|
时间 | 2016-08-02 08:08:35 |
作者 | Killery <Killery@kiri...> |
Commiter | Killery |
細かなバグを修正
@@ -717,7 +717,7 @@ typedef struct _MAPSCRIPT7B{ | ||
717 | 717 | |
718 | 718 | typedef struct _MAPSCRIPT7{ |
719 | 719 | |
720 | - bool type; | |
720 | + int type; | |
721 | 721 | bool maxFlag; |
722 | 722 | bool percentFlag; |
723 | 723 | bool extendFlag; |
@@ -7047,7 +7047,7 @@ ahhh:{} | ||
7047 | 7047 | } |
7048 | 7048 | [bplayer1 setImage:U->C.imgb]; |
7049 | 7049 | [bplayer1 setImageScaling:NSScaleToFit]; |
7050 | - [nplayer1 setStringValue:U->C.name]; | |
7050 | + [nplayer1 setStringValue:U->C.nameNick]; | |
7051 | 7051 | [tplayer1 setStringValue:[NSString stringWithFormat:@"HP %g/%g", U->C.S_C.HP, U->C.S_M.HP]]; |
7052 | 7052 | [lplayer1 setIntValue:U->C.S_C.HP/U->C.S_M.HP*100]; |
7053 | 7053 | [iplayer1 setImage:MC[chipNum[U->x][U->y]].img]; |
@@ -7063,7 +7063,7 @@ ahhh:{} | ||
7063 | 7063 | } |
7064 | 7064 | [bplayer2 setImage:U->C.imgb]; |
7065 | 7065 | [bplayer1 setImageScaling:NSScaleToFit]; |
7066 | - [nplayer2 setStringValue:U->C.name]; | |
7066 | + [nplayer2 setStringValue:U->C.nameNick]; | |
7067 | 7067 | [tplayer2 setStringValue:[NSString stringWithFormat:@"HP %g/%g", U->C.S_C.HP, U->C.S_M.HP]]; |
7068 | 7068 | [lplayer2 setIntValue:U->C.S_C.HP/U->C.S_M.HP*100]; |
7069 | 7069 | [iplayer2 setImage:MC[chipNum[U->x][U->y]].img]; |
@@ -9107,7 +9107,7 @@ ahhh:{} | ||
9107 | 9107 | || (btAttackType1 == BT_TYPE_MAGIC && btAttackMoveValue1 < 5) |
9108 | 9108 | || (btAttackType1 == BT_TYPE_ABILITY && btAttackMoveValue1 < 2)){ |
9109 | 9109 | |
9110 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@の%@\n", U->C.name, U->C.A->name]]; | |
9110 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@の%@\n", U->C.nameNick, U->C.A->name]]; | |
9111 | 9111 | |
9112 | 9112 | [battleDialog setStringValue:message]; |
9113 | 9113 | U->C.A = aTop; |
@@ -9127,12 +9127,12 @@ ahhh:{} | ||
9127 | 9127 | return; |
9128 | 9128 | } |
9129 | 9129 | |
9130 | - if(!battleDef1Flag && !battleDod1Flag) message = [message stringByAppendingString:[NSString stringWithFormat:@"%@の%@\n", U->C.name, U->C.A->name]]; | |
9130 | + if(!battleDef1Flag && !battleDod1Flag) message = [message stringByAppendingString:[NSString stringWithFormat:@"%@の%@\n", U->C.nameNick, U->C.A->name]]; | |
9131 | 9131 | |
9132 | 9132 | |
9133 | 9133 | [bplayer2 setImage:U2->C.imgb]; |
9134 | 9134 | [bplayer2 setImageScaling:NSScaleToFit]; |
9135 | - [nplayer2 setStringValue:U2->C.name]; | |
9135 | + [nplayer2 setStringValue:U2->C.nameNick]; | |
9136 | 9136 | [tplayer2 setStringValue:[NSString stringWithFormat:@"HP %g/%g", U2->C.S_C.HP, U2->C.S_M.HP]]; |
9137 | 9137 | [lplayer2 setIntValue:U2->C.S_C.HP/U2->C.S_M.HP*100]; |
9138 | 9138 | [iplayer2 setImage:MC[chipNum[U2->x][U2->y]].img]; |
@@ -9177,6 +9177,7 @@ ahhh:{} | ||
9177 | 9177 | |
9178 | 9178 | if(AVpreview) { |
9179 | 9179 | AVPV.player = [AVpreview retain]; |
9180 | + AVPV.videoGravity = AVLayerVideoGravityResize; | |
9180 | 9181 | }else{ |
9181 | 9182 | goto avAWESOME; |
9182 | 9183 | } |
@@ -9440,17 +9441,17 @@ ahhh:{} | ||
9440 | 9441 | if(![U2A->msg isEqualToString:@""]){ |
9441 | 9442 | |
9442 | 9443 | message = [message stringByAppendingString:[NSString stringWithFormat:@"%@\n", |
9443 | - [self originalMessage:U2A->msg subj:U2->C.name obje:U->C.name]]]; | |
9444 | + [self originalMessage:U2A->msg subj:U2->C.nameNick obje:U->C.nameNick]]]; | |
9444 | 9445 | |
9445 | 9446 | } |
9446 | 9447 | |
9447 | 9448 | if(grazeFlag) message = [message stringByAppendingString:[NSString stringWithFormat:@"かすりヒット!\n"]]; |
9448 | 9449 | if(!healFlag) { |
9449 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は%gのダメージを受けた!", U->C.name, dmg]]; | |
9450 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は%gのダメージを受けた!", U->C.nameNick, dmg]]; | |
9450 | 9451 | btHitFlag1 = true; |
9451 | 9452 | } |
9452 | 9453 | else { |
9453 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@はHPが%g回復した!", U->C.name, dmg]]; | |
9454 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@はHPが%g回復した!", U->C.nameNick, dmg]]; | |
9454 | 9455 | btHitFlag1 = false; |
9455 | 9456 | } |
9456 | 9457 | }else if(battleDef1Flag){ |
@@ -9462,7 +9463,7 @@ ahhh:{} | ||
9462 | 9463 | } |
9463 | 9464 | |
9464 | 9465 | |
9465 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は身構えている", U->C.name]]; | |
9466 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は身構えている", U->C.nameNick]]; | |
9466 | 9467 | |
9467 | 9468 | btHitFlag1 = false; |
9468 | 9469 |
@@ -9473,12 +9474,12 @@ ahhh:{} | ||
9473 | 9474 | U = U->next; |
9474 | 9475 | } |
9475 | 9476 | |
9476 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は様子をうかがっている", U->C.name]]; | |
9477 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は様子をうかがっている", U->C.nameNick]]; | |
9477 | 9478 | |
9478 | 9479 | btHitFlag1 = false; |
9479 | 9480 | }else{ |
9480 | 9481 | |
9481 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"ミス!%@はダメージを受けていない!", U->C.name]]; | |
9482 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"ミス!%@はダメージを受けていない!", U->C.nameNick]]; | |
9482 | 9483 | btHitFlag1 = false; |
9483 | 9484 | |
9484 | 9485 | } |
@@ -9721,7 +9722,7 @@ ahhh:{} | ||
9721 | 9722 | || (btAttackType2 == BT_TYPE_ABILITY && btAttackMoveValue2 < 2)){ |
9722 | 9723 | |
9723 | 9724 | |
9724 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@の%@\n", U->C.name, U->C.A->name]]; | |
9725 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@の%@\n", U->C.nameNick, U->C.A->name]]; | |
9725 | 9726 | |
9726 | 9727 | [battleDialog setStringValue:message]; |
9727 | 9728 | U->C.A = aTop2; |
@@ -9730,7 +9731,7 @@ ahhh:{} | ||
9730 | 9731 | return; |
9731 | 9732 | } |
9732 | 9733 | |
9733 | - if(!battleDef2Flag && !battleDod2Flag) message = [message stringByAppendingString:[NSString stringWithFormat:@"%@の%@\n", U->C.name, U->C.A->name]]; | |
9734 | + if(!battleDef2Flag && !battleDod2Flag) message = [message stringByAppendingString:[NSString stringWithFormat:@"%@の%@\n", U->C.nameNick, U->C.A->name]]; | |
9734 | 9735 | |
9735 | 9736 | if(!battleDef1Flag && !battleDod1Flag && !avPlayerFlag2 && ![U->C.A->AN.movName isEqualToString:@""] && ![U->C.A->AN.movName isEqualToString:@"(null)"] && U->C.A->AN.movName != NULL){ |
9736 | 9737 | [[NSFileManager defaultManager] changeCurrentDirectoryPath:[[[NSBundle mainBundle] bundlePath] stringByDeletingLastPathComponent]]; |
@@ -9748,6 +9749,7 @@ ahhh:{} | ||
9748 | 9749 | |
9749 | 9750 | if(AVpreview) { |
9750 | 9751 | AVPV.player = [AVpreview retain]; |
9752 | + AVPV.videoGravity = AVLayerVideoGravityResize; | |
9751 | 9753 | }else{ |
9752 | 9754 | goto avAWESOME2; |
9753 | 9755 | } |
@@ -10029,7 +10031,7 @@ ahhh:{} | ||
10029 | 10031 | |
10030 | 10032 | if(![U2A->msg isEqualToString:@""]){ |
10031 | 10033 | message = [message stringByAppendingString:[NSString stringWithFormat:@"%@\n", |
10032 | - [self originalMessage:U2A->msg subj:U2->C.name obje:U->C.name]]]; | |
10034 | + [self originalMessage:U2A->msg subj:U2->C.nameNick obje:U->C.nameNick]]]; | |
10033 | 10035 | } |
10034 | 10036 | |
10035 | 10037 |
@@ -10037,7 +10039,7 @@ ahhh:{} | ||
10037 | 10039 | if(grazeFlag) |
10038 | 10040 | message = [message stringByAppendingString:[NSString stringWithFormat:@"かすりヒット!\n"]]; |
10039 | 10041 | |
10040 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は%gのダメージを受けた!", U->C.name, dmg]]; | |
10042 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は%gのダメージを受けた!", U->C.nameNick, dmg]]; | |
10041 | 10043 | btHitFlag2 = true; |
10042 | 10044 | |
10043 | 10045 | }else if(battleDef2Flag){ |
@@ -10049,7 +10051,7 @@ ahhh:{} | ||
10049 | 10051 | } |
10050 | 10052 | |
10051 | 10053 | |
10052 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は身構えている", U->C.name]]; | |
10054 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は身構えている", U->C.nameNick]]; | |
10053 | 10055 | btHitFlag2 = false; |
10054 | 10056 | |
10055 | 10057 | }else if(battleDod2Flag){ |
@@ -10059,12 +10061,12 @@ ahhh:{} | ||
10059 | 10061 | U = U->next; |
10060 | 10062 | } |
10061 | 10063 | |
10062 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は様子をうかがっている", U->C.name]]; | |
10064 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は様子をうかがっている", U->C.nameNick]]; | |
10063 | 10065 | |
10064 | 10066 | btHitFlag2 = false; |
10065 | 10067 | }else{ |
10066 | 10068 | |
10067 | - message = [message stringByAppendingString:[NSString stringWithFormat:@"ミス!%@はダメージを受けていない!", U->C.name]]; | |
10069 | + message = [message stringByAppendingString:[NSString stringWithFormat:@"ミス!%@はダメージを受けていない!", U->C.nameNick]]; | |
10068 | 10070 | btHitFlag2 = false; |
10069 | 10071 | } |
10070 | 10072 | SKIP1: |
@@ -10233,6 +10235,7 @@ ahhh:{} | ||
10233 | 10235 | |
10234 | 10236 | if(AVpreview) { |
10235 | 10237 | AVPV.player = [AVpreview retain]; |
10238 | + AVPV.videoGravity = AVLayerVideoGravityResize; | |
10236 | 10239 | }else{ |
10237 | 10240 | goto avAWESOME1A; |
10238 | 10241 | } |
@@ -10562,6 +10565,7 @@ avAWESOME1A:{} | ||
10562 | 10565 | |
10563 | 10566 | if(AVpreview) { |
10564 | 10567 | AVPV.player = [AVpreview retain]; |
10568 | + AVPV.videoGravity = AVLayerVideoGravityResize; | |
10565 | 10569 | }else{ |
10566 | 10570 | goto avAWESOME1B; |
10567 | 10571 | } |
@@ -10857,6 +10861,7 @@ SKIP1: | ||
10857 | 10861 | |
10858 | 10862 | if(AVpreview) { |
10859 | 10863 | AVPV.player = [AVpreview retain]; |
10864 | + AVPV.videoGravity = AVLayerVideoGravityResize; | |
10860 | 10865 | }else{ |
10861 | 10866 | goto avAWESOME2A; |
10862 | 10867 | } |
@@ -11201,6 +11206,7 @@ avAWESOME2A:{} | ||
11201 | 11206 | |
11202 | 11207 | if(AVpreview) { |
11203 | 11208 | AVPV.player = [AVpreview retain]; |
11209 | + AVPV.videoGravity = AVLayerVideoGravityResize; | |
11204 | 11210 | }else{ |
11205 | 11211 | goto avAWESOME2B; |
11206 | 11212 | } |
@@ -11546,6 +11552,7 @@ SKIP1: | ||
11546 | 11552 | |
11547 | 11553 | if(AVpreview) { |
11548 | 11554 | AVPV.player = [AVpreview retain]; |
11555 | + AVPV.videoGravity = AVLayerVideoGravityResize; | |
11549 | 11556 | }else{ |
11550 | 11557 | goto avAWESOME3A; |
11551 | 11558 | } |
@@ -11922,6 +11929,7 @@ avAWESOME3A:{} | ||
11922 | 11929 | |
11923 | 11930 | if(AVpreview) { |
11924 | 11931 | AVPV.player = [AVpreview retain]; |
11932 | + AVPV.videoGravity = AVLayerVideoGravityResize; | |
11925 | 11933 | }else{ |
11926 | 11934 | goto avAWESOME3B; |
11927 | 11935 | } |
@@ -408,7 +408,7 @@ | ||
408 | 408 | [topIV setImage:UC[SLindexU].imgb]; |
409 | 409 | [topIV setImageScaling:NSScaleToFit]; |
410 | 410 | |
411 | - [topName setStringValue:[NSString stringWithFormat:@"%@", UC[SLindexU].name]]; | |
411 | + [topName setStringValue:[NSString stringWithFormat:@"%@", UC[SLindexU].nameNick]]; | |
412 | 412 | |
413 | 413 | [topHealth setStringValue:[NSString stringWithFormat:@"HP %g", UC[SLindexU].S_M.HP]]; |
414 | 414 | }else if(SLSx == 3){ |
@@ -399,6 +399,7 @@ bool ATalphaFlag; | ||
399 | 399 | |
400 | 400 | bool attackEffectPreviewBtnFlag; |
401 | 401 | |
402 | +bool aniSelectedFlag; | |
402 | 403 | |
403 | 404 | @interface UnitChipList : NSObject |
404 | 405 | { |
@@ -811,7 +812,7 @@ bool attackEffectPreviewBtnFlag; | ||
811 | 812 | |
812 | 813 | |
813 | 814 | |
814 | - | |
815 | +-(void)alphaFlagBtnFunc; | |
815 | 816 | |
816 | 817 | -(void)aniTFChanged; |
817 | 818 | @end |
@@ -831,5 +832,10 @@ UnitChipList *UnitChipListInst; | ||
831 | 832 | int imgGy; |
832 | 833 | |
833 | 834 | } |
835 | + | |
836 | +-(void)EventLoopAN:(NSTimer*)timer; | |
837 | + | |
834 | 838 | @end |
835 | 839 | |
840 | +UnitChipListEV *unitChipListEVInst; | |
841 | + |
@@ -1019,6 +1019,10 @@ bool InitialFlag; | ||
1019 | 1019 | } |
1020 | 1020 | } |
1021 | 1021 | |
1022 | +-(void)alphaFlagBtnFunc{ | |
1023 | + if([ATalphaBtn state] == YES) ATalphaFlag = true; | |
1024 | + else ATalphaFlag = false; | |
1025 | +} | |
1022 | 1026 | -(void)setTotalDamage:(int)index row:(int)row{ |
1023 | 1027 | |
1024 | 1028 | ATTACK *Atop; |
@@ -2307,7 +2311,7 @@ bool eHandLFlag = false; | ||
2307 | 2311 | UC[clickIndex].imgb = [[IVimgBig image] retain]; |
2308 | 2312 | UC[clickIndex].aura = [Baura intValue]; |
2309 | 2313 | |
2310 | - [unitChipListAC setValue:[NSString stringWithFormat:@"%@", UC[clickIndex].name] forKeyPath:@"selection.name"]; | |
2314 | + [unitChipListAC setValue:[NSString stringWithFormat:@"%@", UC[clickIndex].nameNick] forKeyPath:@"selection.name"]; | |
2311 | 2315 | [unitChipListAC setValue:[NSString stringWithFormat:@"%@", UC[clickIndex].nameClass] forKeyPath:@"selection.nameC"]; |
2312 | 2316 | [unitChipListAC setValue:[NSString stringWithFormat:@"%g", UC[clickIndex].S_M.HP] forKeyPath:@"selection.HP"]; |
2313 | 2317 | [unitChipListAC setValue:[NSString stringWithFormat:@"%g", UC[clickIndex].S_M.BP] forKeyPath:@"selection.BP"]; |
@@ -5111,7 +5115,7 @@ bool eHandLFlag = false; | ||
5111 | 5115 | |
5112 | 5116 | [dict setValue:UC[i].img forKey:@"img"]; |
5113 | 5117 | [dict setValue:UC[i].imgb forKey:@"imgBig"]; |
5114 | - [dict setValue:[NSString stringWithFormat:@"%@", UC[i].name] forKey:@"name"]; | |
5118 | + [dict setValue:[NSString stringWithFormat:@"%@", UC[i].nameNick] forKey:@"name"]; | |
5115 | 5119 | [dict setValue:[NSString stringWithFormat:@"%g", UC[i].S_M.HP] forKey:@"HP"]; |
5116 | 5120 | [dict setValue:[NSString stringWithFormat:@"%g", UC[i].S_M.BP] forKey:@"BP"]; |
5117 | 5121 | [dict setValue:[NSString stringWithFormat:@"%@", UC[i].nameClass] forKey:@"nameC"]; |
@@ -7951,11 +7955,14 @@ int omfgErase() { | ||
7951 | 7955 | |
7952 | 7956 | |
7953 | 7957 | [ATmovFileNameTF setStringValue:A->AN.movName]; |
7954 | - | |
7958 | + [ATmovBC setState:YES]; | |
7959 | + [ATaniBC setState:NO]; | |
7955 | 7960 | |
7956 | 7961 | |
7957 | 7962 | }else{ |
7958 | 7963 | [ATmovFileNameTF setStringValue:@""]; |
7964 | + [ATmovBC setState:NO]; | |
7965 | + [ATaniBC setState:YES]; | |
7959 | 7966 | } |
7960 | 7967 | |
7961 | 7968 | A = atkTop; |
@@ -8014,6 +8021,8 @@ int omfgErase() { | ||
8014 | 8021 | } |
8015 | 8022 | } |
8016 | 8023 | |
8024 | + aniSelectedFlag = true; | |
8025 | + | |
8017 | 8026 | [ATEffectWindow makeKeyAndOrderFront:nil]; |
8018 | 8027 | |
8019 | 8028 | } |
@@ -8065,6 +8074,7 @@ int omfgErase() { | ||
8065 | 8074 | path = [path stringByAppendingString:A->AN.movName]; |
8066 | 8075 | |
8067 | 8076 | AVpreview2 = [AVPlayer playerWithURL:[NSURL fileURLWithPath:path]]; |
8077 | + | |
8068 | 8078 | |
8069 | 8079 | |
8070 | 8080 | }else if(!loadChipSideFlag){ |
@@ -8090,6 +8100,7 @@ int omfgErase() { | ||
8090 | 8100 | } |
8091 | 8101 | if(AVpreview2){ |
8092 | 8102 | AVPV2.player = [AVpreview2 retain]; |
8103 | + AVPV2.videoGravity = AVLayerVideoGravityResize; | |
8093 | 8104 | }else{ |
8094 | 8105 | A = atkTop; |
8095 | 8106 | return; |
@@ -8189,7 +8200,7 @@ int omfgErase() { | ||
8189 | 8200 | |
8190 | 8201 | -(IBAction)attackEffectCloseBtn:(id)sender{ |
8191 | 8202 | |
8192 | - | |
8203 | + aniSelectedFlag = false; | |
8193 | 8204 | |
8194 | 8205 | ATTACK *A; |
8195 | 8206 |
@@ -8664,6 +8675,8 @@ int omfgErase() { | ||
8664 | 8675 | frameNum = 1; |
8665 | 8676 | } |
8666 | 8677 | [ATframeCntTF setStringValue:[NSString stringWithFormat:@"%d/%d", frameNum, frameMax]]; |
8678 | + | |
8679 | + [unitChipListEVInst EventLoopAN:nil]; | |
8667 | 8680 | } |
8668 | 8681 | -(IBAction)attackEffectPrev:(id)sender{ |
8669 | 8682 |
@@ -8673,6 +8686,8 @@ int omfgErase() { | ||
8673 | 8686 | frameNum = frameMax; |
8674 | 8687 | } |
8675 | 8688 | [ATframeCntTF setStringValue:[NSString stringWithFormat:@"%d/%d", frameNum, frameMax]]; |
8689 | + | |
8690 | + [unitChipListEVInst EventLoopAN:nil]; | |
8676 | 8691 | } |
8677 | 8692 | |
8678 | 8693 |
@@ -8772,6 +8787,8 @@ int omfgErase() { | ||
8772 | 8787 | userInfo:nil |
8773 | 8788 | repeats:YES |
8774 | 8789 | ]; |
8790 | + | |
8791 | + unitChipListEVInst = self; | |
8775 | 8792 | } |
8776 | 8793 | |
8777 | 8794 |
@@ -8779,11 +8796,14 @@ int omfgErase() { | ||
8779 | 8796 | } |
8780 | 8797 | |
8781 | 8798 | -(void)EventLoopAN:(NSTimer*)timer{ |
8799 | + | |
8800 | + if (!aniSelectedFlag) | |
8801 | + return; | |
8802 | + | |
8782 | 8803 | static int frameCnt = 0; |
8783 | 8804 | |
8784 | 8805 | if(!frameRunFlag){ |
8785 | 8806 | frameCnt = 0; |
8786 | - return; | |
8787 | 8807 | } |
8788 | 8808 | |
8789 | 8809 | ATTACK *A; |
@@ -8798,12 +8818,21 @@ int omfgErase() { | ||
8798 | 8818 | } |
8799 | 8819 | |
8800 | 8820 | } |
8801 | - atkTop = A; | |
8802 | 8821 | |
8822 | + if(clickIndexAL < 0) | |
8823 | + return; | |
8824 | + | |
8825 | + [UnitChipListInst alphaFlagBtnFunc]; | |
8826 | + | |
8827 | + atkTop = A; | |
8828 | + | |
8803 | 8829 | for(int i = 0;i < clickIndexAL;i++){ |
8804 | 8830 | A = A->next; |
8805 | 8831 | } |
8806 | 8832 | |
8833 | + if(!A) | |
8834 | + return; | |
8835 | + | |
8807 | 8836 | if(frameCnt == 0){ |
8808 | 8837 | |
8809 | 8838 | ani = A->AN.ANI; |
@@ -8813,6 +8842,9 @@ int omfgErase() { | ||
8813 | 8842 | ani = ani->next; |
8814 | 8843 | } |
8815 | 8844 | |
8845 | + if(!ani) | |
8846 | + return; | |
8847 | + | |
8816 | 8848 | if(ani->snd){ |
8817 | 8849 | [ani->snd setCurrentTime:0]; |
8818 | 8850 | [ani->snd play]; |
@@ -6745,7 +6745,7 @@ | ||
6745 | 6745 | <action selector="addSubjMark:" target="3039" id="HBn-23-ynG"/> |
6746 | 6746 | </connections> |
6747 | 6747 | </button> |
6748 | - <button verticalHuggingPriority="750" id="eHr-lL-qfg"> | |
6748 | + <button hidden="YES" verticalHuggingPriority="750" id="eHr-lL-qfg"> | |
6749 | 6749 | <rect key="frame" x="508" y="76" width="92" height="32"/> |
6750 | 6750 | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> |
6751 | 6751 | <buttonCell key="cell" type="push" title="特殊項目" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="yQ7-Vj-wCa"> |
@@ -9065,7 +9065,7 @@ | ||
9065 | 9065 | <autoresizingMask key="autoresizingMask"/> |
9066 | 9066 | </scroller> |
9067 | 9067 | <scroller key="verticalScroller" verticalHuggingPriority="750" horizontal="NO" id="10395"> |
9068 | - <rect key="frame" x="465" y="1" width="16" height="480"/> | |
9068 | + <rect key="frame" x="466" y="1" width="15" height="480"/> | |
9069 | 9069 | <autoresizingMask key="autoresizingMask"/> |
9070 | 9070 | </scroller> |
9071 | 9071 | </scrollView> |