projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More more globals into the game state block.
[open-adventure.git]
/
score.c
diff --git
a/score.c
b/score.c
index 103982e464337e1c41e1271a3013cea5b8b1d1c2..31994c20c36da0bb0759ffe1748ef439f91033f6 100644
(file)
--- a/
score.c
+++ b/
score.c
@@
-1,7
+1,6
@@
#include <stdlib.h>
#include <stdlib.h>
-#include "misc.h"
-#include "main.h"
-#include "share.h"
+#include "advent.h"
+#include "database.h"
/*
* scoring and wrap-up
/*
* scoring and wrap-up
@@
-32,7
+31,7
@@
void score(long MODE) {
SCORE=0;
MXSCOR=0;
SCORE=0;
MXSCOR=0;
-/* First tally up the treasures.
m
ust be in building and not broken.
+/* First tally up the treasures.
M
ust be in building and not broken.
* Give the poor guy 2 points just for finding each treasure. */
/* 20010 */ for (I=50; I<=MAXTRS; I++) {
* Give the poor guy 2 points just for finding each treasure. */
/* 20010 */ for (I=50; I<=MAXTRS; I++) {