srogue: more compatibility improvements.

Randomness now uses mdport, and xcrypt.c has been replaced with the
rogue5 version.

Super-Rogue now builds on MinGW.
This commit is contained in:
John "Elwin" Edwards 2014-05-03 10:31:30 -07:00
parent b9cc9cf3a7
commit 120beada5a
6 changed files with 104 additions and 66 deletions

View file

@ -287,7 +287,7 @@ char *file, **envp;
#endif
if (!wizard)
{
#ifndef __DJGPP__
#if defined(HAVE_WORKING_FORK)
endwin();
if (!use_savedir)
{
@ -344,6 +344,6 @@ char *file, **envp;
strcpy(file_name, file);
setup();
restscr(cw);
srandom(getpid());
md_srandom(getpid());
playit();
}