Hello

I have some questions concerning eet :)

1) I have a struct like this:

struct Vec3{
double x;
double y;
double ;
}

struct Object {
Vec3 position;
Vec3 rotation;
}

I want to serialize Object.

I have an eet descriptor for Vec3 that I want to use but
EET_DATA_DESCRIPTOR_ADD_SUB takes a pointer, right?
I want to avoid using EET_DATA_DESCRIPTOR_ADD_BASIC with position.x,
position.y, position.z and use the eet descriptor for vec3.
Is it possible to handle this use case?

2)
I have:

struct Entity{
int id;
}

struct Camera{
Entity* target;
}

In this case, when I serialize Camera, I want to save a reference to
the target like its id in my application.
I guess that would involve calling a function that gets the id...

Is it something that stays in the scope of eet or I'd better make my own stuff?

-- 
http://indefini.org

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to