projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create regression test for issue #36.
[open-adventure.git]
/
score.c
diff --git
a/score.c
b/score.c
index 9b3f8f3ea17ee71a1ecd05daf93d28896463fef0..368b1df439dfcc6f4e9eca5585d7443f8f9c0b3a 100644
(file)
--- a/
score.c
+++ b/
score.c
@@
-1,11
+1,14
@@
+/*
+ * Scoring and wrap-up.
+ *
+ * Copyright (c) 1977, 2005 by Will Crowther and Don Woods
+ * Copyright (c) 2017 by Eric S. Raymond
+ * SPDX-License-Identifier: BSD-2-clause
+ */
#include <stdlib.h>
#include "advent.h"
#include "dungeon.h"
#include <stdlib.h>
#include "advent.h"
#include "dungeon.h"
-/*
- * scoring and wrap-up
- */
-
static int mxscor; /* ugh..the price for having score() not exit. */
long score(enum termination mode)
static int mxscor; /* ugh..the price for having score() not exit. */
long score(enum termination mode)