Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 17th June 2004, 07:39 PM   #1
bsupnik
Junior Member
Member
 
Join Date: May 2004
Location: San Diego
Posts: 16
Default Rules for UserData

Hi Andy,

A quick question or two about user data:

1. Is the user data shared between all plugins? If so, is there good etiquette regarding attaching data to an object?

2. Is user data saved with the model?

3. Must the user data be a real string (E.g. no nulls mid-string) or consist only of 7-bit characters?

4. What are the memory management rules? If I attach a string, I allocate it with myalloc, right? If I want to replace the string, is the old one automatically freed or do I have to nuke it? When done, does AC3D clean up the model when the file is closed?

Thanks!!
Ben
bsupnik is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 07:04 PM.


AC3D Forum
(C) Inivis Limited 2020