diff options
author | David Walter Seikel | 2014-05-06 23:32:57 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-06 23:32:57 +1000 |
commit | 9c6ebe2bf088bbe1404e8210876c58d743ab199a (patch) | |
tree | 281986ac427eb34de47d7053cbf72b058af02217 /src/extantz/extantz.h | |
parent | Scenri figures out it's own evas, and size. Clean up an unneeded obj variabl... (diff) | |
download | SledjHamr-9c6ebe2bf088bbe1404e8210876c58d743ab199a.zip SledjHamr-9c6ebe2bf088bbe1404e8210876c58d743ab199a.tar.gz SledjHamr-9c6ebe2bf088bbe1404e8210876c58d743ab199a.tar.bz2 SledjHamr-9c6ebe2bf088bbe1404e8210876c58d743ab199a.tar.xz |
Much clean up and commentary in extantz.c following that last commit.
No longer using the box, despite it now being a freebie. Don't need to create the box either now.
Ephysics is inited early.
Added comments about the layers.
Instead of creating our own background image, just change the texture of the winFang one.
Rearrange the bits for better stacking..
Diffstat (limited to '')
-rw-r--r-- | src/extantz/extantz.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/extantz/extantz.h b/src/extantz/extantz.h index 502420b..4a12a06 100644 --- a/src/extantz/extantz.h +++ b/src/extantz/extantz.h | |||
@@ -2,8 +2,8 @@ | |||
2 | #define _EXTANTZ_H_ | 2 | #define _EXTANTZ_H_ |
3 | 3 | ||
4 | #define USE_PHYSICS 1 | 4 | #define USE_PHYSICS 1 |
5 | #define USE_IRR 0 | 5 | #define USE_IRR 1 |
6 | #define USE_DEMO 0 | 6 | #define USE_DEMO 1 |
7 | #define DO_GEARS 0 | 7 | #define DO_GEARS 0 |
8 | 8 | ||
9 | 9 | ||
@@ -213,7 +213,6 @@ typedef struct _globals | |||
213 | Evas *evas; | 213 | Evas *evas; |
214 | Evas_Object *win; // Our Elm window. | 214 | Evas_Object *win; // Our Elm window. |
215 | Evas_Object *tb; // Our Elm toolbar. | 215 | Evas_Object *tb; // Our Elm toolbar. |
216 | Evas_Object *bx; // Our box. | ||
217 | int logDom; // Our logging domain. | 216 | int logDom; // Our logging domain. |
218 | 217 | ||
219 | winFang *mainWindow; | 218 | winFang *mainWindow; |
@@ -253,7 +252,7 @@ EAPI void Evas_3D_Demo_add(globals *ourGlobals); | |||
253 | Eina_Bool _animate_scene(globals *ourGlobals); | 252 | Eina_Bool _animate_scene(globals *ourGlobals); |
254 | void Evas_3D_Demo_fini(globals *ourGlobals); | 253 | void Evas_3D_Demo_fini(globals *ourGlobals); |
255 | 254 | ||
256 | Scene_Data *scenriAdd(Evas *evas, Evas_Object *win); | 255 | Scene_Data *scenriAdd(Evas_Object *win); |
257 | Evas_3D_Node *cameraAdd(Evas *evas, Scene_Data *scene, Evas_Object *win); | 256 | Evas_3D_Node *cameraAdd(Evas *evas, Scene_Data *scene, Evas_Object *win); |
258 | Eina_Bool animateCamera(Scene_Data *scene); | 257 | Eina_Bool animateCamera(Scene_Data *scene); |
259 | 258 | ||