summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-10-22 10:01:07 -0700
committerGitHub <noreply@github.com>2021-10-22 10:01:07 -0700
commit3e5dd1d047bada52ab0dce2fe58b04e39bcaa1cc (patch)
tree0e40067d711c783ef97667f4a8256f38ab0d4b0a /include/constants
parent3f7ee3a806d965fae70fd98f2cd1af13a2e4cf0b (diff)
Death by 74 files (#65)
* death by 74 files * 20% reached * doc move stuff in pokemon * fix undef reference * doc more and plumb a few more constanst for num party members and num moves * that struct is def PokemonMove.. clean up all code with it
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/global.h6
-rw-r--r--include/constants/mailbox.h6
-rw-r--r--include/constants/personality_test.h3
-rw-r--r--include/constants/wonder_mail.h4
4 files changed, 16 insertions, 3 deletions
diff --git a/include/constants/global.h b/include/constants/global.h
index f4e5961..5512b6a 100644
--- a/include/constants/global.h
+++ b/include/constants/global.h
@@ -3,5 +3,11 @@
#define POKEMON_NAME_LENGTH 10
#define TEAM_NAME_LENGTH 10
+#define MAX_TEAM_MEMBERS 4
+
+#define MAX_MON_MOVES 4
+
+#define MALE 0
+#define FEMALE 1
#endif // GUARD_CONSTANTS_GLOBAL_H
diff --git a/include/constants/mailbox.h b/include/constants/mailbox.h
new file mode 100644
index 0000000..6a91862
--- /dev/null
+++ b/include/constants/mailbox.h
@@ -0,0 +1,6 @@
+#ifndef GUARD_CONSTANTS_MAILBOX_H
+#define GUARD_CONSTANTS_MAILBOX_H
+
+#define MAX_ACCEPTED_JOBS 8
+
+#endif // GUARD_CONSTANTS_MAILBOX_H
diff --git a/include/constants/personality_test.h b/include/constants/personality_test.h
index bd6f159..cfb9c3d 100644
--- a/include/constants/personality_test.h
+++ b/include/constants/personality_test.h
@@ -22,7 +22,4 @@ enum NaturePersonalities {
#define NUM_QUIZ_QUESTIONS 55
#define MAX_ASKED_QUESTIONS 8
-#define MALE 0
-#define FEMALE 1
-
#endif
diff --git a/include/constants/wonder_mail.h b/include/constants/wonder_mail.h
index ab5a9ee..7ddaac7 100644
--- a/include/constants/wonder_mail.h
+++ b/include/constants/wonder_mail.h
@@ -25,4 +25,8 @@ enum RewardType
END_REWARDS
};
+#define NUM_POKEMON_NEWS 56 // 50 normal + 6 special issues
+#define PASSWORD_BUFFER_SIZE 54
+#define MAX_ITEM_REWARDS 3
+
#endif //GUARD_CONSTANTS_WONDER_MAIL_H