[sword-devel] How to make new module

Chris Little sword-devel@crosswire.org
Thu, 31 Aug 2000 00:08:51 -0700 (MST)

No, the bks and cps files don't get used at all.  The data for the KJV's
bks and cps files is contained in a static array (it's in the canon.h
file).  It's simpler to implement, but it requires that all your modules
have the same number of verses per chapter per book.  That's why we only
support KJV verse numbering.  Even when bks/cps files are available, the
static arrays get used, though it would be cool to add support for reading
the files if present for more versatility.


On Wed, 30 Aug 2000, Jerry Hastings wrote:

> I am not sure I follow you. I know the files are not used in the end 
> product. But, don't you still compile the indexes into the binary? If you 
> don't have the data in some form what are you using to point into vss?
> Jerry
> At 01:46 PM 8/29/2000 -0700, you wrote:
> >The bks and cps files don't actually get used at the moment by sword, but
> >it might be nice if we could implement support for them if they are
> >present.  With basic KJV verse mapped translations, the speed increase
> >gained by keeping those arrays static in memory is probably worth the
> >space in memory.
> >
> >--Chris