ThiefLib is a modern wrapper library for creating custom script modules for the
Dark Engine games Thief II: The Metal Age and Thief: The Dark Project/Thief
Gold. It builds on the previous work of GayleSaver and Telliamed in documenting
the engine's often-perplexing script API while offering a simplified, modern-C++
interface in which the first-class objects and methods are coherently organized
and clearly mapped to in-game results.

ThiefLib is still in development and should be used with caution. It is the base
library for KDScript as of version 0.7.0 of that module, but many elements not
used there have not seen extensive testing. See the TODO file and comments
marked TODO throughout the codebase for other work remaining to be done.
Particularly, the library is still almost entirely undocumented.

The library currently requires NewDark, but I can eventually make that
dependency optional if anyone would prefer that.



Copyright (C) 2012-2013 Kevin Daughtridge <kevin@kdau.com>

ThiefLib contains or is adapted in part from the following works:
* the lg library, by Tom N Harris (Telliamed) <telliamed@whoopdedo.org>
* the DarkHook 2 library, copyright (C) 2005-2011 Tom N Harris
* the Object Script Library (ScriptLib), copyright (C) 2011 Tom N Harris
* Public Scripts, copyright (C) 2005-2011 Tom N Harris
* syntax conventions used in NVScript, by Nameless Voice
* TWScript, copyright (C) 2013 Chris Page (The Watcher) <chris@starforge.co.uk>



This library is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

Further permission is granted to link any compiled binary module including this
library with any licensed copy of a Dark Engine game or level editor, whether
patched or unpatched, so long as the compiled work complies with the terms of
the appropriate End-User License Agreement issued by Eidos Interactive.

This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

