What's this?
------------

"Coercri" is a small library I have written to abstract out platform
dependent operations, such as graphics, sounds and network access. 

At the moment it is implemented on top of SDL and ENet.


Why not just use SDL directly?
------------------------------

I could have used SDL directly but I wanted the flexibility to use
other graphics libraries in the future, e.g. SFML, or calling DirectX
directly (on Windows). If I do decide to do that, I will only have to
add new backends to Coercri, rather than reprogramming large parts of
Knights.


Can I use this for my own projects?
-----------------------------------

Sure, although it is not documented and you may find bugs or things
that aren't implemented yet. If you have questions feel free to
contact me by email (address below).


What is the license?
--------------------

All files in the "coercri" directory are licensed under the Boost
Software License, version 1.0, reproduced below. Please note that this
does NOT apply to the rest of Knights, which remains licensed under
the more restrictive Knights Software Licence (see LICENCE.txt in the
root directory of the Knights distribution).


===========================================================================
Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
===========================================================================



--
Stephen Thompson
stephen (at) solarflare.org.uk
June 2009
