-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
void main() | ||
{ | ||
} | ||
|
||
void OpeningQuestion() | ||
{ | ||
if (GetGlobalFlag(GVideoOpening) == 0) { | ||
OutputLine(NULL, "オープニング動画は多少のネタバレ要素を含んでいますが、再生を有効にしますか?", | ||
NULL, "Video opening might contain minor spoilers. Do you want to enable it anyway?", Line_Normal); | ||
|
||
char Item[2]; | ||
|
||
if (GetGlobalFlag(GLanguage) == 1) { | ||
Item[0] = "Enable opening"; | ||
Item[1] = "Disable opening"; | ||
} else { | ||
Item[0] = "動画再生を有効化"; | ||
Item[1] = "動画再生を無効化"; | ||
} | ||
|
||
Select( 2, Item ); | ||
|
||
if (LoadValueFromLocalWork(SelectResult) == 0) { | ||
SetGlobalFlag(GVideoOpening, 2); | ||
} else { | ||
SetGlobalFlag(GVideoOpening, 1); | ||
} | ||
|
||
DisableWindow(); | ||
} | ||
} | ||
|
||
void OpeningLaunch() | ||
{ | ||
if (GetGlobalFlag(GVideoOpening) >= 3) { | ||
ModPlayMovie("mv03"); | ||
} | ||
} | ||
|
||
void OpeningStory() | ||
{ | ||
if (GetGlobalFlag(GVideoOpening) >= 2) { | ||
SetGlobalFlag(GVideoOpening, 3); | ||
ModPlayMovie("mv03"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters