The-Powder-Toy/src/simulation/Element.h

24 lines
512 B
C
Raw Normal View History

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/
#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