Movies - support the ? in mnemonics, ? will be randomly on or off during playback. Note: there is no UI for this, it makes a movie potentially non-deterministic, and is probably useless.
This commit is contained in:
parent
a28f8e5062
commit
1584a114fe
|
@ -673,7 +673,21 @@ namespace BizHawk.MultiClient
|
|||
|
||||
public bool this[int c]
|
||||
{
|
||||
get { return m[c] != '.'; }
|
||||
get
|
||||
{
|
||||
if (m[c] == '.')
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else if (m[c] == '?')
|
||||
{
|
||||
return new Random((int)DateTime.Now.Ticks).Next(0, 10) > 5;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue