rogue4: add logging all games
This commit is contained in:
parent
f9c589b480
commit
4bc7038945
6 changed files with 75 additions and 2 deletions
|
|
@ -82,6 +82,16 @@ open_score()
|
|||
return;
|
||||
}
|
||||
|
||||
void open_log(void)
|
||||
{
|
||||
#ifdef LOGFILE
|
||||
lfd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666);
|
||||
#else
|
||||
lfd = -1;
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* setup:
|
||||
* Get starting setup for all games
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue