From 9c6ebe2bf088bbe1404e8210876c58d743ab199a Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 6 May 2014 23:32:57 +1000 Subject: 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.. --- src/extantz/extantz.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/extantz/extantz.h') 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 @@ #define _EXTANTZ_H_ #define USE_PHYSICS 1 -#define USE_IRR 0 -#define USE_DEMO 0 +#define USE_IRR 1 +#define USE_DEMO 1 #define DO_GEARS 0 @@ -213,7 +213,6 @@ typedef struct _globals Evas *evas; Evas_Object *win; // Our Elm window. Evas_Object *tb; // Our Elm toolbar. - Evas_Object *bx; // Our box. int logDom; // Our logging domain. winFang *mainWindow; @@ -253,7 +252,7 @@ EAPI void Evas_3D_Demo_add(globals *ourGlobals); Eina_Bool _animate_scene(globals *ourGlobals); void Evas_3D_Demo_fini(globals *ourGlobals); -Scene_Data *scenriAdd(Evas *evas, Evas_Object *win); +Scene_Data *scenriAdd(Evas_Object *win); Evas_3D_Node *cameraAdd(Evas *evas, Scene_Data *scene, Evas_Object *win); Eina_Bool animateCamera(Scene_Data *scene); -- cgit v1.1