ID:116812
 
Alright, I've released my text handling library for the second time here. I've gone to great lengths to document it and stuff (haha, cause it was hard).

I've also decided to implement the library a bit differently. Instead of including everything on the global scale, everything is defined on a datum (in this case, called kText). This includes functions and other globally available variables.

To give access to the functionality, I include a variable containing an instance of this datum, with the same name as the library, on the global scale.

This means to access the library's global functionality, you will be calling kText.blah() instead of just blah(), or even k_blah(). I think this makes code a bit less gross to read, and in cases where you will have to access a lot of data from the library, it's not as obscure; KTEXT_BLAH_BLAH, as opposed to kText.BLAH_BLAH. I think this is a bit more comfortable, since people will read it as "we're accessing kText's BLAH_BLAH variable!", as opposed to "we're accessing this big huge obnoxious variable named KTEXT_BLAH_BLAH."

I'll be re-releasing my two other libraries using this same setup, after rewriting them as well (haha).