WLD 0x30 Fragment Question
I know this is more about development for the server and my client has fully working textures, but this is just bugging me. It seems azone handles the 0x30 fragment perfectly although the undocumented nature makes it difficult to figure out.
According to Windcatcher's WLD documentation which I have been updating, it is implied that the reference for reference fragments directly follow the header. Take the documentation of 0x30. Quote:
-------------------------------- Now it seems that it would be the first item but if I am understanding correctly, the 0x05 reference appears to be the last item. Can anyone confirm this or explain what the heck this code from azone is doing in relation to this fragment. Code:
FRAGMENT_FUNC(Data30) { Code:
// If parameters were 0 (should indicate an invible poly)? and then OR and the it checks to see if the next 20 byte cast is 0 as well? Can any EQEmu devs or knowledgeable people comment on what I may be missing here? Thank you. Also, a teaser: http://i.imgur.com/T4zBD.png |
Went back and looked over the newer azone source (thought I had the latest), my apologies. This is how the fragment is handled.
Just the beginning: Code:
FRAG_CONSTRUCTOR(Data30) { Code:
struct struct_Data30 { I will try this tomorrow. I am also working on an updated version of the WLD documentation which I will release with the source of the client. |
I guess I was a bit tired when I was first looking at this because I seem to have added unnecissary confusion myself. The fragment is documented correctly but the reference does appear to be at the end of the fragment.
Cheers. |
Do you have a source repository for this?
|
I will as soon as the source is a bit more stable.
|
Quote:
|
Point taken. Give me to the end of the weekend to cleanup some things and write a bit of documentation and I will post the SVN details. This will not be an ideal release for people who want to explore zones. This is mainly an unstable zone loader thus far with quite a few zones that won't load and a handful of bugs I am slowly eliminating.
|
That sounds great, I'm looking forward to digging into it.
|
|
All times are GMT -4. The time now is 02:55 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.