Lexicon v3.0.6
This release has been a long time coming, I hope it was worth the wait! π
Added
lexicon_language_get_index()
, which returns the current index within the language array.lexicon_dynamic_define(name, callback, [updateCache=true])
, which updates any text passed tolexicon_text
andlexicon_text_array
calls, replacing them with the return of the callback.- Ability to refer to entries within entries, along with recursion detection.
Changed
- Reworked all of the macros to now be
__MACRO_NAME
instead ofMACRO_NAME
(To privatise these) - Changed a couple default settings (struct accessors are now
{foo}
instead of%foo%
) - Any updates/fixes made from the last few v2.1.x versions
- Neaten up
lexicon_settings
comments - Any string can be processed via
lexicon_text
andlexicon_text_array
. (lexicon_text("Hello {0}!", "Bob")
will be processed and actually return the processed string.)
Deprecated
- Legacy accessor
%s
lexicon_text_struct
. Superseeded bylexicon_text
andlexicon_text_array
.
Removed
- Removed a bunch of old settings that were no longer needed.