diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-07 16:59:50 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-07 16:59:50 (GMT) |
| commit | 51b17badf4c72270bb762ea795d05d51c8b355e3 (patch) | |
| tree | b66671e0496b68114c6e91eedb58bf783d5343c0 /src/simulation/Element.h | |
| parent | fb111f42d00dd8a2041bae970c0913e096ac5101 (diff) | |
| download | powder-51b17badf4c72270bb762ea795d05d51c8b355e3.zip powder-51b17badf4c72270bb762ea795d05d51c8b355e3.tar.gz | |
A bit of refactoring (elements)
Diffstat (limited to 'src/simulation/Element.h')
| -rw-r--r-- | src/simulation/Element.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/simulation/Element.h b/src/simulation/Element.h index f00751e..7cd379e 100644 --- a/src/simulation/Element.h +++ b/src/simulation/Element.h @@ -5,10 +5,19 @@ #include <cmath> #include "Simulation.h" #include "Renderer.h" -#include "ElementFunctions.h" -//#include "powder.h" #include "Gravity.h" #include "Misc.h" #include "ElementGraphics.h" +#define IPL -257.0f +#define IPH 257.0f +#define ITL MIN_TEMP-1 +#define ITH MAX_TEMP+1 + +// no transition (PT_NONE means kill part) +#define NT -1 + +// special transition - lava ctypes etc need extra code, which is only found and run if ST is given +#define ST PT_NUM + #endif |
