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

@@ -54,6 +54,7 @@ void main()
// DrawSceneWithMask( "black", "left", 0, 0, 1300 );
// DrawSceneWithMask( "bg_112", "left", 0, 0, 1300 );
ModSetLayerFilter(3, 256, "none");
ModDrawCharacterWithFiltering(3, 19, "sprite/normal/kuma_komaru_", "0", "right", 1, -160, 0, FALSE, 0, 0, 0, 0, 0, 20, 300, TRUE );
@@ -95,6 +96,7 @@ void main()
DisableWindow();
// DrawSceneWithMask( "bg_112", "left", 0, 0, 1300 );
// DrawBustshot( 2, "oi_si_wa_a1", -160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 20, 200, TRUE );
ModSetLayerFilter(2, 256, "none");
ModDrawCharacterWithFiltering(2, 11, "sprite/normal/oisi1_2_", "0", "left", 1, 160, 0, FALSE, 0, 0, 0, 0, 0, 0, 300, TRUE );
// DrawBustshot( 1, "kuma_def", 160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 20, 200, TRUE );
@@ -605,6 +607,7 @@ void main()
if (GetGlobalFlag(GADVMode)) { ClearMessage(); } else { OutputLineAll(NULL, "\n", Line_ContinueAfterTyping); }
DisableWindow();
ModSetLayerFilter(1, 256, "none");
ModDrawCharacterWithFiltering(1, 19, "sprite/normal/kuma_def_", "0", "right", 1, 160, 0, FALSE, 0, 0, 0, 0, 0, 20, 300, TRUE );