|
| BaseRenderer3D (BaseGame *inGame=nullptr) |
|
bool | setAmbientLightColor (uint32 color) |
|
bool | setDefaultAmbientLightColor () |
|
virtual void | setAmbientLight ()=0 |
|
virtual int | maximumLightsCount ()=0 |
|
virtual void | enableLight (int index)=0 |
|
virtual void | disableLight (int index)=0 |
|
virtual void | setLightParameters (int index, const Math::Vector3d &position, const Math::Vector3d &direction, const Math::Vector4d &diffuse, bool spotlight)=0 |
|
virtual void | setSpriteBlendMode (Graphics::TSpriteBlendMode blendMode)=0 |
|
virtual void | enableCulling ()=0 |
|
virtual void | disableCulling ()=0 |
|
virtual bool | enableShadows ()=0 |
|
virtual bool | disableShadows ()=0 |
|
virtual void | displayShadow (BaseObject *object, const Math::Vector3d &light, bool lightPosRelative)=0 |
|
virtual bool | stencilSupported ()=0 |
|
Rect32 | getViewPort () override |
|
Graphics::PixelFormat | getPixelFormat () const override |
|
void | fade (uint16 alpha) override |
|
void | initLoop () override |
|
virtual bool | setProjection2D ()=0 |
|
virtual void | setWorldTransform (const Math::Matrix4 &transform)=0 |
|
void | project (const Math::Matrix4 &worldMatrix, const Math::Vector3d &point, int32 &x, int32 &y) |
|
Math::Ray | rayIntoScene (int x, int y) |
|
Math::Matrix4 | lastProjectionMatrix () |
|
virtual Mesh3DS * | createMesh3DS ()=0 |
|
virtual XMesh * | createXMesh ()=0 |
|
virtual ShadowVolume * | createShadowVolume ()=0 |
|
bool | drawSprite (BaseSurfaceOpenGL3D &tex, const Rect32 &rect, float zoomX, float zoomY, const Vector2 &pos, uint32 color, bool alphaDisable, Graphics::TSpriteBlendMode blendMode, bool mirrorX, bool mirrorY) |
|
virtual bool | drawSpriteEx (BaseSurfaceOpenGL3D &tex, const Rect32 &rect, const Vector2 &pos, const Vector2 &rot, const Vector2 &scale, float angle, uint32 color, bool alphaDisable, Graphics::TSpriteBlendMode blendMode, bool mirrorX, bool mirrorY)=0 |
|
virtual void | renderSceneGeometry (const BaseArray< AdWalkplane *> &planes, const BaseArray< AdBlock *> &blocks, const BaseArray< AdGeneric *> &generics, const BaseArray< Light3D *> &lights, Camera3D *camera)=0 |
|
virtual void | renderShadowGeometry (const BaseArray< AdWalkplane *> &planes, const BaseArray< AdBlock *> &blocks, const BaseArray< AdGeneric *> &generics, Camera3D *camera)=0 |
|
Math::Matrix3 | build2dTransformation (const Vector2 ¢er, float angle) |
|
virtual void | dumpData (const char *filename) |
|
virtual BaseImage * | takeScreenshot ()=0 |
|
virtual bool | saveScreenShot (const Common::String &filename, int sizeX=0, int sizeY=0) |
|
virtual bool | setViewport (int left, int top, int right, int bottom) |
|
virtual bool | setViewport (Rect32 *rect) |
|
virtual bool | setScreenViewport () |
|
virtual void | setWindowed (bool windowed)=0 |
|
virtual void | fadeToColor (byte r, byte g, byte b, byte a)=0 |
|
virtual bool | drawLine (int x1, int y1, int x2, int y2, uint32 color) |
|
virtual bool | drawRect (int x1, int y1, int x2, int y2, uint32 color, int width=1) |
|
| BaseRenderer (BaseGame *inGame=nullptr) |
|
virtual bool | setProjection () |
|
virtual bool | windowedBlt () |
|
virtual bool | fill (byte r, byte g, byte b, Common::Rect *rect=nullptr)=0 |
|
virtual void | onWindowChange () |
|
virtual bool | initRenderer (int width, int height, bool windowed) |
|
virtual bool | flip ()=0 |
|
virtual bool | indicatorFlip ()=0 |
|
virtual bool | forcedFlip ()=0 |
|
virtual bool | setup2D (bool force=false) |
|
virtual bool | setupLines () |
|
virtual Common::String | getName () const =0 |
|
virtual bool | displayDebugInfo () |
|
virtual bool | drawShaderQuad () |
|
virtual float | getScaleRatioX () const |
|
virtual float | getScaleRatioY () const |
|
virtual BaseSurface * | createSurface ()=0 |
|
bool | clipCursor () |
|
bool | unclipCursor () |
|
BaseObject * | getObjectAt (int x, int y) |
|
void | deleteRectList () |
|
virtual bool | startSpriteBatch () |
|
virtual bool | endSpriteBatch () |
|
bool | pointInViewport (Point32 *P) |
|
bool | isReady () const |
|
bool | isWindowed () const |
|
int32 | getBPP () const |
|
void | addRectToList (BaseActiveRect *rect) |
|
void | initIndicator () |
|
void | setIndicatorVal (int value) |
|
void | setIndicator (int width, int height, int x, int y, uint32 color) |
|
void | persistSaveLoadImages (BasePersistenceManager *persistMgr) |
|
void | initSaveLoad (bool isSaving, bool quickSave=false) |
|
virtual void | endSaveLoad () |
|
void | setLoadingScreen (const char *filename, int x, int y) |
|
void | setSaveImage (const char *filename, int x, int y) |
|
bool | displayIndicator () |
|
int32 | getWidth () const |
|
int32 | getHeight () const |
|
bool | setEditorProp (const Common::String &propName, const Common::String &propValue) |
|
Common::String | getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String()) |
|
| BaseClass (TDynamicConstructor, TDynamicConstructor) |
|
bool | parseEditorProperty (char *buffer, bool complete=true) |
|
virtual bool | saveAsText (BaseDynamicBuffer *buffer, int indent=0) |
|
| BaseClass (BaseGame *GameOwner) |
|
virtual const char * | getClassName () |
|
virtual bool | persist (BasePersistenceManager *persistMgr) |
|