#include <C4DrawT.h>
Public Types | |
enum | DrawOperation { OP_POINTS , OP_TRIANGLES } |
enum | { DEFAULT_MESSAGE_COLOR = 0xffffffff } |
Public Member Functions | |
CStdNoGfx () | |
bool | UpdateClipper () override |
bool | OnResolutionChanged (unsigned int, unsigned int) override |
bool | PrepareMaterial (StdMeshMatManager &mat_manager, StdMeshMaterialLoader &loader, StdMeshMaterial &mat) override |
bool | PrepareRendering (C4Surface *) override |
bool | EnsureMainContextSelected () override |
bool | PrepareSpriteShader (C4Shader &shader, const char *name, int ssc, C4GroupSet *pGroups, const char *const *additionalDefines, const char *const *additionalSlices) override |
void | FillBG (DWORD dwClr=0) override |
void | PerformMesh (StdMeshInstance &, float, float, float, float, DWORD, C4BltTransform *pTransform) override |
bool | RestoreDeviceObjects () override |
bool | InvalidateDeviceObjects () override |
bool | DeviceReady () override |
void | PerformMultiPix (C4Surface *, const C4BltVertex *, unsigned int, C4ShaderCall *) override |
void | PerformMultiLines (C4Surface *, const C4BltVertex *, unsigned int, float, C4ShaderCall *) override |
void | PerformMultiTris (C4Surface *, const C4BltVertex *, unsigned int, const C4BltTransform *, C4TexRef *, C4TexRef *, C4TexRef *, DWORD, C4ShaderCall *) override |
bool | Init (C4AbstractApp *pApp, unsigned int iXRes, unsigned int iYRes, unsigned int iMonitor) |
virtual void | Clear () |
virtual void | Default () |
virtual CStdGLCtx * | CreateContext (C4Window *, C4AbstractApp *) |
bool | GetPrimaryClipper (int &rX1, int &rY1, int &rX2, int &rY2) |
bool | SetPrimaryClipper (int iX1, int iY1, int iX2, int iY2) |
bool | SubPrimaryClipper (int iX1, int iY1, int iX2, int iY2) |
C4Rect | GetClipRect () const |
C4Rect | GetOutRect () const |
bool | StorePrimaryClipper () |
bool | RestorePrimaryClipper () |
bool | NoPrimaryClipper () |
bool | ApplyPrimaryClipper (C4Surface *sfcSurface) |
bool | DetachPrimaryClipper (C4Surface *sfcSurface) |
bool | GetSurfaceSize (C4Surface *sfcSurface, int &iWdt, int &iHgt) |
void | Grayscale (C4Surface *sfcSfc, int32_t iOffset=0) |
void | LockingPrimary () |
void | PrimaryUnlocked () |
virtual void | BlitLandscape (C4Surface *sfcSource, float fx, float fy, C4Surface *sfcTarget, float tx, float ty, float wdt, float hgt) |
void | Blit8Fast (CSurface8 *sfcSource, int fx, int fy, C4Surface *sfcTarget, int tx, int ty, int wdt, int hgt) |
bool | Blit (C4Surface *sfcSource, float fx, float fy, float fwdt, float fhgt, C4Surface *sfcTarget, float tx, float ty, float twdt, float thgt, bool fSrcColKey=false, const C4BltTransform *pTransform=nullptr) |
bool | BlitUnscaled (C4Surface *sfcSource, float fx, float fy, float fwdt, float fhgt, C4Surface *sfcTarget, float tx, float ty, float twdt, float thgt, bool fSrcColKey=false, const C4BltTransform *pTransform=nullptr) |
bool | RenderMesh (StdMeshInstance &instance, C4Surface *sfcTarget, float tx, float ty, float twdt, float thgt, DWORD dwPlayerColor, C4BltTransform *pTransform) |
bool | Blit8 (C4Surface *sfcSource, int fx, int fy, int fwdt, int fhgt, C4Surface *sfcTarget, int tx, int ty, int twdt, int thgt, bool fSrcColKey=false, const C4BltTransform *pTransform=nullptr) |
bool | BlitSimple (C4Surface *sfcSource, int fx, int fy, int fwdt, int fhgt, C4Surface *sfcTarget, int tx, int ty, int twdt, int thgt, bool fTransparency=true) |
bool | BlitSurface (C4Surface *sfcSurface, C4Surface *sfcTarget, int tx, int ty, bool fBlitBase) |
bool | BlitSurfaceTile (C4Surface *sfcSurface, C4Surface *sfcTarget, float iToX, float iToY, float iToWdt, float iToHgt, float iOffsetX, float iOffsetY, C4ShaderCall *shader_call) |
bool | TextOut (const char *szText, CStdFont &rFont, float fZoom, C4Surface *sfcDest, float iTx, float iTy, DWORD dwFCol=0xffffffff, BYTE byForm=ALeft, bool fDoMarkup=true) |
bool | StringOut (const char *szText, CStdFont &rFont, float fZoom, C4Surface *sfcDest, float iTx, float iTy, DWORD dwFCol=0xffffffff, BYTE byForm=ALeft, bool fDoMarkup=true) |
void | DrawBoxDw (C4Surface *sfcDest, int iX1, int iY1, int iX2, int iY2, DWORD dwClr) |
void | DrawBoxFade (C4Surface *sfcDest, float iX, float iY, float iWdt, float iHgt, DWORD dwClr1, DWORD dwClr2, DWORD dwClr3, DWORD dwClr4, C4ShaderCall *shader_call) |
void | DrawPatternedCircle (C4Surface *sfcDest, int x, int y, int r, BYTE col, C4Pattern &Pattern, CStdPalette &rPal) |
void | DrawFrameDw (C4Surface *sfcDest, int x1, int y1, int x2, int y2, DWORD dwClr, float width=1.0f) |
void | DrawQuadDw (C4Surface *sfcTarget, float *ipVtx, DWORD dwClr1, DWORD dwClr2, DWORD dwClr3, DWORD dwClr4, C4ShaderCall *shader_call) |
void | DrawPix (C4Surface *sfcDest, float tx, float ty, DWORD dwCol) |
void | DrawLineDw (C4Surface *sfcTarget, float x1, float y1, float x2, float y2, DWORD dwClr, float width=1.0f) |
void | DrawCircleDw (C4Surface *sfcTarget, float cx, float cy, float r, DWORD dwClr, float width=1.0f) |
void | SetGamma (float r, float g, float b, int32_t iRampIndex) |
void | ResetGamma () |
DWORD | ApplyGammaTo (DWORD dwClr) |
void | ActivateBlitModulation (DWORD dwWithClr) |
void | DeactivateBlitModulation () |
bool | GetBlitModulation (DWORD &rdwColor) |
void | SetBlitMode (DWORD dwBlitMode) |
void | ResetBlitMode () |
void | SetFoW (const C4FoWRegion *fow) |
const C4FoWRegion * | GetFoW () const |
void | SetZoom (float X, float Y, float Zoom) |
void | SetZoom (const ZoomData &zoom) |
void | GetZoom (ZoomData *r) |
void | ApplyZoom (float &X, float &Y) |
void | RemoveZoom (float &X, float &Y) |
void | SetMeshTransform (const StdMeshMatrix *Transform) |
void | SetPerspective (bool fSet) |
Public Attributes | |
C4AbstractApp * | pApp |
bool | Active |
float | gamma [C4MaxGammaRamps][3] |
float | gammaOut [3] |
int | MaxTexSize {0} |
C4ScriptUniform | scriptUniform |
float | Zoom |
Static Public Attributes | |
static constexpr int | COLOR_DEPTH = 32 |
static constexpr int | COLOR_DEPTH_BYTES = COLOR_DEPTH / 8 |
Protected Member Functions | |
bool | StringOut (const char *szText, C4Surface *sfcDest, float iTx, float iTy, DWORD dwFCol, BYTE byForm, bool fDoMarkup, C4Markup &Markup, CStdFont *pFont, float fZoom) |
bool | CreatePrimaryClipper (unsigned int iXRes, unsigned int iYRes) |
virtual bool | Error (const char *szMsg) |
Protected Attributes | |
float | fClipX1 |
float | fClipY1 |
float | fClipX2 |
float | fClipY2 |
float | fStClipX1 |
float | fStClipY1 |
float | fStClipX2 |
float | fStClipY2 |
int32_t | iClipX1 |
int32_t | iClipY1 |
int32_t | iClipX2 |
int32_t | iClipY2 |
bool | ClipAll |
bool | PrimaryLocked |
C4Surface * | RenderTarget |
bool | BlitModulated |
DWORD | BlitModulateClr |
DWORD | dwBlitMode |
const C4FoWRegion * | pFoW |
float | ZoomX |
float | ZoomY |
const StdMeshMatrix * | MeshTransform |
bool | fUsePerspective |
|
inherited |
CStdNoGfx::CStdNoGfx | ( | ) |
Definition at line 20 of file C4DrawT.cpp.
References C4Draw::Default().
|
inlineinherited |
Definition at line 188 of file C4Draw.h.
References C4Draw::BlitModulateClr, and C4Draw::BlitModulated.
Referenced by C4Sky::Draw(), C4GUI::Dialog::Draw(), C4GraphicsOverlay::Draw(), C4Landscape::Draw(), C4MouseControl::Draw(), C4GUI::Tabular::Sheet::DrawCaption(), C4Viewport::DrawMenu(), C4GraphicsOverlay::DrawPicture(), CStdFont::DrawText(), and C4Object::PrepareDrawing().
Definition at line 766 of file C4Draw.cpp.
References C4RGB, C4Draw::gammaOut, GetBlueValue, GetGreenValue, and GetRedValue.
|
inherited |
Definition at line 227 of file C4Draw.cpp.
|
inherited |
Definition at line 778 of file C4Draw.cpp.
References X, C4Draw::Zoom, C4Draw::ZoomX, and C4Draw::ZoomY.
Referenced by C4Draw::Blit8Fast(), C4Draw::BlitUnscaled(), C4GUI::Window::Draw(), C4LandscapeRenderGL::Draw(), and C4GUI::Edit::DrawElement().
|
inherited |
Definition at line 301 of file C4Draw.cpp.
References C4Draw::BlitUnscaled(), and C4Surface::Scale.
Referenced by C4Draw::BlitLandscape(), C4Draw::BlitSimple(), C4Draw::BlitSurface(), C4FacetSurface::CopyFromSfcMaxSize(), C4Facet::Draw(), C4Object::Draw(), C4Object::DrawFaceImpl(), C4Facet::DrawFullScreen(), C4Facet::DrawT(), CStdFont::DrawText(), C4Object::DrawTopFace(), C4Facet::DrawX(), C4Facet::DrawXFloat(), C4Facet::DrawXR(), C4Facet::DrawXT(), C4MapFolderData::Load(), and C4Game::SaveGameTitle().
|
inherited |
Definition at line 418 of file C4Draw.cpp.
References C4Draw::BlitSimple(), C4Surface::BltPix(), C4Surface::Hgt, C4Surface::Lock(), C4BltTransform::SetAsInv(), C4BltTransform::SetMoveScale(), C4BltTransform::TransformPoint(), C4Surface::Unlock(), and C4Surface::Wdt.
Referenced by C4Draw::BlitUnscaled().
|
inherited |
Definition at line 251 of file C4Draw.cpp.
References C4Draw::ApplyZoom(), DwTo4UB(), C4Surface::fPrimary, C4BltVertex::ftx, C4BltVertex::fty, CStdPalette::GetClr(), CSurface8::GetPix(), C4Surface::IsRenderTarget(), C4Surface::Lock(), C4Draw::PerformMultiPix(), CSurface8::pPal, C4Surface::Unlock(), and C4Draw::Zoom.
Referenced by C4Landscape::Draw().
|
virtualinherited |
Definition at line 245 of file C4Draw.cpp.
References C4Draw::Blit().
|
inherited |
Definition at line 463 of file C4Draw.cpp.
References C4Draw::Blit(), C4Surface::BltPix(), C4Surface::Hgt, Inside(), C4Surface::IsRenderTarget(), C4Surface::Lock(), C4Surface::Unlock(), and C4Surface::Wdt.
Referenced by C4Draw::Blit8().
|
inherited |
Definition at line 511 of file C4Draw.cpp.
References C4Draw::Blit(), C4Surface::Hgt, C4Surface::pMainSfc, and C4Surface::Wdt.
Referenced by C4Surface::Copy().
|
inherited |
Definition at line 529 of file C4Draw.cpp.
References C4SF_Tileable, DwTo4UB(), C4BltVertex::ftx, C4BltVertex::fty, C4BltVertex::ftz, C4Surface::Hgt, C4Surface::IsRenderTarget(), C4Draw::PerformMultiTris(), C4Surface::texture, C4BltVertex::tx, C4BltVertex::ty, and C4Surface::Wdt.
Referenced by C4UpperBoard::Draw(), C4Sky::Draw(), C4Viewport::Draw(), C4GUI::FullscreenDialog::DrawElement(), and C4ViewportList::DrawFullscreenBackground().
|
inherited |
Definition at line 309 of file C4Draw.cpp.
References C4Draw::ApplyZoom(), C4Draw::Blit8(), C4Draw::ClipAll, C4Surface::ClrByOwnerClr, DwTo4UB(), C4Surface::fPrimary, C4BltVertex::ftx, C4BltVertex::fty, C4TexRef::iSizeX, C4TexRef::iSizeY, C4Surface::IsRenderTarget(), C4BltTransform::mat, C4Draw::PerformMultiTris(), C4Surface::pMainSfc, C4Surface::pNormalSfc, C4Draw::PrepareRendering(), C4BltTransform::Set(), C4Surface::texture, C4BltVertex::tx, C4BltVertex::ty, C4Draw::Zoom, C4Draw::ZoomX, and C4Draw::ZoomY.
Referenced by C4Draw::Blit(), and C4Facet::DrawTUnscaled().
|
virtualinherited |
Reimplemented in CStdGL.
Definition at line 184 of file C4Draw.cpp.
References C4Draw::Active, C4Draw::BlitModulated, C4Draw::dwBlitMode, and C4Draw::ResetGamma().
Referenced by CStdGL::Clear().
|
inlinevirtualinherited |
|
protectedinherited |
Definition at line 501 of file C4Draw.cpp.
References C4Draw::SetPrimaryClipper(), C4Draw::StorePrimaryClipper(), and C4Draw::Zoom.
Referenced by C4Draw::Init(), and CStdGL::OnResolutionChanged().
|
inlineinherited |
Definition at line 189 of file C4Draw.h.
References C4Draw::BlitModulated.
Referenced by C4Sky::Draw(), C4GUI::Dialog::Draw(), C4GraphicsOverlay::Draw(), C4Landscape::Draw(), C4MouseControl::Draw(), C4ParticleList::Draw(), C4GUI::Tabular::Sheet::DrawCaption(), C4Viewport::DrawMenu(), C4GraphicsOverlay::DrawPicture(), CStdFont::DrawText(), and C4Object::FinishedDrawing().
|
virtualinherited |
Reimplemented in CStdGL.
Definition at line 169 of file C4Draw.cpp.
References C4Draw::Active, C4Draw::BlitModulated, C4ScriptUniform::Clear(), C4Draw::ClipAll, C4Draw::dwBlitMode, C4Draw::fUsePerspective, C4Draw::MeshTransform, C4Draw::pFoW, C4Draw::RenderTarget, C4Draw::ResetGamma(), C4Draw::scriptUniform, C4Draw::Zoom, C4Draw::ZoomX, and C4Draw::ZoomY.
Referenced by CStdNoGfx(), and CStdGL::Default().
|
inherited |
Definition at line 232 of file C4Draw.cpp.
|
inlineoverridevirtual |
|
inherited |
Definition at line 840 of file C4Draw.cpp.
References C4Draw::DrawBoxFade(), C4Surface::IsRenderTarget(), C4Surface::Lock(), C4Surface::SetPixDw(), and C4Surface::Unlock().
Referenced by C4MessageBoard::Draw(), C4Def::Draw(), C4LoaderScreen::Draw(), C4Sky::Draw(), C4GUI::Dialog::Draw(), C4Viewport::Draw(), C4GUI::Screen::Draw(), C4GUI::FrameDecoration::Draw(), C4ScriptGuiWindow::Draw(), C4GUI::GroupBox::DrawElement(), C4GUI::Edit::DrawElement(), C4GUI::ListBox::DrawElement(), C4GUI::Tabular::DrawElement(), C4GUI::TextWindow::DrawElement(), C4GUI::ContextMenu::DrawElement(), C4GUI::ComboBox::DrawElement(), C4GUI::Dialog::DrawElement(), C4MenuItem::DrawElement(), C4StartupNetListEntry::DrawElement(), and C4GUI::Screen::DrawToolTip().
|
inherited |
Definition at line 824 of file C4Draw.cpp.
References C4Draw::DrawQuadDw().
Referenced by C4Sky::Draw(), and C4Draw::DrawBoxDw().
|
inherited |
Definition at line 618 of file C4Draw.cpp.
References DwTo4UB(), and C4Draw::PerformMultiLines().
Referenced by C4EditCursor::Draw().
|
inherited |
Definition at line 635 of file C4Draw.cpp.
References DwTo4UB(), C4BltVertex::ftx, C4BltVertex::fty, and C4Draw::PerformMultiLines().
Referenced by C4EditCursor::Draw(), C4PathFinderRay::Draw(), C4TransferZone::Draw(), C4Object::Draw(), C4ScriptGuiWindow::Draw(), C4GUI::GroupBox::DrawElement(), C4GUI::Edit::DrawElement(), C4GUI::ComboBox::DrawElement(), C4Menu::DrawFrame(), and C4GUI::Screen::DrawToolTip().
|
inherited |
Definition at line 608 of file C4Draw.cpp.
References DwTo4UB(), C4BltVertex::ftx, C4BltVertex::fty, and C4Draw::PerformMultiLines().
Referenced by C4EditCursor::Draw(), C4PathFinderRay::Draw(), C4Object::Draw(), C4GUI::Element::Draw3DFrame(), C4GUI::HorizontalLine::DrawElement(), C4GUI::GroupBox::DrawElement(), C4GUI::ListBox::DrawElement(), C4GUI::Tabular::DrawElement(), and C4Chart::DrawElement().
|
inherited |
Definition at line 669 of file C4Draw.cpp.
References C4Draw::DrawPix(), C4Surface::IsRenderTarget(), C4Surface::Lock(), C4Pattern::PatternClr(), C4Surface::SetPixDw(), and C4Surface::Unlock().
Definition at line 598 of file C4Draw.cpp.
References C4BltVertex::color, DwTo4UB(), C4BltVertex::ftx, C4BltVertex::fty, and C4Draw::PerformMultiPix().
Referenced by C4Draw::DrawPatternedCircle().
|
inherited |
Definition at line 653 of file C4Draw.cpp.
References DwTo4UB(), C4BltVertex::ftx, C4BltVertex::fty, and C4Draw::PerformMultiTris().
Referenced by C4Draw::DrawBoxFade(), and C4GUI::Tabular::DrawElement().
|
inlineoverridevirtual |
|
protectedvirtualinherited |
Reimplemented in CStdGL.
Definition at line 494 of file C4Draw.cpp.
References C4AbstractApp::Error(), Log(), and C4Draw::pApp.
Referenced by CStdGL::Error(), and C4Draw::Init().
|
inlineoverridevirtual |
|
inlineinherited |
Definition at line 190 of file C4Draw.h.
References C4Draw::BlitModulateClr, and C4Draw::BlitModulated.
Referenced by CStdFont::DrawText().
|
inherited |
Definition at line 724 of file C4Draw.cpp.
References C4Surface::Hgt, C4Draw::iClipX1, C4Draw::iClipX2, C4Draw::iClipY1, C4Draw::iClipY2, C4Draw::RenderTarget, and C4Surface::Wdt.
Referenced by C4LandscapeRenderGL::Draw(), CStdGL::PerformMesh(), CStdGL::SetupMultiBlt(), and CStdGL::UpdateClipper().
|
inlineinherited |
Definition at line 194 of file C4Draw.h.
References C4Draw::pFoW.
Referenced by C4Sky::Draw(), and C4Object::Draw().
|
inherited |
Definition at line 733 of file C4Draw.cpp.
References C4Surface::Hgt, C4Draw::RenderTarget, and C4Surface::Wdt.
Referenced by C4LandscapeRenderGL::Draw(), CStdGL::PerformMesh(), and CStdGL::SetupMultiBlt().
|
inherited |
Definition at line 716 of file C4Draw.cpp.
References C4Draw::fClipX1, C4Draw::fClipX2, C4Draw::fClipY1, and C4Draw::fClipY2.
Referenced by C4GUI::Window::Draw(), C4GUI::MultilineLabel::DrawElement(), and C4GUI::Edit::DrawElement().
|
inherited |
Definition at line 191 of file C4Draw.cpp.
References C4Surface::GetSurfaceSize().
|
inlineinherited |
Definition at line 197 of file C4Draw.h.
References ZoomData::X, ZoomData::Y, ZoomData::Zoom, C4Draw::Zoom, C4Draw::ZoomX, and C4Draw::ZoomY.
Referenced by C4MouseControl::Draw(), C4GUI::CMouse::Draw(), C4Game::DrawCrewOverheadText(), and ZoomDataStackItem::ZoomDataStackItem().
|
inherited |
Definition at line 695 of file C4Draw.cpp.
References a, b, GetBlueValue, GetGreenValue, C4Surface::GetPixDw(), GetRedValue, C4Surface::Hgt, C4Surface::Lock(), RGBA(), C4Surface::SetPixDw(), C4Surface::Unlock(), and C4Surface::Wdt.
Referenced by C4FacetSurface::Grayscale().
|
inherited |
Definition at line 809 of file C4Draw.cpp.
References C4Draw::C4Surface, C4Draw::CreatePrimaryClipper(), C4Draw::Error(), C4Draw::pApp, C4Window::pSurface, C4AbstractApp::pWindow, and C4Draw::RestoreDeviceObjects().
Referenced by DDrawInit().
|
inlineoverridevirtual |
|
inlineinherited |
|
inherited |
Definition at line 237 of file C4Draw.cpp.
References C4Draw::SetPrimaryClipper().
Referenced by CStdGL::Clear(), C4Viewport::Draw(), C4Landscape::DrawChunks(), C4GUI::Edit::DrawElement(), and C4Landscape::P::MapToSurface().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements C4Draw.
Definition at line 32 of file C4DrawT.cpp.
References StdMeshMaterial::BestTechniqueIndex.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineinherited |
|
inherited |
Definition at line 784 of file C4Draw.cpp.
References X, C4Draw::Zoom, C4Draw::ZoomX, and C4Draw::ZoomY.
|
inherited |
Definition at line 397 of file C4Draw.cpp.
References StdMeshMatrix::Identity(), C4Surface::IsRenderTarget(), C4Draw::MeshTransform, C4Draw::PerformMesh(), C4Draw::PrepareRendering(), StdMeshInstance::ReorderFaces(), and StdMeshInstance::UpdateBoneTransforms().
Referenced by C4DefGraphics::Draw(), C4GraphicsOverlay::Draw(), and C4Object::DrawFaceImpl().
|
inlineinherited |
Definition at line 192 of file C4Draw.h.
References C4Draw::dwBlitMode.
Referenced by C4GraphicsOverlay::Draw(), C4ParticleList::Draw(), C4GUI::Tabular::Sheet::DrawCaption(), C4GUI::Button::DrawElement(), C4GUI::IconButton::DrawElement(), C4GUI::ArrowButton::DrawElement(), C4GUI::CheckBox::DrawElement(), C4GUI::ContextButton::DrawElement(), C4GUI::ComboBox::DrawElement(), C4EditCursor::DrawObject(), C4GraphicsOverlay::DrawPicture(), and C4Object::FinishedDrawing().
|
inherited |
Definition at line 754 of file C4Draw.cpp.
References C4Draw::gamma, and C4Draw::gammaOut.
Referenced by C4Draw::Clear(), C4Draw::Default(), and C4Game::SetDefaultGamma().
|
overridevirtual |
Implements C4Draw.
Definition at line 25 of file C4DrawT.cpp.
References Log(), and C4Draw::MaxTexSize.
|
inherited |
Definition at line 210 of file C4Draw.cpp.
References C4Draw::fStClipX1, C4Draw::fStClipX2, C4Draw::fStClipY1, C4Draw::fStClipY2, and C4Draw::SetPrimaryClipper().
Referenced by C4ScriptGuiWindow::DrawChildren(), C4GUI::WoodenLabel::DrawElement(), C4GUI::ComboBox::DrawElement(), C4MenuItem::DrawElement(), and C4FoWRegion::Render().
|
inlineinherited |
Definition at line 191 of file C4Draw.h.
References C4GFXBLIT_ALL, and C4Draw::dwBlitMode.
Referenced by C4GraphicsOverlay::Draw(), C4MouseControl::Draw(), C4GUI::Tabular::Sheet::DrawCaption(), C4GUI::Button::DrawElement(), C4GUI::IconButton::DrawElement(), C4GUI::ArrowButton::DrawElement(), C4GUI::CheckBox::DrawElement(), C4GUI::ContextButton::DrawElement(), C4GUI::ComboBox::DrawElement(), C4EditCursor::DrawObject(), C4GraphicsOverlay::DrawPicture(), and C4Object::PrepareDrawing().
|
inlineinherited |
Definition at line 193 of file C4Draw.h.
References C4Draw::pFoW.
Referenced by C4Viewport::Draw(), and C4Object::Draw().
|
inherited |
Definition at line 738 of file C4Draw.cpp.
References b, C4Draw::gamma, and C4Draw::gammaOut.
Referenced by C4Game::SetDefaultGamma().
|
inlineinherited |
Definition at line 200 of file C4Draw.h.
References C4Draw::MeshTransform.
Referenced by C4DefGraphics::Draw(), C4GraphicsOverlay::Draw(), and C4Object::DrawFaceImpl().
|
inlineinherited |
Definition at line 201 of file C4Draw.h.
References C4Draw::fUsePerspective.
Referenced by C4DefGraphics::Draw().
|
inherited |
Definition at line 217 of file C4Draw.cpp.
References C4Draw::fClipX1, C4Draw::fClipX2, C4Draw::fClipY1, C4Draw::fClipY2, C4Draw::iClipX1, C4Draw::iClipX2, C4Draw::iClipY1, C4Draw::iClipY2, and C4Draw::UpdateClipper().
Referenced by C4Draw::CreatePrimaryClipper(), C4GUI::Window::Draw(), C4Viewport::Draw(), C4ScriptGuiWindow::DrawChildren(), C4GUI::WoodenLabel::DrawElement(), C4GUI::Edit::DrawElement(), C4Draw::NoPrimaryClipper(), C4Draw::RestorePrimaryClipper(), and C4Draw::SubPrimaryClipper().
|
inlineinherited |
Definition at line 196 of file C4Draw.h.
References C4Draw::SetZoom(), ZoomData::X, ZoomData::Y, and ZoomData::Zoom.
Referenced by C4Draw::SetZoom().
|
inherited |
Definition at line 773 of file C4Draw.cpp.
References X, C4Draw::Zoom, C4Draw::ZoomX, and C4Draw::ZoomY.
Referenced by C4Viewport::Draw(), C4MouseControl::Draw(), C4GUI::CMouse::Draw(), C4Game::DrawCrewOverheadText(), C4Viewport::DrawMenu(), ZoomDataStackItem::ZoomDataStackItem(), and ZoomDataStackItem::~ZoomDataStackItem().
|
inherited |
Definition at line 203 of file C4Draw.cpp.
References C4Draw::fClipX1, C4Draw::fClipX2, C4Draw::fClipY1, C4Draw::fClipY2, C4Draw::fStClipX1, C4Draw::fStClipX2, C4Draw::fStClipY1, and C4Draw::fStClipY2.
Referenced by C4Draw::CreatePrimaryClipper(), C4ScriptGuiWindow::DrawChildren(), C4GUI::WoodenLabel::DrawElement(), C4GUI::ComboBox::DrawElement(), C4MenuItem::DrawElement(), and C4FoWRegion::Render().
|
protectedinherited |
Definition at line 578 of file C4Draw.cpp.
References ACenter, ARight, C4Draw::ClipAll, CStdFont::DrawText(), C4Draw::PrepareRendering(), STDFONT_CENTERED, STDFONT_NOMARKUP, and STDFONT_RIGHTALGN.
|
inherited |
Definition at line 570 of file C4Draw.cpp.
Referenced by C4MessageBoard::Draw(), C4LoaderScreen::Draw(), and C4Draw::TextOut().
|
inherited |
Definition at line 196 of file C4Draw.cpp.
References C4Draw::iClipX1, C4Draw::iClipX2, C4Draw::iClipY1, C4Draw::iClipY2, and C4Draw::SetPrimaryClipper().
Referenced by C4GUI::Window::Draw(), C4GUI::ComboBox::DrawElement(), and C4MenuItem::DrawElement().
|
inherited |
Definition at line 561 of file C4Draw.cpp.
References CStdFont::GetLineHeight(), SCopySegmentEx(), and C4Draw::StringOut().
Referenced by C4UpperBoard::Draw(), C4LoaderScreen::Draw(), C4IDList::Draw(), C4Object::Draw(), C4GameMessage::Draw(), C4ScriptGuiWindow::Draw(), C4GUI::Tabular::Sheet::DrawCaption(), C4Game::DrawCrewOverheadText(), C4GUI::Label::DrawElement(), C4GUI::WoodenLabel::DrawElement(), C4GUI::MultilineLabel::DrawElement(), C4GUI::ProgressBar::DrawElement(), C4GUI::GroupBox::DrawElement(), C4GUI::Button::DrawElement(), C4GUI::IconButton::DrawElement(), C4GUI::FacetButton::DrawElement(), C4GUI::Edit::DrawElement(), C4GUI::CheckBox::DrawElement(), C4GUI::ContextMenu::Entry::DrawElement(), C4GUI::ComboBox::DrawElement(), C4MenuItem::DrawElement(), C4ScoreboardDlg::DrawElement(), C4StartupMainDlg::DrawElement(), C4Chart::DrawElement(), C4Viewport::DrawMenu(), C4Viewport::DrawPlayerStartup(), C4Network2::DrawStatus(), C4GUI::Screen::DrawToolTip(), C4Facet::DrawValue(), and C4Facet::DrawValue2().
|
inlineoverridevirtual |
|
inherited |
Definition at line 96 of file C4Draw.h.
Referenced by C4Draw::Clear(), C4Draw::Default(), CStdGL::InvalidateDeviceObjects(), CStdGL::PrepareRendering(), CStdGL::RestoreDeviceObjects(), C4GraphicsSystem::StartDrawing(), and CStdGL::UpdateClipper().
|
protectedinherited |
Definition at line 109 of file C4Draw.h.
Referenced by C4Draw::ActivateBlitModulation(), C4Draw::GetBlitModulation(), C4Surface::GetPixDw(), CStdGL::PerformMesh(), and CStdGL::SetupMultiBlt().
|
protectedinherited |
Definition at line 108 of file C4Draw.h.
Referenced by C4Draw::ActivateBlitModulation(), C4Draw::Clear(), C4Draw::DeactivateBlitModulation(), C4Draw::Default(), C4Draw::GetBlitModulation(), C4Surface::GetPixDw(), CStdGL::PerformMesh(), and CStdGL::SetupMultiBlt().
|
protectedinherited |
Definition at line 105 of file C4Draw.h.
Referenced by C4Draw::BlitUnscaled(), C4Draw::Default(), C4Draw::StringOut(), and CStdGL::UpdateClipper().
|
staticconstexprinherited |
Definition at line 89 of file C4Draw.h.
Referenced by C4Application::ApplyResolutionConstraints().
|
staticconstexprinherited |
Definition at line 90 of file C4Draw.h.
Referenced by C4TexRef::C4TexRef(), C4TexRef::Lock(), and C4TexRef::LockForUpdate().
|
protectedinherited |
Definition at line 110 of file C4Draw.h.
Referenced by C4Surface::BltPix(), C4Draw::Clear(), C4Draw::Default(), C4Surface::GetPixDw(), CStdGL::GetSpriteShader(), CStdGL::PerformMesh(), C4Draw::ResetBlitMode(), CStdGL::RestoreDeviceObjects(), C4Draw::SetBlitMode(), and CStdGL::SetupMultiBlt().
|
protectedinherited |
Definition at line 102 of file C4Draw.h.
Referenced by C4Draw::GetPrimaryClipper(), C4Draw::SetPrimaryClipper(), and C4Draw::StorePrimaryClipper().
|
protectedinherited |
Definition at line 102 of file C4Draw.h.
Referenced by C4Draw::GetPrimaryClipper(), C4Draw::SetPrimaryClipper(), and C4Draw::StorePrimaryClipper().
|
protectedinherited |
Definition at line 102 of file C4Draw.h.
Referenced by C4Draw::GetPrimaryClipper(), C4Draw::SetPrimaryClipper(), and C4Draw::StorePrimaryClipper().
|
protectedinherited |
Definition at line 102 of file C4Draw.h.
Referenced by C4Draw::GetPrimaryClipper(), C4Draw::SetPrimaryClipper(), and C4Draw::StorePrimaryClipper().
|
protectedinherited |
Definition at line 103 of file C4Draw.h.
Referenced by C4Draw::RestorePrimaryClipper(), and C4Draw::StorePrimaryClipper().
|
protectedinherited |
Definition at line 103 of file C4Draw.h.
Referenced by C4Draw::RestorePrimaryClipper(), and C4Draw::StorePrimaryClipper().
|
protectedinherited |
Definition at line 103 of file C4Draw.h.
Referenced by C4Draw::RestorePrimaryClipper(), and C4Draw::StorePrimaryClipper().
|
protectedinherited |
Definition at line 103 of file C4Draw.h.
Referenced by C4Draw::RestorePrimaryClipper(), and C4Draw::StorePrimaryClipper().
|
protectedinherited |
Definition at line 114 of file C4Draw.h.
Referenced by C4Draw::Default(), CStdGL::PerformMesh(), and C4Draw::SetPerspective().
|
inherited |
Definition at line 97 of file C4Draw.h.
Referenced by C4Weather::CompileFunc(), C4Draw::ResetGamma(), and C4Draw::SetGamma().
|
inherited |
Definition at line 98 of file C4Draw.h.
Referenced by C4Draw::ApplyGammaTo(), C4LandscapeRenderGL::Draw(), C4Draw::ResetGamma(), C4Draw::SetGamma(), and CStdGL::SetupMultiBlt().
|
protectedinherited |
Definition at line 104 of file C4Draw.h.
Referenced by C4Draw::GetClipRect(), C4Draw::SetPrimaryClipper(), and C4Draw::SubPrimaryClipper().
|
protectedinherited |
Definition at line 104 of file C4Draw.h.
Referenced by C4Draw::GetClipRect(), C4Draw::SetPrimaryClipper(), and C4Draw::SubPrimaryClipper().
|
protectedinherited |
Definition at line 104 of file C4Draw.h.
Referenced by C4Draw::GetClipRect(), C4Draw::SetPrimaryClipper(), and C4Draw::SubPrimaryClipper().
|
protectedinherited |
Definition at line 104 of file C4Draw.h.
Referenced by C4Draw::GetClipRect(), C4Draw::SetPrimaryClipper(), and C4Draw::SubPrimaryClipper().
|
inherited |
Definition at line 99 of file C4Draw.h.
Referenced by C4FoWAmbient::CreateFromLandscape(), CStdGL::RestoreDeviceObjects(), and RestoreDeviceObjects().
|
protectedinherited |
Definition at line 113 of file C4Draw.h.
Referenced by C4Draw::Default(), CStdGL::PerformMesh(), C4Draw::RenderMesh(), and C4Draw::SetMeshTransform().
|
inherited |
Definition at line 95 of file C4Draw.h.
Referenced by CStdGL::CreateContext(), C4Draw::Error(), C4Draw::Init(), C4Surface::PageFlip(), CStdGL::PrepareRendering(), and CStdGL::RestoreDeviceObjects().
|
protectedinherited |
Definition at line 111 of file C4Draw.h.
Referenced by C4Draw::Default(), C4Draw::GetFoW(), CStdGL::PerformMesh(), C4Draw::SetFoW(), and CStdGL::SetupMultiBlt().
|
protectedinherited |
Definition at line 106 of file C4Draw.h.
Referenced by C4Draw::LockingPrimary(), and C4Draw::PrimaryUnlocked().
|
protectedinherited |
Definition at line 107 of file C4Draw.h.
Referenced by CStdGL::Clear(), CStdGL::CreateContext(), C4Draw::Default(), C4Draw::GetClipRect(), C4Draw::GetOutRect(), CStdGL::PrepareRendering(), CStdGL::RestoreDeviceObjects(), and CStdGL::UpdateClipper().
|
inherited |
Definition at line 100 of file C4Draw.h.
Referenced by C4Draw::Default(), C4Object::Draw(), C4LandscapeRenderGL::Draw(), C4Viewport::Execute(), and CStdGL::SetupMultiBlt().
|
inherited |
Definition at line 116 of file C4Draw.h.
Referenced by C4Draw::ApplyZoom(), C4Draw::Blit8Fast(), C4Draw::BlitUnscaled(), C4Draw::CreatePrimaryClipper(), C4Draw::Default(), C4LandscapeRenderGL::Draw(), C4Draw::GetZoom(), CStdGL::PerformMesh(), C4Draw::RemoveZoom(), CStdGL::SetupMultiBlt(), and C4Draw::SetZoom().
|
protectedinherited |
Definition at line 112 of file C4Draw.h.
Referenced by C4Draw::ApplyZoom(), C4Draw::BlitUnscaled(), C4Draw::Default(), C4Draw::GetZoom(), CStdGL::PerformMesh(), C4Draw::RemoveZoom(), CStdGL::SetupMultiBlt(), and C4Draw::SetZoom().
|
protectedinherited |
Definition at line 112 of file C4Draw.h.
Referenced by C4Draw::ApplyZoom(), C4Draw::BlitUnscaled(), C4Draw::Default(), C4Draw::GetZoom(), CStdGL::PerformMesh(), C4Draw::RemoveZoom(), CStdGL::SetupMultiBlt(), and C4Draw::SetZoom().