Mercurial > hg > early-roguelike
comparison rogue4/mach_dep.c @ 13:63b9fd7d70ce
rogue4: add -n option and system savedir
author | edwarj4 |
---|---|
date | Sat, 31 Oct 2009 01:51:52 +0000 |
parents | 9535a08ddc39 |
children | 107a467612fb |
comparison
equal
deleted
inserted
replaced
12:9535a08ddc39 | 13:63b9fd7d70ce |
---|---|
75 #ifdef SCOREFILE | 75 #ifdef SCOREFILE |
76 fd = open(SCOREFILE, O_RDWR | O_CREAT, 0666 ); | 76 fd = open(SCOREFILE, O_RDWR | O_CREAT, 0666 ); |
77 #else | 77 #else |
78 fd = -1; | 78 fd = -1; |
79 #endif | 79 #endif |
80 md_normaluser(); | 80 if (!use_savedir) |
81 md_normaluser(); | |
82 return; | |
81 } | 83 } |
82 | 84 |
83 /* | 85 /* |
84 * setup: | 86 * setup: |
85 * Get starting setup for all games | 87 * Get starting setup for all games |