28 #ifndef HPL_RENDERER2D_H 29 #define HPL_RENDERER2D_H 31 #include "common/list.h" 32 #include "hpl1/engine/graphics/GraphicsTypes.h" 33 #include "hpl1/engine/graphics/Material.h" 34 #include "hpl1/engine/graphics/Mesh2d.h" 35 #include "hpl1/engine/math/MathTypes.h" 36 #include "hpl1/engine/scene/Light2D.h" 37 #include "hpl1/std/multiset.h" 38 #include "hpl1/std/set.h" 42 #define MAX_SHADOW_POINTS (100) 43 #define MAX_ONSCREEN_SHADOWCASTERS (100) 47 class iLowLevelGraphics;
48 class LowLevelResources;
49 class cRenderObject2D;
50 class cGraphicsDrawer;
68 typedef tRenderObjectSet::iterator tRenderObjectSetIt;
71 typedef tRenderTransObjectSet::iterator tRenderTransObjectSetIt;
87 void SetShadowZ(
float afZ) { mfShadowZ = afZ; }
88 float GetShadowZ() {
return mfShadowZ; }
90 void SetAmbientLight(
cColor aCol) { mAmbientLight = aCol; }
91 cColor GetAmbientLight() {
return mAmbientLight; }
94 if (alNum < 0 || alNum > 1)
96 return mpLightMap[alNum];
105 tRenderObjectSet m_mapObject;
106 tRenderTransObjectSet m_mapTransObject;
115 int mvShadowPoints[MAX_SHADOW_POINTS][2];
116 int mlShadowPointSize;
137 inline int CreateVertexes(
cVector2f vLightPos,
cRect2f LightRect,
float fRadius,
bool bNonFit,
145 #endif // HPL_RENDERER2D_H
Definition: GraphicsDrawer.h:77
Definition: low_level_resources.h:40
Definition: GridMap2D.h:147
Definition: Renderer2D.h:79
Definition: RenderObject2D.h:44
Definition: Resources.h:160
Definition: list_intern.h:51
Definition: Renderer2D.h:56
Definition: Material.h:203
Definition: Renderer2D.h:62
Definition: Camera2D.h:38
Definition: LowLevelGraphics.h:200