From 81283b584a7f7c38b697c438858a8b70294dd276 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 10 May 2014 14:14:08 +1000 Subject: Add physics to the windows. Sure, it's just an annoying gimmick right now, but there's plans for this to be actually useful. --- src/GuiLua/GuiLua.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/GuiLua/GuiLua.h') diff --git a/src/GuiLua/GuiLua.h b/src/GuiLua/GuiLua.h index b123fe7..3bd2baf 100644 --- a/src/GuiLua/GuiLua.h +++ b/src/GuiLua/GuiLua.h @@ -20,6 +20,7 @@ typedef struct _GuiLua lua_State *L; winFang *us; // Our window, if it exists. winFang *parent; // Our parent window, if it exists. + EPhysics_World *world; // Our world, if it exists. int inDel; Eina_Clist node; @@ -29,8 +30,8 @@ typedef struct _GuiLua extern const char *glName; -GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent); -void GuiLuaLoad(char *module, winFang *parent); +GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, EPhysics_World *world); +void GuiLuaLoad(char *module, winFang *parent, EPhysics_World *world); void GuiLuaDel(GuiLua *gl); #endif -- cgit v1.1