Stubs
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user