Skip to content

Commit

Permalink
fix(イベント待ち処理): 異なるイベント待ち同士が影響する件
Browse files Browse the repository at this point in the history
  • Loading branch information
famibee committed Jun 9, 2024
1 parent 4ade48c commit 96e1cc2
Show file tree
Hide file tree
Showing 39 changed files with 2,667 additions and 2,572 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
- fix(イベント待ち処理): 異なるイベント待ち同士が影響する件
- このように[p]待ち中に[quake]終了で[p]待ちが解除されるなどの不具合
```scheme
*A01 [ch text='A01=' wait=0] ; quake / p
[quake time=1000 hmax=8 vmax=8]
[ch text='p.' wait=0]
[p]勝手に進んだ?[r] ; 勝手に進んでしまう
wq[wq]
[r]END.[s]
```

- 以下のようなマトリックステストで動作確認
- https://famibee.github.io/SKYNovel_gallery/index.html?cur=mul_ev

| 発生\待ち | p | s | ws | wf | wq | wait_tsy | wt | wv | wait |
| -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
| A quake | ❌️ | ok | ❌️ | ❌️ | ok | ❌️ | ok | ❌️ | ❌️ |
| B fadese | ok | ok | ok | ok | ok | ok | ok | ok | ok |
| C playse | ok | ok | ok | ok | ok | ok | ok | ok | ok |
| D tsy | ❌️ | ok | ❌️ | ❌️ | ❌️ | ❌️ | ❌️ | ❌️ | ❌️ |
| E tsy_frame | ❌️ | ok | ❌️ | ❌️ | ❌️ | ❌️ | ❌️ | ❌️ | ❌️ |
| F trans | ❌️ | ok | ❌️ | ❌️ | ok | ❌️ | ok | ❌️ | ❌️ |
| G lay mov | ok | ok | ok | ok | ok | ok | ok | ok | ok |

- fix(文法解析・&代入): &st_hv = 'back;' がエラーになっていた件
- fix(文法解析・&代入): タブ文字を&代入の末尾区切りとする仕様を変更
- タブ文字に文法的な意味が生まれているのでよろしくない
- = 以降をタブ文字で揃えたいときなどに妙な挙動になるので
- fix(文字レイヤ): 先頭の空白文字に内部的に付けるルビも【\ 文字に\ ルビ】とするように
- fix(文字レイヤ): 組み込み変数 sys:sn.tagCh.doWait、sys:sn.tagCh.doWait_Kidoku を一時的に変更しても、直後の文字表示や[ch]に影響を与えなかった件
- fix(文字レイヤ): 表示文字の末尾が [ch wait=0] だと、ボタンやリンククリックを一度目受け付けない件
- fix(ムービーリソース破棄): stopVideo を SpritesMng で行うように
- perf(文法解析): 正規表現のタグ解析部で無駄な処理があったのを修正
- perf(文字表示関連、Variable): リファクタリング


## [1.53.10](https://github.com/famibee/SKYNovel/compare/v1.53.9...v1.53.10) (2024-06-05)


Expand Down
3,105 changes: 1,559 additions & 1,546 deletions dist/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/app.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/sn/CmnInterface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ export interface IVariable {
updateData(data: IData4Vari): void;
defValTrg(name: string, fnc: ISetVal): void;
doRecLog(): boolean;
get tagCh_doWait(): boolean;
get tagCh_doWait_Kidoku(): boolean;
get tagCh_msecWait(): number;
get tagCh_msecWait_Kidoku(): number;
}
export interface IValMp {
[name: string]: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/sn/CmnInterface.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/sn/CmnLib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export interface IEvtMng {
get isSkipping(): boolean;
popLocalEvts(): IHEvt2Fnc;
pushLocalEvts(a: IHEvt2Fnc): void;
waitEvent(hArg: HArg, onFire: () => void): boolean;
breakEvent(): void;
waitEvent(evnm: string, hArg: HArg, onFire: () => void): boolean;
breakEvent(evnm: string): void;
hideHint(): void;
cvsResize(): void;
noticeCompTxt(): void;
Expand Down
2 changes: 1 addition & 1 deletion dist/sn/CmnLib.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/sn/EventMng.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export declare class EventMng implements IEvtMng {
button(hArg: HArg, ctnBtn: Container, normal: () => void, hover: () => boolean, clicked: () => void): void;
hideHint(): void;
cvsResize(): void;
readonly waitEvent: (hArg: HArg, onIntr: () => void) => boolean;
breakEvent(): void;
readonly waitEvent: (evnm: string, hArg: HArg, onIntr: () => void) => boolean;
breakEvent(evnm: string): void;
noticeCompTxt(): void;
get isSkipping(): boolean;
}
Expand Down
Loading

0 comments on commit 96e1cc2

Please sign in to comment.