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" 40 class cMaterialManager;
44 class 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);
113 cVector3f GetMidPosition() {
return mvMidPosition; }
117 tString GetEntityType() {
return "Beam"; }
120 void SetVisible(
bool abVisible) { SetRendered(abVisible); }
123 iMaterial *GetMaterial() {
return mpMaterial; }
128 bool IsShadowCaster() {
return false; }
134 int GetMatrixUpdateCount();
136 eRenderableType GetRenderType() {
return eRenderableType_ParticleSystem; }
150 int mlStartTransformCount;
151 int mlEndTransformCount;
155 int mlLastRenderCount;
165 bool mbMultiplyAlphaWithColor;
Definition: VertexBuffer.h:90
Definition: MaterialManager.h:41
Definition: BoundingVolume.h:71
Definition: Renderable.h:70
Definition: FileSearcher.h:43
Definition: RenderList.h:145
Definition: Resources.h:160
Definition: Entity3D.h:81
Definition: Material.h:203
Definition: Entity3D.h:44
Definition: Graphics.h:46
Definition: LowLevelGraphics.h:200
Definition: Camera3D.h:53