31#include "RenderList.h"
32#include "hpl1/engine/graphics/GraphicsTypes.h"
33#include "hpl1/engine/graphics/Renderable.h"
34#include "hpl1/engine/math/MathTypes.h"
35#include "hpl1/engine/scene/Entity3D.h"
36#include "hpl1/engine/system/SystemTypes.h"
40class cMaterialManager;
44class iLowLevelGraphics;
57 mColor(1, 1), mpBeam(apBeam) {}
59 void SetColor(
const cColor &aColor);
60 const cColor &GetColor() {
return mColor; }
64 tString GetEntityType() {
return "BeamEnd"; }
75 void OnTransformUpdate(
iEntity3D *apEntity);
90 const tString &GetFileName() {
return msFileName; }
99 void SetColor(
const cColor &aColor);
100 const cColor &GetColor() {
return mColor; }
102 void SetTileHeight(
bool abX);
103 bool GetTileHeight() {
return mbTileHeight; }
105 void SetMultiplyAlphaWithColor(
bool abX);
106 bool GetMultiplyAlphaWithColor() {
return mbMultiplyAlphaWithColor; }
108 cBeamEnd *GetEnd() {
return mpEnd; }
110 bool LoadXMLProperties(
const tString asFile);
112 cVector3f GetAxis() {
return mvAxis; }
113 cVector3f GetMidPosition() {
return mvMidPosition; }
117 tString GetEntityType() {
return "Beam"; }
120 void SetVisible(
bool abVisible) { SetRendered(abVisible); }
123 iMaterial *GetMaterial() {
return mpMaterial; }
124 iVertexBuffer *GetVertexBuffer() {
return mpVtxBuffer; }
126 void UpdateGraphics(cCamera3D *apCamera,
float afFrameTime, cRenderList *apRenderList);
128 bool IsShadowCaster() {
return false; }
130 cBoundingVolume *GetBoundingVolume();
132 cMatrixf *GetModelMatrix(cCamera3D *apCamera);
136 eRenderableType GetRenderType() {
return eRenderableType_ParticleSystem; }
150 int mlStartTransformCount;
151 int mlEndTransformCount;
155 int mlLastRenderCount;
165 bool mbMultiplyAlphaWithColor;
void SetSize(const cVector2f &avSize)
int GetMatrixUpdateCount()
Definition: FileSearcher.h:43
Definition: Graphics.h:46
Definition: MaterialManager.h:41
Definition: Resources.h:160
Definition: Entity3D.h:81
Definition: Entity3D.h:44
Definition: LowLevelGraphics.h:200
Definition: Material.h:203
Definition: Renderable.h:70
Definition: VertexBuffer.h:90