2012-01-08 11:39:03 -06:00
|
|
|
#ifndef ELEMENT_H
|
|
|
|
#define ELEMENT_H
|
|
|
|
// This header should be included by all files in src/elements/
|
|
|
|
|
2012-04-26 07:10:47 -05:00
|
|
|
#include <cmath>
|
2012-01-08 11:39:03 -06:00
|
|
|
#include "Simulation.h"
|
2012-07-06 10:06:26 -05:00
|
|
|
#include "graphics/Renderer.h"
|
2012-01-08 11:39:03 -06:00
|
|
|
#include "Gravity.h"
|
|
|
|
#include "Misc.h"
|
|
|
|
#include "ElementGraphics.h"
|
|
|
|
|
2012-05-07 11:59:50 -05:00
|
|
|
#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
|
|
|
|
|
2012-01-08 11:39:03 -06:00
|
|
|
#endif
|