This commit is contained in:
jl777
2019-02-20 22:28:44 -11:00
parent 513a9cc3fc
commit b60b2118c5
3 changed files with 14 additions and 2 deletions

View File

@@ -25,6 +25,7 @@
* The main program, of course
*/
struct rogue_state globalR;
char Gametxidstr[67];
void garbage_collect();
void purge_obj_guess(struct obj_info *array,int32_t n)
@@ -151,6 +152,18 @@ int32_t flushkeystrokes(struct rogue_state *rs)
}
#else
#ifdef BUILD_ROGUE
// stubs for inside daemon
void rogue_progress(struct rogue_state *rs,uint64_t seed,char *keystrokes,int32_t num)
{
}
int32_t rogue_setplayerdata(struct rogue_state *rs,char *gametxidstr)
{
return(-1);
}
#endif
int32_t flushkeystrokes(struct rogue_state *rs)
{
if ( rs->num > 0 )