Use ModSetLayerFilter

This commit is contained in:
Jáchym Toušek
2019-10-09 20:52:43 +02:00
parent 41a1895865
commit 6859bddbfc
37 changed files with 204 additions and 101 deletions

View File

@@ -3248,6 +3248,7 @@ void main()
ClearMessage();
DisableWindow();
DrawSceneWithMask("black", "c", 0, 0, 300 );
ModSetLayerFilter(3, 256, "none");
ModDrawCharacterWithFiltering(3, 3, "sprite/normal/me2_hig_maji_a1_", "0", "right", 1, 160, 0, FALSE, 0, 0, 0, 0, 0, 20, 300, TRUE );
//"... ......さぁてね。...おじさんにわからないことはないからね...。"
@@ -3261,7 +3262,8 @@ void main()
ClearMessage();
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2a_def_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 0, FALSE );
ModSetLayerFilter(2, 256, "night");
ModDrawCharacter(2, 2, "sprite/normal/re2a_def_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 0, FALSE );
DrawSceneWithMask("background/ma2", "c", 0, 0, 1300 );
//「レ、...レナひとり...
@@ -3300,7 +3302,7 @@ void main()
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2a_nande_a1_", "1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2a_nande_a1_", "1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「.........ねぇ圭一くん、ちゃんとドアを開けてお話したいな...@レナは玄関に入っちゃ、だめなのかな? ...かな?@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
@@ -3334,7 +3336,7 @@ void main()
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2a_komaru_a2_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2a_komaru_a2_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「!s100........................!sdなら、...仕方ないかな。@
@@ -3398,7 +3400,7 @@ void main()
NULL, "Since it didn't seem like I'd remove the chain from her silent urging, she appeared to give up on trying to get into the entranceway.", Line_Normal);
ClearMessage();
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2a_def_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2a_def_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「......あのさ、圭一くん、...ご飯食べた?@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
@@ -3448,7 +3450,7 @@ void main()
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2b_warai_b1_", "2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2b_warai_b1_", "2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「あ、あははは、じゃあ良かった@ これ見て@お惣菜とか持ってきてあげたの。@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
@@ -3856,7 +3858,7 @@ void main()
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2b_hau_b1_", "1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2b_hau_b1_", "1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「え... ...そうなの@ そうなの?@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
@@ -3912,7 +3914,7 @@ void main()
NULL, " So...\"", Line_Normal);
ClearMessage();
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2a_nande_a1_", "1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2a_nande_a1_", "1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「え...? おかず、あるの?¥
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
@@ -3956,7 +3958,7 @@ void main()
NULL, "And that... I was aware of it as well.", Line_Normal);
ClearMessage();
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2a_warai_a1_", "2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2a_warai_a1_", "2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「圭一くんもおかずとか作れるんだね@...何を作ったのかな?@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
@@ -3992,7 +3994,7 @@ void main()
NULL, "No... not so much that I'd made them... but rather that my mom hadn't.", Line_Normal);
ClearMessage();
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2a_komaru_a2_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2a_komaru_a2_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「......本当に作ったの@ おかず@...圭一くんが?@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
@@ -4050,7 +4052,7 @@ void main()
NULL, " At that moment... I felt that the light had suddenly disappeared from her eyes.", Line_Normal);
ClearMessage();
DisableWindow();
ModDrawCharacter(2, 2, "sprite/night/re2a_def_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2a_def_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「.........圭一くんのお夕飯、当ててみようか。@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
@@ -4278,7 +4280,7 @@ void main()
ClearMessage();
DisableWindow();
PlayBGM( 1, "msys08", 56, 0 );
ModDrawCharacter(2, 2, "sprite/night/re2b_hig_muhyou_b1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
ModDrawCharacter(2, 2, "sprite/normal/re2b_hig_muhyou_b1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
//「.........どうして?@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }