projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve documentation if the *most* obscure span of code.
[open-adventure.git]
/
common.h
diff --git
a/common.h
b/common.h
index 942a2716e7a796368689980c349a32cb32ffadd6..2b0852778e72b7f00263b64db5688a3f26325286 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-2,25
+2,13
@@
#define COMMON_H
/* maximum size limits shared by dungeon compiler and runtime */
#define COMMON_H
/* maximum size limits shared by dungeon compiler and runtime */
-#define LOCSIZ 185
-#define NOBJECTS 100
-#define HNTSIZ 20
-
extern const char advent_to_ascii[128];
extern const char ascii_to_advent[128];
enum bugtype {
extern const char advent_to_ascii[128];
extern const char ascii_to_advent[128];
enum bugtype {
- MESSAGE_LINE_GT_70_CHARACTERS, // 0
- NULL_LINE_IN_MESSAGE, // 1
- TOO_MANY_WORDS_OF_MESSAGES, // 2
- TOO_MANY_TRAVEL_OPTIONS, // 3
TOO_MANY_VOCABULARY_WORDS, // 4
REQUIRED_VOCABULARY_WORD_NOT_FOUND, // 5
TOO_MANY_VOCABULARY_WORDS, // 4
REQUIRED_VOCABULARY_WORD_NOT_FOUND, // 5
- TOO_MANY_RTEXT_MESSAGES, // 6
- TOO_MANY_HINTS, // 7
- LOCATION_HAS_CONDITION_BIT_BEING_SET_TWICE, // 8
INVALID_SECTION_NUMBER_IN_DATABASE, // 9
INVALID_SECTION_NUMBER_IN_DATABASE, // 9
- TOO_MANY_LOCATIONS, // 10
SPECIAL_TRAVEL_500_GT_L_GT_300_EXCEEDS_GOTO_LIST = 20, // 20
RAN_OFF_END_OF_VOCABULARY_TABLE, // 21
VOCABULARY_TYPE_N_OVER_1000_NOT_BETWEEN_0_AND_3, // 22
SPECIAL_TRAVEL_500_GT_L_GT_300_EXCEEDS_GOTO_LIST = 20, // 20
RAN_OFF_END_OF_VOCABULARY_TABLE, // 21
VOCABULARY_TYPE_N_OVER_1000_NOT_BETWEEN_0_AND_3, // 22