summaryrefslogtreecommitdiff
path: root/src/simulation/Particle.cpp
diff options
context:
space:
mode:
authorStanislaw Skowronek <skylark@disorder.sko>2013-11-13 13:54:46 (GMT)
committer Stanislaw Skowronek <skylark@disorder.sko>2013-11-13 13:54:46 (GMT)
commit54769d13eb1b4216b7c6d18e08c3797bf3a48e8a (patch)
treeb9044f60fc982a75e00eda291be1aa3baaca1656 /src/simulation/Particle.cpp
parentf32929128e1d93517f24253ed58801acc32ce814 (diff)
downloadpowder-54769d13eb1b4216b7c6d18e08c3797bf3a48e8a.zip
powder-54769d13eb1b4216b7c6d18e08c3797bf3a48e8a.tar.gz
Initial check-in of movable solids. Save/Load/Undo do not work and may crash.
Diffstat (limited to 'src/simulation/Particle.cpp')
-rw-r--r--src/simulation/Particle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simulation/Particle.cpp b/src/simulation/Particle.cpp
index 19089a1..d3657e4 100644
--- a/src/simulation/Particle.cpp
+++ b/src/simulation/Particle.cpp
@@ -16,5 +16,7 @@ std::vector<StructProperty> Particle::GetProperties()
properties.push_back(StructProperty("tmp", StructProperty::Integer, offsetof(Particle, tmp)));
properties.push_back(StructProperty("tmp2", StructProperty::Integer, offsetof(Particle, tmp2)));
properties.push_back(StructProperty("dcolour", StructProperty::UInteger, offsetof(Particle, dcolour)));
+ properties.push_back(StructProperty("sld", StructProperty::UInteger, offsetof(Particle, sld)));
+ properties.push_back(StructProperty("snext", StructProperty::UInteger, offsetof(Particle, snext)));
return properties;
}