More cracker fixes

This commit is contained in:
Simon
2011-03-22 17:25:29 +00:00
13 changed files with 1714 additions and 91 deletions

View File

@@ -16,6 +16,8 @@
#define THUMB_CACHE_SIZE 256
//#define pyconsole
#define IMGCONNS 3
#define TIMEOUT 100
#define HTTP_TIMEOUT 10
@@ -65,6 +67,8 @@ extern unsigned char ZSIZE;
#define SQUARE_BRUSH 1
#define BRUSH_NUM 2
#define PYCONSOLE
#ifdef PIX16
typedef unsigned short pixel;
#else

View File

@@ -225,7 +225,7 @@ void open_link(char *uri);
int report_ui(pixel *vid_buf, char *save_id);
char *console_ui(pixel *vid_buf, char error[255]);
char *console_ui(pixel *vid_buf, char error[255],char console_more);
int console_parse_coords(char *txt, int *x, int *y, char *err);
int console_parse_type(char *txt, int *element, char *err);
int console_parse_partref(char *txt, int *which, char *err);

View File

@@ -50,15 +50,15 @@
#define PT_NONE 0
#define PT_DUST 1
#define PT_WATR 2
#define PT_NONE 0
#define PT_DUST 1
#define PT_WATR 2
#define PT_OIL 3
#define PT_FIRE 4
#define PT_STNE 5
#define PT_LAVA 6
#define PT_GUNP 7
#define PT_NITR 8
#define PT_GUNP 7
#define PT_NITR 8
#define PT_CLNE 9
#define PT_GAS 10
#define PT_PLEX 11
@@ -166,7 +166,7 @@
#define PT_ANAR 113
#define PT_VINE 114
#define PT_INVIS 115
#define PT_EQUALVEL 116//all particles equal their velocities
#define PT_EQUALVEL 116 //all particles equal their velocities
#define PT_SPAWN2 117
#define PT_SPAWN 118
#define PT_SHLD1 119

2
includes/pyconsole.h Normal file

File diff suppressed because one or more lines are too long