summaryrefslogtreecommitdiff
path: root/src/simulation/elements/FWRK.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/FWRK.cpp')
-rw-r--r--src/simulation/elements/FWRK.cpp84
1 files changed, 42 insertions, 42 deletions
diff --git a/src/simulation/elements/FWRK.cpp b/src/simulation/elements/FWRK.cpp
index a16fbc6..afb9a9c 100644
--- a/src/simulation/elements/FWRK.cpp
+++ b/src/simulation/elements/FWRK.cpp
@@ -2,48 +2,48 @@
//#TPT-Directive ElementClass Element_FWRK PT_FWRK 98
Element_FWRK::Element_FWRK()
{
- Identifier = "DEFAULT_PT_FWRK";
- Name = "FWRK";
- Colour = PIXPACK(0x666666);
- MenuVisible = 1;
- MenuSection = SC_EXPLOSIVE;
- Enabled = 1;
-
- Advection = 0.4f;
- AirDrag = 0.01f * CFDS;
- AirLoss = 0.99f;
- Loss = 0.95f;
- Collision = 0.0f;
- Gravity = 0.4f;
- Diffusion = 0.00f;
- HotAir = 0.000f * CFDS;
- Falldown = 1;
-
- Flammable = 0;
- Explosive = 0;
- Meltable = 0;
- Hardness = 1;
-
- Weight = 97;
-
- Temperature = R_TEMP+0.0f +273.15f;
- HeatConduct = 100;
- Description = "First fireworks made, activated by heat/neutrons.";
-
- State = ST_SOLID;
- Properties = TYPE_PART|PROP_LIFE_DEC;
-
- LowPressure = IPL;
- LowPressureTransition = NT;
- HighPressure = IPH;
- HighPressureTransition = NT;
- LowTemperature = ITL;
- LowTemperatureTransition = NT;
- HighTemperature = ITH;
- HighTemperatureTransition = NT;
-
- Update = &Element_FWRK::update;
-
+ Identifier = "DEFAULT_PT_FWRK";
+ Name = "FWRK";
+ Colour = PIXPACK(0x666666);
+ MenuVisible = 1;
+ MenuSection = SC_EXPLOSIVE;
+ Enabled = 1;
+
+ Advection = 0.4f;
+ AirDrag = 0.01f * CFDS;
+ AirLoss = 0.99f;
+ Loss = 0.95f;
+ Collision = 0.0f;
+ Gravity = 0.4f;
+ Diffusion = 0.00f;
+ HotAir = 0.000f * CFDS;
+ Falldown = 1;
+
+ Flammable = 0;
+ Explosive = 0;
+ Meltable = 0;
+ Hardness = 1;
+
+ Weight = 97;
+
+ Temperature = R_TEMP+0.0f +273.15f;
+ HeatConduct = 100;
+ Description = "First fireworks made, activated by heat/neutrons.";
+
+ State = ST_SOLID;
+ Properties = TYPE_PART|PROP_LIFE_DEC;
+
+ LowPressure = IPL;
+ LowPressureTransition = NT;
+ HighPressure = IPH;
+ HighPressureTransition = NT;
+ LowTemperature = ITL;
+ LowTemperatureTransition = NT;
+ HighTemperature = ITH;
+ HighTemperatureTransition = NT;
+
+ Update = &Element_FWRK::update;
+
}
//#TPT-Directive ElementHeader Element_FWRK static int update(UPDATE_FUNC_ARGS)