Forráskód Böngészése

Migrated all look constants to source exports

Lemongrass3110 9 éve
szülő
commit
6322d609f4
2 módosított fájl, 17 hozzáadás és 14 törlés
  1. 0 14
      db/const.txt
  2. 17 0
      src/map/script_constants.h

+ 0 - 14
db/const.txt

@@ -247,20 +247,6 @@ bSubSkill	2077
 bSubDefEle	2078
 bStateNoRecoverRace	2079
 
-LOOK_BASE	0
-LOOK_HAIR	1
-LOOK_WEAPON	2
-LOOK_HEAD_BOTTOM	3
-LOOK_HEAD_TOP	4
-LOOK_HEAD_MID	5
-LOOK_HAIR_COLOR	6
-LOOK_CLOTHES_COLOR	7
-LOOK_SHIELD	8
-LOOK_SHOES	9
-LOOK_BODY	10
-LOOK_RESET_COSTUMES	11
-LOOK_ROBE	12
-
 Eff_Stone	0
 Eff_Freeze	1
 Eff_Stun	2

+ 17 - 0
src/map/script_constants.h

@@ -452,6 +452,23 @@
 	export_constant(EQI_SHADOW_ACC_R);
 	export_constant(EQI_SHADOW_ACC_L);
 
+	/* looks */
+	export_constant(LOOK_BASE);
+	export_constant(LOOK_HAIR);
+	export_constant(LOOK_WEAPON);
+	export_constant(LOOK_HEAD_BOTTOM);
+	export_constant(LOOK_HEAD_TOP);
+	export_constant(LOOK_HEAD_MID);
+	export_constant(LOOK_HAIR_COLOR);
+	export_constant(LOOK_CLOTHES_COLOR);
+	export_constant(LOOK_SHIELD);
+	export_constant(LOOK_SHOES);
+	export_constant(LOOK_BODY);
+	export_constant(LOOK_RESET_COSTUMES);
+	export_constant(LOOK_ROBE);
+	// TODO: check why we didnt have floor and enable it
+	//export_constant(LOOK_FLOOR);
+
 	/* status options */
 	export_constant(OPTION_NOTHING);
 	export_constant(OPTION_SIGHT);