1. Extend state files with additional states
2. Add all known fixes to statefiles
3. Include all other known fixes
We need this to start writing the framework. Today I've added strings.scr, files.scr and maths.scr modified by Sor. They need tweaking, but the files are already in the repo.
I've edited strings.scr and hud.scr, now they are called strings.scrlib and hud.scrlib.
This is a standarized Script Library File.
Mod loader will look for .scrlib files, and will load them. Each .scrlib file has to have 2 functions: _libname, which returns a library name, and _libinit, which initializes script library.
Thanks to this, library doesn't have to know in which directory it is located. You can download separate libs and drop them wherever you want.
Additionaly, Script Libraries doesn't have to be located inside .pk3 files, and will be loaded from "main" folder and its subdirectories as well.
----------------------------
EDIT:
I'm changing the concept a little bit.
There will be 2 functions but _libname is changed to _libinfo
It has to return an array with Libs name, title, version, and author.
If user will have more than 2 copies of given lib, loader will check its version, and load only newer one. If both copies have the same version, it will be loaded only once.