diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-14 11:30:35 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-14 11:30:35 (GMT) |
| commit | 9ab70756af4fb3f0f9c4e287f1b30e0897a19741 (patch) | |
| tree | bcdeaecbe71f0152e9a9c9b81ee65e4aa1f717ec /src/simulation/elements/NBLE.cpp | |
| parent | 9479b7f3300658156c467980c28d3436a728bc0c (diff) | |
| parent | 10e104f3f51ed7de80419e2eba0fbbad457aa528 (diff) | |
| download | powder-9ab70756af4fb3f0f9c4e287f1b30e0897a19741.zip powder-9ab70756af4fb3f0f9c4e287f1b30e0897a19741.tar.gz | |
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
Diffstat (limited to 'src/simulation/elements/NBLE.cpp')
| -rw-r--r-- | src/simulation/elements/NBLE.cpp | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/src/simulation/elements/NBLE.cpp b/src/simulation/elements/NBLE.cpp index d1ece54..ada32a9 100644 --- a/src/simulation/elements/NBLE.cpp +++ b/src/simulation/elements/NBLE.cpp @@ -2,48 +2,48 @@ //#TPT-Directive ElementClass Element_NBLE PT_NBLE 52 Element_NBLE::Element_NBLE() { - Identifier = "DEFAULT_PT_NBLE"; - Name = "NBLE"; - Colour = PIXPACK(0xEB4917); - MenuVisible = 1; - MenuSection = SC_GAS; - Enabled = 1; - - Advection = 1.0f; - AirDrag = 0.01f * CFDS; - AirLoss = 0.99f; - Loss = 0.30f; - Collision = -0.1f; - Gravity = 0.0f; - Diffusion = 0.75f; - HotAir = 0.001f * CFDS; - Falldown = 0; - - Flammable = 0; - Explosive = 0; - Meltable = 0; - Hardness = 1; - - Weight = 1; - - Temperature = R_TEMP+2.0f +273.15f; - HeatConduct = 106; - Description = "Noble Gas. Diffuses. Conductive. Ionizes into plasma when introduced to electricity"; - - State = ST_GAS; - Properties = TYPE_GAS|PROP_CONDUCTS|PROP_LIFE_DEC; - - LowPressure = IPL; - LowPressureTransition = NT; - HighPressure = IPH; - HighPressureTransition = NT; - LowTemperature = ITL; - LowTemperatureTransition = NT; - HighTemperature = ITH; - HighTemperatureTransition = NT; - - Update = &Element_NBLE::update; - + Identifier = "DEFAULT_PT_NBLE"; + Name = "NBLE"; + Colour = PIXPACK(0xEB4917); + MenuVisible = 1; + MenuSection = SC_GAS; + Enabled = 1; + + Advection = 1.0f; + AirDrag = 0.01f * CFDS; + AirLoss = 0.99f; + Loss = 0.30f; + Collision = -0.1f; + Gravity = 0.0f; + Diffusion = 0.75f; + HotAir = 0.001f * CFDS; + Falldown = 0; + + Flammable = 0; + Explosive = 0; + Meltable = 0; + Hardness = 1; + + Weight = 1; + + Temperature = R_TEMP+2.0f +273.15f; + HeatConduct = 106; + Description = "Noble Gas. Diffuses. Conductive. Ionizes into plasma when introduced to electricity"; + + State = ST_GAS; + Properties = TYPE_GAS|PROP_CONDUCTS|PROP_LIFE_DEC; + + LowPressure = IPL; + LowPressureTransition = NT; + HighPressure = IPH; + HighPressureTransition = NT; + LowTemperature = ITL; + LowTemperatureTransition = NT; + HighTemperature = ITH; + HighTemperatureTransition = NT; + + Update = &Element_NBLE::update; + } //#TPT-Directive ElementHeader Element_NBLE static int update(UPDATE_FUNC_ARGS) |
