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

27 lines
441 B
C
Raw Normal View History

#ifndef SIMTOOL_H
#define SIMTOOL_H
2019-04-20 07:12:32 -05:00
#include "common/String.h"
#include "graphics/Pixel.h"
class Simulation;
struct Particle;
class SimTool
{
public:
ByteString Identifier;
String Name;
pixel Colour;
String Description;
2020-01-09 03:34:15 -06:00
int (*Perform)(Simulation * sim, Particle * cpart, int x, int y, int brushX, int brushY, float strength);
SimTool();
2020-01-09 03:34:15 -06:00
#define TOOL_NUMBERS_DECLARE
#include "ToolNumbers.h"
#undef TOOL_NUMBERS_DECLARE
};
2013-05-11 06:08:32 -05:00
#endif