NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Namespaces | Functions
RenderModuleComponents.cpp File Reference

Defines the class methods for the render engine core. More...

#include <boost/function.hpp>
#include "RenderModule.h"
#include "../sharedbase/EventLogger.h"
#include "../sharedbase/Entity.h"
#include "component/RenderableComponent.h"
#include "component/CameraComponent.h"
#include "component/renderable/HeightmapRenderable.h"
#include "component/renderable/LightAmbientRenderable.h"
#include "component/renderable/LightDirectionalRenderable.h"
#include "component/renderable/LightPointRenderable.h"
#include "component/renderable/ModelRenderable.h"
#include "component/renderable/RenderableHelicalTube.h"
#include "component/renderable/CubeRenderable.h"
#include "component/renderable/TiledMap.h"
#include "component/renderable/PointLine.h"
#include "component/renderable/Quad.h"
#include "Components.h"
#include "component/renderable/Sprite.h"
#include "component/renderable/D3DFont.h"
Include dependency graph for RenderModuleComponents.cpp:

Go to the source code of this file.

Namespaces

namespace  GraphicsCore
 Namespace to contain every item that is related to the rendering engine. The name itself is a legacy, as is a lot of the code contain by it, from the Saturn V engine that built as part of Adam and Ricky's Engine class.

Functions

template<typename T >
void GraphicsCore::getAttribute (const std::string type, std::map< std::string, boost::any > &attributes, const std::string key, boost::function< bool(T)> setter)
 For standard, single-parameter setters, provides a quick and easy way to reduce an immense number of lines of code in CreateComponent by centralizing all common operations.
template<typename T >
std::pair< bool, T > GraphicsCore::getAttributeAlt (const std::string type, std::map< std::string, boost::any > &attributes, const std::string key)
 For non-standard setters, provides a relatively quick and easy way to reduce an immense number of lines of code in CreateComponent by centralizing all common operations.

Detailed Description

Defines the class methods for the render engine core.

Author:
Ricky Curtice
Date:
20110717

Definition in file RenderModuleComponents.cpp.