summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorief015 <ief015@gmail.com>2011-06-25 08:37:32 (GMT)
committer ief015 <ief015@gmail.com>2011-06-25 08:37:32 (GMT)
commita12f0b40d18f58377fc355cb3dc605198b0560bb (patch)
tree91ecb2aae8eb717d870fa5f245dd28c50368ff11 /includes
parent87513503ba8f573c3c25733b4233b75823182e1b (diff)
parentbe7923310199cd518c32c0802055d253e16b69ee (diff)
downloadpowder-a12f0b40d18f58377fc355cb3dc605198b0560bb.zip
powder-a12f0b40d18f58377fc355cb3dc605198b0560bb.tar.gz
Merge pull request #32 from ief015/master
added lua functions to aid with iterations through all particles
Diffstat (limited to 'includes')
-rw-r--r--includes/luaconsole.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/luaconsole.h b/includes/luaconsole.h
index fa8fe1b..de3f589 100644
--- a/includes/luaconsole.h
+++ b/includes/luaconsole.h
@@ -19,6 +19,8 @@ char *luacon_geterror();
void luacon_close();
int process_command_lua(pixel *vid_buf, char *console, char *console_error);
+int getPartIndex_curIdx;
+
//TPT Interface
int luatpt_test(lua_State* l);
int luatpt_drawtext(lua_State* l);
@@ -45,4 +47,8 @@ int luatpt_register_step(lua_State* l);
int luatpt_unregister_step(lua_State* l);
int luatpt_input(lua_State* l);
int luatpt_message_box(lua_State* l);
+int luatpt_get_numOfParts(lua_State* l);
+int luatpt_start_getPartIndex(lua_State* l);
+int luatpt_getPartIndex(lua_State* l);
+int luatpt_next_getPartIndex(lua_State* l);
#endif