"cheat" now has command-line arguments for generating cheat files
-d number of deaths. Signed integer value -s number of saves. Signed integer value -o file name of save game to write
This commit is contained in:
parent
894b3de949
commit
7392603b7d
2 changed files with 52 additions and 7 deletions
|
@ -38,7 +38,7 @@ buildregress:
|
|||
rm -f scratch.tmp
|
||||
regress:
|
||||
$(ECHO) -n "Generate cheat file: "
|
||||
../cheat
|
||||
../cheat -d -1000 -o cheat_numdie.adv
|
||||
@for file in $(TESTLOADS); do \
|
||||
$(ECHO) -n " $${file} "; grep '##' $${file}.log || echo ' ## (no description)'; \
|
||||
OPTS=`sed -n /#options:/s///p <$${file}.log`; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue