World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
RenderBase.h
См. документацию.
1 #pragma once
2 
5 
6 class RenderBase : public IRender {
7  public:
8  inline RenderBase()
9  : IRender(), window(nullptr) {
10  }
11 
12  virtual bool Initialize(OSWindow *window);
13 
15  virtual void DrawSpriteObjects_ODM();
18  unsigned int uDiffuse,
19  int angle);
20 
21  virtual HWLTexture *LoadHwlBitmap(const String &name);
22  virtual HWLTexture *LoadHwlSprite(const String &name);
23 
24  protected:
26 
29 
30  void PostInitialization();
31 
34 };
RenderBase::Initialize
virtual bool Initialize(OSWindow *window)
Definition: RenderBase.cpp:22
z
GLdouble GLdouble z
Definition: SDL_opengl_glext.h:407
RenderBase::TransformBillboard
void TransformBillboard(SoftwareBillboard *a2, RenderBillboard *pBillboard)
Definition: RenderBase.cpp:277
Texture
Definition: Texture.h:4
IRender
Definition: IRender.h:195
texture
GLenum GLenum GLuint texture
Definition: SDL_opengl_glext.h:1181
HWLTexture
Definition: HWLContainer.h:9
RenderBase::Billboard_ProbablyAddToListAndSortByZOrder
unsigned int Billboard_ProbablyAddToListAndSortByZOrder(float z)
Definition: RenderBase.cpp:49
OSWindow
Definition: OSWindow.h:12
RenderBase
Definition: RenderBase.h:6
SoftwareBillboard
Definition: IRender.h:170
IRender.h
RenderBillboard
Definition: IRender.h:26
RenderBase::pD3DBitmaps
HWLContainer pD3DBitmaps
Definition: RenderBase.h:32
RenderBase::PostInitialization
void PostInitialization()
Definition: RenderBase.cpp:38
RenderBase::window
OSWindow * window
Definition: RenderBase.h:25
window
EGLSurface EGLNativeWindowType * window
Definition: SDL_egl.h:1580
RenderBase::LoadHwlSprite
virtual HWLTexture * LoadHwlSprite(const String &name)
Definition: RenderBase.cpp:458
RenderBase::LoadHwlBitmap
virtual HWLTexture * LoadHwlBitmap(const String &name)
Definition: RenderBase.cpp:454
name
EGLImageKHR EGLint * name
Definition: SDL_egl.h:1497
HWLContainer
Definition: HWLContainer.h:26
angle
GLfloat angle
Definition: SDL_opengl_glext.h:6100
RenderBase::MakeParticleBillboardAndPush
virtual void MakeParticleBillboardAndPush(SoftwareBillboard *a2, Texture *texture, unsigned int uDiffuse, int angle)
Definition: RenderBase.cpp:377
RenderBase::DrawSpriteObjects_ODM
virtual void DrawSpriteObjects_ODM()
Definition: RenderBase.cpp:109
HWLContainer.h
RenderBase::pD3DSprites
HWLContainer pD3DSprites
Definition: RenderBase.h:33
RenderBase::TransformBillboardsAndSetPalettesODM
virtual void TransformBillboardsAndSetPalettesODM()
Definition: RenderBase.cpp:231
String
std::string String
Definition: Strings.h:10
RenderBase::RenderBase
RenderBase()
Definition: RenderBase.h:8