summaryrefslogtreecommitdiff
path: root/includes/interface.h
diff options
context:
space:
mode:
authorjacksonmj <jacksonmj@jacksonmj.none>2011-01-31 16:36:40 (GMT)
committer jacksonmj <jacksonmj@jacksonmj.none>2011-01-31 16:36:40 (GMT)
commit5bf8755655c081610db47288c15e65f8e7b748ba (patch)
treee7f5904d39bce90bca6b3d7ea542a52421c9c88d /includes/interface.h
parent363a3e38f1c5f7be91a060bbc33595d1c3ee9de4 (diff)
downloadpowder-5bf8755655c081610db47288c15e65f8e7b748ba.zip
powder-5bf8755655c081610db47288c15e65f8e7b748ba.tar.gz
Console improvements
Can use x,y coordinates to specify which particle. ctype now also accepts element names. More sanity checking of input. delete command added.
Diffstat (limited to 'includes/interface.h')
-rw-r--r--includes/interface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/interface.h b/includes/interface.h
index 870e917..2cb64dd 100644
--- a/includes/interface.h
+++ b/includes/interface.h
@@ -227,8 +227,9 @@ void open_link(char *uri);
int report_ui(pixel *vid_buf, char *save_id);
char *console_ui(pixel *vid_buf, char error[255]);
-
-int console_get_type(char *element);
+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);
#endif