ソースを参照

Migrated all quest check constants to source exports

Lemongrass3110 9 年 前
コミット
6532f74c3b
2 ファイル変更5 行追加4 行削除
  1. 0 4
      db/const.txt
  2. 5 0
      src/map/script_constants.h

+ 0 - 4
db/const.txt

@@ -2646,10 +2646,6 @@ THANATOS_KEEP	10009
 4_F_ARUNA_POP2	10173
 4_JACK_HEAD	10174
 
-HAVEQUEST	0
-PLAYTIME	1
-HUNTING	2
-
 QTYPE_NONE	0x270f
 QTYPE_QUEST	0x00
 QTYPE_QUEST2	0x01

+ 5 - 0
src/map/script_constants.h

@@ -2301,6 +2301,11 @@
 	export_constant(BOUND_PARTY);
 	export_constant(BOUND_CHAR);
 
+	/* quest check types */
+	export_constant(HAVEQUEST);
+	export_constant(PLAYTIME);
+	export_constant(HUNTING);
+
 	/* status options */
 	export_constant(OPTION_NOTHING);
 	export_constant(OPTION_SIGHT);