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