Slseepmillis

This commit is contained in:
jl777
2019-02-17 20:39:10 -11:00
parent 0a849f55b9
commit afc2c11591
3 changed files with 3 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ CClib_methods[] =
std::string CClib_rawtxgen(struct CCcontract_info *cp,uint8_t funcid,cJSON *params);
#ifdef BUILD_ROGUE
int32_t rogue_replay(uint64_t seed,int32_t sleeptime);
int32_t rogue_replay(uint64_t seed,int32_t sleepmillis);
bool rogue_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const CTransaction tx);
UniValue rogue_newgame(uint64_t txfee,struct CCcontract_info *cp,cJSON *params);

View File

@@ -253,7 +253,7 @@ int main(int argc, char **argv, char **envp)
{
seed = atol(argv[1]);
//fprintf(stderr,"replay %llu\n",(long long)seed);
return(rogue_replay(seed,50000));
return(rogue_replay(seed,10));
}
else
{

View File

@@ -337,7 +337,7 @@ int32_t rogue_replay(uint64_t seed,int32_t sleeptime)
}
fclose(fp);
}
rogue_replay2(0,seed,keystrokes,num,player,30);
rogue_replay2(0,seed,keystrokes,num,player,sleeptime);
//mvaddstr(LINES - 2, 0, (char *)"replay completed");
endwin();