Mercurial > hg > early-roguelike
comparison rogue3/command.c @ 16:a731f515575e
rogue3: add the option of logging all games to a text file
author | edwarj4 |
---|---|
date | Tue, 10 Nov 2009 22:38:46 +0000 |
parents | 949d558c2162 |
children | 95e2bbb7b6e0 |
comparison
equal
deleted
inserted
replaced
15:7ef854484e08 | 16:a731f515575e |
---|---|
336 { | 336 { |
337 clear(); | 337 clear(); |
338 move(LINES-1, 0); | 338 move(LINES-1, 0); |
339 draw(stdscr); | 339 draw(stdscr); |
340 endwin(); | 340 endwin(); |
341 log(purse, 1, 0); | |
341 score(purse, 1, 0); | 342 score(purse, 1, 0); |
342 exit(0); | 343 exit(0); |
343 } | 344 } |
344 else | 345 else |
345 { | 346 { |