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)
47class iLowLevelGraphics;
48class LowLevelResources;
68typedef tRenderObjectSet::iterator tRenderObjectSetIt;
71typedef 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];
115 int mvShadowPoints[MAX_SHADOW_POINTS][2];
116 int mlShadowPointSize;
137 inline int CreateVertexes(
cVector2f vLightPos,
cRect2f LightRect,
float fRadius,
bool bNonFit,
Definition: low_level_resources.h:40
Definition: Camera2D.h:38
Definition: GraphicsDrawer.h:77
Definition: GridMap2D.h:147
Definition: Renderer2D.h:56
Definition: RenderObject2D.h:44
Definition: Renderer2D.h:62
Definition: Renderer2D.h:79
Definition: Resources.h:160
Definition: LowLevelGraphics.h:200
Definition: Material.h:203
Definition: list_intern.h:54