#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::IEngine * | createEngine (const char *configurationFileName) |
Use this to create the engine. |
|
|
|
|
|
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.
|