From 15b4ba7532966da0bb9672c94c97d482271c7906 Mon Sep 17 00:00:00 2001 From: lieuwe Date: Fri, 29 Jul 2011 05:40:17 +0800 Subject: [PATCH] added WIRE particle type. --- includes/powder.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/powder.h b/includes/powder.h index 6abb47ba1..dd4bbd18b 100644 --- a/includes/powder.h +++ b/includes/powder.h @@ -196,7 +196,8 @@ #define PT_PBCN 153 #define PT_GPMP 154 #define PT_CLST 155 -#define PT_NUM 156 +#define PT_WIRE 156 +#define PT_NUM 157 #define R_TEMP 22 #define MAX_TEMP 9999 @@ -544,6 +545,7 @@ static const part_type ptypes[PT_NUM] = {"PBCN", PIXPACK(0x3B1D0A), 0.0f, 0.00f * CFDS, 0.97f, 0.50f, 0.0f, 0.0f, 0.00f, 0.000f * CFDS, 0, 0, 0, 0, 12, 1, 1, 100, SC_POWERED, R_TEMP+0.0f +273.15f, 251, "Powered breakable clone", ST_NONE, TYPE_SOLID, &update_PBCN}, {"GPMP", PIXPACK(0x0A3B3B), 0.0f, 0.00f * CFDS, 0.90f, 0.00f, 0.0f, 0.0f, 0.00f, 0.000f * CFDS, 0, 0, 0, 1, 1, 1, 1, 100, SC_POWERED, 0.0f +273.15f, 0, "Changes gravity to its temp when activated. (use HEAT/COOL).", ST_NONE, TYPE_SOLID, &update_GPMP}, {"CLST", PIXPACK(0xE4A4A4), 0.7f, 0.02f * CFDS, 0.94f, 0.95f, 0.0f, 0.2f, 0.00f, 0.000f * CFDS, 1, 0, 0, 2, 2, 1, 1, 55, SC_POWDERS, R_TEMP+0.0f +273.15f, 70, "Clay dust. Produces paste when mixed with water.", ST_SOLID, TYPE_PART, &update_CLST}, + {"WIRE", PIXPACK(0xFFCC00), 0.0f, 0.00f * CFDS, 0.00f, 0.00f, 0.0f, 0.0f, 0.00f, 0.000f * CFDS, 0, 0, 0, 0, 0, 1, 1, 0, SC_ELEC, R_TEMP+0.0f +273.15f, 250, "WireWorld wires.",ST_SOLID,TYPE_SOLID,NULL} //Name Colour Advec Airdrag Airloss Loss Collid Grav Diffus Hotair Fal Burn Exp Mel Hrd M Use Weight Section H Ins Description }; @@ -715,6 +717,7 @@ static part_transition ptransitions[PT_NUM] = /* PBCN */ {IPL, NT, IPH, NT, ITL, NT, ITH, NT}, /* GPMP */ {IPL, NT, IPH, NT, ITL, NT, ITH, NT}, /* CLST */ {IPL, NT, IPH, NT, ITL, NT, 1256.0f, PT_LAVA}, + /* WIRE */ {IPL, NT, IPH, NT, ITL, NT, ITH, NT, PT_WIRE}, }; #undef IPL #undef IPH