diff options
author | David Walter Seikel | 2014-05-10 14:14:08 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-10 14:14:08 +1000 |
commit | 81283b584a7f7c38b697c438858a8b70294dd276 (patch) | |
tree | fa8eecfb71c369cbeeda38145403be0ab2e6e4c6 /src/GuiLua/GuiLua.h | |
parent | A note about a useful web site. (diff) | |
download | SledjHamr-81283b584a7f7c38b697c438858a8b70294dd276.zip SledjHamr-81283b584a7f7c38b697c438858a8b70294dd276.tar.gz SledjHamr-81283b584a7f7c38b697c438858a8b70294dd276.tar.bz2 SledjHamr-81283b584a7f7c38b697c438858a8b70294dd276.tar.xz |
Add physics to the windows.
Sure, it's just an annoying gimmick right now, but there's plans for this to be actually useful.
Diffstat (limited to 'src/GuiLua/GuiLua.h')
-rw-r--r-- | src/GuiLua/GuiLua.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 | |||
20 | lua_State *L; | 20 | lua_State *L; |
21 | winFang *us; // Our window, if it exists. | 21 | winFang *us; // Our window, if it exists. |
22 | winFang *parent; // Our parent window, if it exists. | 22 | winFang *parent; // Our parent window, if it exists. |
23 | EPhysics_World *world; // Our world, if it exists. | ||
23 | int inDel; | 24 | int inDel; |
24 | 25 | ||
25 | Eina_Clist node; | 26 | Eina_Clist node; |
@@ -29,8 +30,8 @@ typedef struct _GuiLua | |||
29 | 30 | ||
30 | extern const char *glName; | 31 | extern const char *glName; |
31 | 32 | ||
32 | GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent); | 33 | GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, EPhysics_World *world); |
33 | void GuiLuaLoad(char *module, winFang *parent); | 34 | void GuiLuaLoad(char *module, winFang *parent, EPhysics_World *world); |
34 | void GuiLuaDel(GuiLua *gl); | 35 | void GuiLuaDel(GuiLua *gl); |
35 | 36 | ||
36 | #endif | 37 | #endif |