Thanks for the answers to my question. I've got some other thoughts and responses buried below.
Cheers,
Bobby
Troy A. Griffitts wrote:
[EMAIL PROTECTED]">Doh! I missed the asterisk entirely. Shame on me for letting my C/C++ skills deteriorate so badly :-(Bobby,long *VerseKey::offsets[2][2] = {{VerseKey::otbks,
VerseKey::otcps}, {VerseKey::ntbks, VerseKey::ntcps}};
long *[][] is 3 dimensional (notice the *) just use long[][][]
[EMAIL PROTECTED]">Uh oh. This might cause problems since Java arrays are constant size once defined. I'll look at implementing as Vectors instead.
The first 2 dimensions are constant; the last is different for each
entry.
[EMAIL PROTECTED]">Since Java doesn't have unsigned variable types, I'll probably have to do something slightly different here. Shouldn't be too hard, though. "Small hurdle for a high stepper" as my Mom was fond of saying during my formative years :-)
<snip>
nt.vss is an index file that contains a series of 6 byte records that
store u32 offset; u16 size; so it might look something like:
offset size
0 50
50 120
170 30
200 45
...
[EMAIL PROTECTED]">Yes, it helps tremendously! Now, I'll be able to get my arms around the rest of the code and at least have a conceptual understanding of what the author's intent was. That's always the toughest challenge, in my opinion.
<snip>
Hope this helps.
-Troy.
Thanks,
Bobby