Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 9:53 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Nov 26, 2008 7:16 pm 
Offline

Joined: Sun May 06, 2007 1:33 am
Posts: 9
Hi all, the attached patch add 4 functions to raydium:

void raydium_ode_object_data_set (int o, void *data);
void raydium_ode_object_data_set_name (char *o, void *data);
void *raydium_ode_object_data_get (int e);
void *raydium_ode_object_data_get_name (char *e);

They replicate the same behavior as raydium_ode_element_data_* but 'per-object'

The patch also include a really small fix for raydium_ode_ground_set_name () to return
and int (succesfull or error)

hope this can be usefull for others too.
Dave

note: the patch must be applied from the raydium/raydium directory.
-----
I can't attach the file to the post :(
I have put the patch online, you can found it at:
http://www.gurumeditation.it/0001-ode-object-data.patch


Top
 Profile  
 
PostPosted: Wed Nov 26, 2008 11:15 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,


Your patch seem's ok but ...

I've commit 810 version and your patch is for 809.

Can you update your patch after updating to rev 810.

I'll apply it as soon as possible.

Have a nice day.

Ouille.


Top
 Profile  
 
PostPosted: Thu Nov 27, 2008 2:30 pm 
Offline

Joined: Sun May 06, 2007 1:33 am
Posts: 9
Ok, I have done a new patch on top of 810.

http://www.gurumeditation.it/0002-ode-object-data.patch

note: this one also contain a new OnDelete callback for objects (like is done for elements)
Hope you like also this feature :)


Top
 Profile  
 
PostPosted: Thu Nov 27, 2008 5:16 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

Done with some missing initialisation rev 811.

Thanks.

Have a nice day.
Ouille.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 51 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group