From 923cdbef0a76190006a1a175b97836d0c3444214 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 2 Jun 2014 00:18:32 +1000 Subject: Load and rez stuffs in an idler, also fix some bugs in that part. --- src/extantz/extantz.h | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) (limited to 'src/extantz/extantz.h') diff --git a/src/extantz/extantz.h b/src/extantz/extantz.h index 1526626..5882e10 100644 --- a/src/extantz/extantz.h +++ b/src/extantz/extantz.h @@ -141,26 +141,9 @@ typedef struct _Scene_Data Evas_3D_Light *light; - Eina_Clist stuffs; -/* - Evas_3D_Mesh *mesh; - Evas_3D_Node *mesh_node; - Evas_3D_Material *material0; - Evas_3D_Material *material1; - Evas_3D_Texture *texture0; - Evas_3D_Texture *texture1; - Evas_3D_Texture *texture_normal; - - Evas_3D_Mesh *mesh2; - Evas_3D_Node *mesh2_node; - Evas_3D_Material *material2; - Evas_3D_Texture *texture2; - - Evas_3D_Mesh *mesh3; - Evas_3D_Node *mesh3_node; - Evas_3D_Material *material3; - Evas_3D_Texture *texture_diffuse; -*/ + char sim[PATH_MAX]; + Eina_Clist stuffs, loading; + cameraMove *move; Evas_Object_Event_Cb clickCb; @@ -169,6 +152,16 @@ typedef struct _Scene_Data typedef void (* aniStuffs)(void *stuffs); +typedef enum +{ + ES_NORMAL = -1, + ES_PRE = 1, + ES_PART, + ES_LOADED, + ES_RENDERED, + ES_TRASHED +} ES_Stages; + typedef struct _extantzStuffs { Stuffs stuffs; @@ -183,6 +176,8 @@ typedef struct _extantzStuffs Eina_Accessor *aTexture; aniStuffs animateStuffs; Eina_Clist node; + ES_Stages stage; + int fake; } ExtantzStuffs; -- cgit v1.1