This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/simulation/Element.h
2018-04-28 00:09:14 -04:00

24 lines
512 B
C

#ifndef ELEMENT_H
#define ELEMENT_H
// This header should be included by all files in src/elements/
#include <cmath>
#include "ElementGraphics.h"
#include "Gravity.h"
#include "Misc.h"
#include "Simulation.h"
#include "graphics/Renderer.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