summaryrefslogtreecommitdiff
path: root/include/constants/quest_log.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-04-10 12:48:58 -0400
committerGitHub <noreply@github.com>2020-04-10 12:48:58 -0400
commit2880cf2a51ea36fa36f00d9ecf07177e5955c882 (patch)
tree331837d61614da6f73e983a7230796ace13c9ea6 /include/constants/quest_log.h
parenta81edaba1d5e0f84336fd8a57a48b2a970171ba4 (diff)
parent5f7ed93363db01da8667aadf47d78cb6515bb450 (diff)
Merge pull request #323 from PikalaxALT/various_documentation
Document various parts of the source tree
Diffstat (limited to 'include/constants/quest_log.h')
-rw-r--r--include/constants/quest_log.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/constants/quest_log.h b/include/constants/quest_log.h
index b5494e7b9..3565c581e 100644
--- a/include/constants/quest_log.h
+++ b/include/constants/quest_log.h
@@ -1,10 +1,14 @@
#ifndef GUARD_CONSTANTS_QUEST_LOG_H
#define GUARD_CONSTANTS_QUEST_LOG_H
-// TODO: Name and use state constants
-#define QL_STATE_1 1
-#define QL_STATE_2 2
-#define QL_STATE_3 3
+#define QL_STATE_RECORDING 1
+#define QL_STATE_PLAYBACK 2
+#define QL_STATE_PLAYBACK_LAST 3
+
+#define QL_START_NORMAL 1
+#define QL_START_WARP 2
+
+#define QL_IS_PLAYBACK_STATE (gQuestLogState == QL_STATE_PLAYBACK || gQuestLogState == QL_STATE_PLAYBACK_LAST)
#define QL_EVENT_0 0 // Null
#define QL_EVENT_1 1 // Null