projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LOCSIZ -> NLOCATIONS, finishing limit-name cleanup.
[open-adventure.git]
/
newdungeon.py
diff --git
a/newdungeon.py
b/newdungeon.py
index 7f70741d331f62aebe962f47a8e09434db3dbf6b..3b801da6d50ba0df2e554a971f86837a3b81a981 100755
(executable)
--- a/
newdungeon.py
+++ b/
newdungeon.py
@@
-70,6
+70,8
@@
extern obituary_t obituaries[];
extern hint_t hints[];
extern long conditions[];
extern hint_t hints[];
extern long conditions[];
+#define NLOCATIONS {}
+#define NOBJECTS {}
#define NHINTS {}
#define NCLASSES {}
#define NDEATHS {}
#define NHINTS {}
#define NCLASSES {}
#define NDEATHS {}
@@
-338,6
+340,8
@@
if __name__ == "__main__":
)
h = h_template.format(
)
h = h_template.format(
+ len(db["locations"]),
+ len(db["object_descriptions"]),
len(db["hints"]),
len(db["classes"]),
len(db["obituaries"]),
len(db["hints"]),
len(db["classes"]),
len(db["obituaries"]),