diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2011-12-24 23:44:00 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-12-28 22:39:59 (GMT) |
| commit | 2553dac942b9b5c3ad6b834d32c9053d3592faaf (patch) | |
| tree | 149c3e053f938c0f6a4e556aea4f408b180d2be4 /includes | |
| parent | 23d6823bc3b877451e40103d2007dee9ddb10cb0 (diff) | |
| download | powder-2553dac942b9b5c3ad6b834d32c9053d3592faaf.zip powder-2553dac942b9b5c3ad6b834d32c9053d3592faaf.tar.gz | |
Update can_move, recount menu items and clear graphics cache when tpt.el is changed
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/luaconsole.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/luaconsole.h b/includes/luaconsole.h index fc5e2c4..e559482 100644 --- a/includes/luaconsole.h +++ b/includes/luaconsole.h @@ -19,6 +19,11 @@ #define LUACON_KDOWN 1 #define LUACON_KUP 2 +//Bitmasks for things that might need recalculating after changes to tpt.el +#define LUACON_EL_MODIFIED_CANMOVE 0x1 +#define LUACON_EL_MODIFIED_GRAPHICS 0x2 +#define LUACON_EL_MODIFIED_MENUS 0x4 + int *lua_el_func, *lua_el_mode; void luacon_open(); @@ -39,7 +44,7 @@ int luacon_transitionread(lua_State* l); int luacon_transitionwrite(lua_State* l); int luacon_particle_getproperty(char * key, int * format); int luacon_transition_getproperty(char * key, int * format); -int luacon_element_getproperty(char * key, int * format); +int luacon_element_getproperty(char * key, int * format, unsigned int * modified_stuff); int process_command_lua(pixel *vid_buf, char *console, char *console_error); int getPartIndex_curIdx; |
