Xilath - Visual Studio 2005 (Direct3D Template)
Xilath - Direct3D9 Visual Studio 2005 template Download
I've had the chance to slap together a simple and easy to use template
for people interested in playing with a small framework. The directory
structure is hopefully simple to follow and here is the breakdown.
1) Drop the xilath_template.zip file into your Visual Studio 2005\Templates\ProjectTemplates directory.
2) File -> New Project -> Xilath
3) This will give you a new project and you are ready to add some goodies and extend the framework as you see fit.
Core
Debug -
Handles output to the screen. Debugging information such as frames per second
Engine -
Main entry point for initializing entities and includes 4 methods such as Update, Pre-Render, Render, Post-Render
Game -
This is where the Application.OnIdle event is hooked up to the window.
Input -
Handles input from the mouse and keyboard.
NativeMethods-
Enables the program to extract the PeekMessage, QueryPerformanceFrequency and the QueryPerformanceCounter methods
Timer -
Calculates the frames per second and acts as a timer to do framerateless movement.
Display
XilathWindow-
Will be the display surface for our engine.
Graphics
Renderer-
Handles rendering and device management
View
Camera-
Use of this class will enable freely moving such as a freeform camera.
I really hope this will help some people get to grips with some of
their own engine design and this might serve as a template for people
who want to quickly prototype small demos.