diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-03-03 21:38:22 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-03-03 21:38:22 (GMT) |
| commit | 3bbaa1a111e3770d2ce9b04f4b0f9688948d3e85 (patch) | |
| tree | 662d315093f4025c2970e7c6264cfe88effd4e7f /src/simulation/Simulation.h | |
| parent | 732b9d6a0d16f94cd1c39f8e023e369c5837bb9c (diff) | |
| download | powder-3bbaa1a111e3770d2ce9b04f4b0f9688948d3e85.zip powder-3bbaa1a111e3770d2ce9b04f4b0f9688948d3e85.tar.gz | |
Decoration tools - no way to set colour yet
Diffstat (limited to 'src/simulation/Simulation.h')
| -rw-r--r-- | src/simulation/Simulation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/simulation/Simulation.h b/src/simulation/Simulation.h index f03b189..007f3c2 100644 --- a/src/simulation/Simulation.h +++ b/src/simulation/Simulation.h @@ -245,6 +245,10 @@ public: int flood_parts(int x, int y, int c, int cm, int bm, int flags); int create_parts(int x, int y, int rx, int ry, int c, int flags, Brush * cBrush = NULL); void create_line(int x1, int y1, int x2, int y2, int rx, int ry, int c, int flags, Brush * cBrush = NULL); + void ApplyDecoration(int x, int y, int colR, int colG, int colB, int colA, int mode); + void ApplyDecorationPoint(int x, int y, int rx, int ry, int colR, int colG, int colB, int colA, int mode, Brush * cBrush = NULL); + void ApplyDecorationLine(int x1, int y1, int x2, int y2, int rx, int ry, int colR, int colG, int colB, int colA, int mode, Brush * cBrush = NULL); + void ApplyDecorationBox(int x1, int y1, int x2, int y2, int colR, int colG, int colB, int colA, int mode); void *transform_save(void *odata, int *size, matrix2d transform, vector2d translate); inline void orbitalparts_get(int block1, int block2, int resblock1[], int resblock2[]); inline void orbitalparts_set(int *block1, int *block2, int resblock1[], int resblock2[]); |
