-
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
1 parent
7df70f2
commit d1e3031
Showing
8 changed files
with
140 additions
and
43 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
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
10 changes: 7 additions & 3 deletions
10
Ultima5Redux/MapUnits/TurnResults/SpecificTurnResults/ScriptTurnResults/BoostStats.cs
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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
using Ultima5Redux.Maps; | ||
using Ultima5Redux.References.Maps; | ||
|
||
namespace Ultima5Redux.MapUnits.TurnResults.SpecificTurnResults.ScriptTurnResults { | ||
public class BoostStats : CutOrIntroSceneScriptLineTurnResult { | ||
public BoostStats(CutOrIntroSceneScriptLine scriptLine) : base(TurnResultType.Script_BoostStats, | ||
TurnResulActionType.ActionRequired, scriptLine) { | ||
} | ||
public ShrineReference ShrineReference { get; } | ||
|
||
public BoostStats(CutOrIntroSceneScriptLine scriptLine, ShrineReference shrineReference) : base( | ||
TurnResultType.Script_BoostStats, | ||
TurnResulActionType.ActionRequired, scriptLine) => | ||
ShrineReference = shrineReference; | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
Ultima5Redux/MapUnits/TurnResults/SpecificTurnResults/ScriptTurnResults/ScreenEffect.cs
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 |
---|---|---|
@@ -1,9 +1,18 @@ | ||
using System; | ||
using Ultima5Redux.Maps; | ||
|
||
namespace Ultima5Redux.MapUnits.TurnResults.SpecificTurnResults.ScriptTurnResults { | ||
public class ScreenEffect : CutOrIntroSceneScriptLineTurnResult { | ||
public enum ScreenEffectType { ShakeScreen, InvertColors } | ||
|
||
public bool StartScreenEffect { get; } | ||
|
||
public ScreenEffectType TheScreenEffectType { get; } | ||
|
||
public ScreenEffect(CutOrIntroSceneScriptLine scriptLine) : base(TurnResultType.Script_ScreenEffect, | ||
TurnResulActionType.ActionRequired, scriptLine) { | ||
TheScreenEffectType = (ScreenEffectType)Enum.Parse(typeof(ScreenEffectType), scriptLine.StrParam); | ||
StartScreenEffect = scriptLine.IntParam != 0; | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.