summaryrefslogtreecommitdiff
path: root/src/simulation/Element.h
blob: 3c28e2f9c1db6ca301eafc8c5cdf4ecf6b27e13e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef ELEMENT_H
#define ELEMENT_H
// This header should be included by all files in src/elements/

#include <cmath>
#include "Simulation.h"
#include "graphics/Renderer.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