blob: d9c79030c38252d85f0286b9e33e4c7acf69a7c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#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"
#ifdef _MSC_VER
#include <Windows.h>
#endif
#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
|