Merge branch 'FSM' into jl777

This commit is contained in:
jl777
2019-02-18 01:15:45 -11:00
committed by GitHub

View File

@@ -1272,21 +1272,12 @@ bool rogue_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const C
} }
switch ( funcid ) switch ( funcid )
{ {
case 'R': case 'G': // newgame
// validate register: within 60 blocks, not duplicate, etc. case 'R': // register
return(true); case 'K': // keystrokes
break; case 'H': // win
case 'H': // fall through case 'Q': // bailout
case 'Q': //fprintf(stderr,"ht.%d rogue.(%c)\n",height,script[1]);
// make sure any playerdata is reproduced via replay
if ( funcid == 'Q' )
{
// validate bailout constraints
}
else // 'H'
{
// validate winner constraints
}
return(true); return(true);
break; break;
default: default: