Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

IEngine.h File Reference

#include "IArray.h"
#include "IReference.h"
#include "IVideoDevice.h"
#include "IFileManager.h"
#include "ISceneGraph.h"
#include "ISoundDevice.h"

Go to the source code of this file.

Namespaces

namespace  amn

Defines

#define AMN_API
#define _LINUX

Functions

AMN_API amn::IEnginecreateEngine (const char *configurationFileName)
 Use this to create the engine.


Define Documentation

#define _LINUX
 

#define AMN_API
 


Function Documentation

AMN_API amn::IEngine* createEngine const char *  configurationFileName  ) 
 

Use this to create the engine.

Below is an example of a configuration script:

 <Window Width="1024" Height="768" Bits="32">
 <Title>example window title</Title>

 <EngineParameters>
 AntiAlias
 StencilBuffer
 noVSync
 FullScreen
 </EngineParameters>

The <Window> tag tells the engine what width, height, and depth the window should be created with. As you can probably understand, the <Title> tag tells the engine what the window title should be.

The <EngineParameters> tag simply holds a list of strings that tell if a feature should be used or not. By simply adding or removing a "no" to the prefix of these parameters, the user is able to enable/disable it.

Note: the XML configuration file IS case-sensitive.

Parameters:
File name of the configuration file.


Generated on Wed Feb 1 22:23:26 2006 for AmnesiaEngine by  doxygen 1.4.2