Rainweaver.Common Library - .NET 3.5
NoteThe library is not finished as of now, however you can still reuse
the structures contained.
FeaturesThe Rainweaver.Common library contains an Input Manager, some commonly used
structures and a simple class containing two extension methods to store and
restore render surfaces.
InputManagerCall InputManager.Initialize supplying your render/main form, then attach
your events to the delegates you can find under the Rainweaver.Common.InputManager
class. Remember to Terminate the InputManager once you're about to close
your application. Check also the Mouse and Keyboard class.
Remember that right now you cannot change the form you're hooking to once it's set.
StructuresSome structures I've used for Darkmana and my user interface. They're inspired
by the .NET BCL, the main difference is that they use System.Single instead of
System.Int. You will find Rect, UVCoords, Point, Insets and Size. Common operators
and methods are already included. They're fairly self-describing, besides the
Rect.Scale method, which is a mysterious entity.
RenderSurfaceManagerInitialize the RenderSurfaceManager only if you mean to use the Store and Restore
extension methods, which you can use with TVRenderSurfaces.
Known BugsI have finished writing the input manager today and I'm sure I've missed something
here and there, either last minute bugs or things I've completely overlooked.
Please either PM me on the TV3D forums (RaineC) or post in the library thread.
Feedback and constructive criticism are always appreciated.
LicenseThis library is free for commercial use. If you use the library, credits to me (Roberto Collina) would be nice and appreciated.
Download link:
http://www.mediafire.com/?z03vd2suen1