Added Cracker changes for adding a triangle brush! :DDD Seems to work without any issues.

This commit is contained in:
Cate
2011-07-12 22:55:25 +08:00
committed by Simon Robertshaw
parent d7053422f1
commit 45fe00bef9
4 changed files with 38 additions and 8 deletions

View File

@@ -85,7 +85,9 @@ extern unsigned char ZSIZE;
#define CIRCLE_BRUSH 0
#define SQUARE_BRUSH 1
#define BRUSH_NUM 2
#define TRI_BRUSH 2
#define BRUSH_NUM 3
//#define LUACONSOLE
//#define PYCONSOLE

View File

@@ -969,6 +969,8 @@ void detach(int i);
void part_change_type(int i, int x, int y, int t);
int InCurrentBrush(int i, int j, int rx, int ry);
int create_part(int p, int x, int y, int t);
void delete_part(int x, int y);