Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / checklist limited to 255 items

Author
Message
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 18th May 2006 14:13
I have just been looking through the documentation on checklist for object limbs, because I am writing a map parser for a dbo object created in 3dws, which has point objects and non-collidable brushes etc represented as limbs which I need to iterate through one-by-one. The checklist says its maximum number of items is 255, so what if your model has more than 255 limbs which is not hard to do on a modern p.c?

My W.I.P project
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 18th May 2006 14:14
Would be a bit of a problem

Web Site:http://www.nicholaskingsley.co.uk
Al:If we knew the unknown, the unknown wouldn't be unknown.
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 18th May 2006 14:16
yeah you would have thought that they would have just used a linked list that could expand/shrink as needed!

My W.I.P project
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 18th May 2006 14:20 Edited at: 18th May 2006 14:21
You can always store the 255 pieces of data into an array and then reset the checklist and begin checking again, youve still got the data but now its neatly organized into an array.

monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 18th May 2006 14:23 Edited at: 18th May 2006 14:35
EDIT: OK I have just realised I can use dbLimbExist & dbLimbName instead of using the checklist stuff
Thanks for the input anyway guys.

My W.I.P project
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 19th May 2006 12:06
In DBP even though it says that, it is not limited to that.

monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 19th May 2006 12:36
@Lost In Thought
Oh right ok, the help system! yeah I have found quite a few typos etc in there, makes it hard when the help system doesn't tell you the truth though. But we have the updated help and upgrade coming soon still good work on the SDK TGC I like what I have seen so far.

My W.I.P project

Login to post a reply

Server time is: 2024-11-19 06:29:06
Your offset time is: 2024-11-19 06:29:06