Preliminary implementation of twitch integration
This commit is contained in:
@@ -105,6 +105,8 @@ moveloop_preamble(boolean resuming)
|
||||
invent is fully populated and the in_moveloop flag has been set */
|
||||
if (iflags.perm_invent)
|
||||
update_inventory();
|
||||
|
||||
open_twitch();
|
||||
}
|
||||
|
||||
staticfn void
|
||||
@@ -505,6 +507,7 @@ moveloop_core(void)
|
||||
#ifdef MAIL
|
||||
ckmailstatus();
|
||||
#endif
|
||||
check_twitch();
|
||||
rhack(0);
|
||||
}
|
||||
if (u.utotype) /* change dungeon level */
|
||||
@@ -801,6 +804,10 @@ newgame(void)
|
||||
void
|
||||
welcome(boolean new_game) /* false => restoring an old game */
|
||||
{
|
||||
#ifndef NO_SIGNAL
|
||||
(void) signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
|
||||
char buf[BUFSZ];
|
||||
boolean currentgend = Upolyd ? u.mfemale : flags.female;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user