22 #ifndef ULTIMA8_GRAPHICS_SOFTRENDERSURFACE_H 23 #define ULTIMA8_GRAPHICS_SOFTRENDERSURFACE_H 25 #include "ultima/ultima8/graphics/base_soft_render_surface.h" 26 #include "graphics/managed_surface.h" 47 void Fill32(uint32 rgb, int32 sx, int32 sy, int32 w, int32 h)
override;
50 void FillAlpha(uint8 alpha, int32 sx, int32 sy, int32 w, int32 h)
override;
53 void FillBlended(uint32 rgba, int32 sx, int32 sy, int32 w, int32 h)
override;
68 void Paint(
const Shape *s, uint32 frame, int32 x, int32 y,
bool untformed_pal =
false)
override;
71 void PaintNoClip(
const Shape *s, uint32 frame, int32 x, int32 y,
bool untformed_pal =
false)
override;
74 void PaintTranslucent(
const Shape *s, uint32 frame, int32 x, int32 y,
bool untformed_pal =
false)
override;
77 void PaintMirrored(
const Shape *s, uint32 frame, int32 x, int32 y,
bool trans =
false,
bool untformed_pal =
false)
override;
80 void PaintInvisible(
const Shape *s, uint32 frame, int32 x, int32 y,
bool trans,
bool mirrored,
bool untformed_pal =
false)
override;
83 void PaintHighlight(
const Shape *s, uint32 frame, int32 x, int32 y,
bool trans,
bool mirrored, uint32 col32,
bool untformed_pal =
false)
override;
86 void PaintHighlightInvis(
const Shape *s, uint32 frame, int32 x, int32 y,
bool trans,
bool mirrored, uint32 col32,
bool untformed_pal =
false)
override;
93 void DrawLine32(uint32 rgb, int32 sx, int32 sy, int32 ex, int32 ey)
override;
101 void Blit(
const Graphics::ManagedSurface *, int32 sx, int32 sy, int32 w, int32 h, int32 dx, int32 dy,
bool alpha_blend =
false)
override;
Definition: managed_surface.h:45
void MaskedBlit(const Graphics::ManagedSurface *, int32 sx, int32 sy, int32 w, int32 h, int32 dx, int32 dy, uint32 col32, bool alpha_blend=false) override
Blit a region from a Texture with a Colour blend masked based on DestAlpha (AlphaTex == 0 || AlphaDes...
void PaintInvisible(const Shape *s, uint32 frame, int32 x, int32 y, bool trans, bool mirrored, bool untformed_pal=false) override
Paint an Invisible Shape.
void Fill32(uint32 rgb, int32 sx, int32 sy, int32 w, int32 h) override
Fill buffer (using a RGB colour)
void PaintTranslucent(const Shape *s, uint32 frame, int32 x, int32 y, bool untformed_pal=false) override
Paint a Translucent Shape.
Definition: base_soft_render_surface.h:37
void FillBlended(uint32 rgba, int32 sx, int32 sy, int32 w, int32 h) override
Fill the region doing alpha blending.
void FadedBlit(const Graphics::ManagedSurface *, int32 sx, int32 sy, int32 w, int32 h, int32 dx, int32 dy, uint32 col32, bool alpha_blend=false) override
Blit a region from a Texture with a Colour blend (AlphaTex == 0 -> skipped. AlphaCol32 -> Blend Facto...
Definition: detection.h:27
void PaintHighlight(const Shape *s, uint32 frame, int32 x, int32 y, bool trans, bool mirrored, uint32 col32, bool untformed_pal=false) override
Paint a Highlighted Shape of using the 32 Bit Colour col32 (0xAARRGGBB Alpha is blend level) ...
void PaintHighlightInvis(const Shape *s, uint32 frame, int32 x, int32 y, bool trans, bool mirrored, uint32 col32, bool untformed_pal=false) override
Paint a Invisible Highlighted Shape of using the 32 Bit Colour col32 (0xAARRGGBB Alpha is blend level...
Definition: soft_render_surface.h:36
void PaintMirrored(const Shape *s, uint32 frame, int32 x, int32 y, bool trans=false, bool untformed_pal=false) override
Paint a Mirrored Shape.
void PaintNoClip(const Shape *s, uint32 frame, int32 x, int32 y, bool untformed_pal=false) override
Paint a Shape without clipping.
void Blit(const Graphics::ManagedSurface *, int32 sx, int32 sy, int32 w, int32 h, int32 dx, int32 dy, bool alpha_blend=false) override
Blit a region from a Texture (Alpha == 0 -> skipped)
void FillAlpha(uint8 alpha, int32 sx, int32 sy, int32 w, int32 h) override
Fill alpha channel.
void Paint(const Shape *s, uint32 frame, int32 x, int32 y, bool untformed_pal=false) override
Paint a Shape.