#include <ddutil.h>
Public Member Functions | |
CDisplay () | |
~CDisplay () | |
HWND | GetHWnd () |
LPDIRECTDRAW7 | GetDirectDraw () |
LPDIRECTDRAWSURFACE7 | GetFrontBuffer () |
LPDIRECTDRAWSURFACE7 | GetBackBuffer () |
LPDIRECTDRAWSURFACE7 | GetBackBufferLEft () |
BOOL | IsWindowed () |
BOOL | IsStereo () |
HRESULT | CreateFullScreenDisplay (HWND hWnd, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP) |
HRESULT | CreateWindowedDisplay (HWND hWnd, DWORD dwWidth, DWORD dwHeight) |
HRESULT | InitClipper () |
HRESULT | UpdateBounds () |
virtual HRESULT | DestroyObjects () |
HRESULT | CreateSurface (CSurface **ppSurface, DWORD dwWidth, DWORD dwHeight) |
HRESULT | CreateSurfaceFromBitmap (CSurface **ppSurface, TCHAR *strBMP, DWORD dwDesiredWidth, DWORD dwDesiredHeight) |
HRESULT | CreateSurfaceFromText (CSurface **ppSurface, HFONT hFont, TCHAR *strText, COLORREF crBackground, COLORREF crForeground) |
HRESULT | CreatePaletteFromBitmap (LPDIRECTDRAWPALETTE *ppPalette, const TCHAR *strBMP) |
HRESULT | Clear (DWORD dwColor=0L) |
HRESULT | ColorKeyBlt (DWORD x, DWORD y, LPDIRECTDRAWSURFACE7 pdds, RECT *prc=NULL) |
HRESULT | Blt (DWORD x, DWORD y, LPDIRECTDRAWSURFACE7 pdds, RECT *prc=NULL, DWORD dwFlags=0) |
HRESULT | Blt (DWORD x, DWORD y, CSurface *pSurface, RECT *prc=NULL) |
HRESULT | ShowBitmap (HBITMAP hbm, LPDIRECTDRAWPALETTE pPalette=NULL) |
HRESULT | SetPalette (LPDIRECTDRAWPALETTE pPalette) |
HRESULT | Present () |
Protected Attributes | |
LPDIRECTDRAW7 | m_pDD |
LPDIRECTDRAWSURFACE7 | m_pddsFrontBuffer |
LPDIRECTDRAWSURFACE7 | m_pddsBackBuffer |
LPDIRECTDRAWSURFACE7 | m_pddsBackBufferLeft |
HWND | m_hWnd |
RECT | m_rcWindow |
BOOL | m_bWindowed |
BOOL | m_bStereo |
|
Definition at line 27 of file ddutil.cpp. References m_pDD, m_pddsBackBuffer, m_pddsBackBufferLeft, and m_pddsFrontBuffer. |
|
Definition at line 42 of file ddutil.cpp. References DestroyObjects(). |
|
Definition at line 479 of file ddutil.cpp. References Blt(), CSurface::GetDDrawSurface(), and CSurface::IsColorKeyed(). |
|
Definition at line 463 of file ddutil.cpp. References Blt(), and m_pddsBackBuffer. Referenced by Blt(), cGame_Manager::Display(), cBitmap_Display_Def::Display(), cGame_Manager::Display_Score(), and cGame_Manager::Display_Time(). |
|
Definition at line 497 of file ddutil.cpp. References Clear(), and m_pddsBackBuffer. Referenced by Clear(), and cGame_Manager::Display(). |
|
Definition at line 447 of file ddutil.cpp. References ColorKeyBlt(), and m_pddsBackBuffer. Referenced by ColorKeyBlt(), and cSprite_Display_Def::Display(). |
|
Definition at line 75 of file ddutil.cpp. References CreateFullScreenDisplay(), DestroyObjects(), hWnd, m_bWindowed, m_hWnd, m_pDD, m_pddsBackBuffer, m_pddsFrontBuffer, and UpdateBounds(). Referenced by CreateFullScreenDisplay(), and InitDD(). |
|
Definition at line 533 of file ddutil.cpp. References CreatePaletteFromBitmap(), and m_pDD. Referenced by CreatePaletteFromBitmap(), and InitDD(). |
|
Definition at line 236 of file ddutil.cpp. References CreateSurface(), and m_pDD. Referenced by CreateSurface(), and InitDD(). |
|
Definition at line 271 of file ddutil.cpp. References CreateSurfaceFromBitmap(), and m_pDD. Referenced by CreateSurfaceFromBitmap(), and InitDD(). |
|
Definition at line 337 of file ddutil.cpp. References CreateSurfaceFromText(), and m_pDD. Referenced by CreateSurfaceFromText(). |
|
Definition at line 135 of file ddutil.cpp. References CreateWindowedDisplay(), DestroyObjects(), hWnd, m_bWindowed, m_hWnd, m_pDD, m_pddsBackBuffer, m_pddsFrontBuffer, and UpdateBounds(). Referenced by CreateWindowedDisplay(). |
|
Definition at line 54 of file ddutil.cpp. References m_hWnd, m_pDD, m_pddsBackBuffer, m_pddsBackBufferLeft, m_pddsFrontBuffer, and SAFE_RELEASE. Referenced by CreateFullScreenDisplay(), CreateWindowedDisplay(), and ~CDisplay(). |
|
Definition at line 62 of file ddutil.h. References m_pddsBackBuffer. Referenced by Draw_Line(). |
|
Definition at line 63 of file ddutil.h. References m_pddsBackBufferLeft. |
|
Definition at line 60 of file ddutil.h. References m_pDD. |
|
Definition at line 61 of file ddutil.h. References m_pddsFrontBuffer. |
|
Definition at line 59 of file ddutil.h. References m_hWnd. |
|
Definition at line 670 of file ddutil.cpp. References m_hWnd, m_pDD, m_pddsFrontBuffer, and SAFE_RELEASE. |
|
Definition at line 67 of file ddutil.h. References m_bStereo. |
|
Definition at line 66 of file ddutil.h. References m_bWindowed. |
|
Definition at line 389 of file ddutil.cpp. References m_bWindowed, m_pddsBackBuffer, m_pddsFrontBuffer, and m_rcWindow. Referenced by cGame_Manager::Main_Loop(), and ShowBitmap(). |
|
Definition at line 518 of file ddutil.cpp. References m_pddsFrontBuffer, and SetPalette(). Referenced by InitDD(), and SetPalette(). |
|
Definition at line 422 of file ddutil.cpp. References CSurface::Create(), CSurface::DrawBitmap(), m_pddsBackBuffer, m_pddsFrontBuffer, Present(), and ShowBitmap(). Referenced by ShowBitmap(). |
|
Definition at line 645 of file ddutil.cpp. References m_bWindowed, m_hWnd, and m_rcWindow. Referenced by CreateFullScreenDisplay(), CreateWindowedDisplay(), and WndProc(). |
|
Definition at line 52 of file ddutil.h. Referenced by IsStereo(). |
|
Definition at line 51 of file ddutil.h. Referenced by CreateFullScreenDisplay(), CreateWindowedDisplay(), IsWindowed(), Present(), and UpdateBounds(). |
|
Definition at line 49 of file ddutil.h. Referenced by CreateFullScreenDisplay(), CreateWindowedDisplay(), DestroyObjects(), GetHWnd(), InitClipper(), and UpdateBounds(). |
|
Definition at line 44 of file ddutil.h. Referenced by CDisplay(), CreateFullScreenDisplay(), CreatePaletteFromBitmap(), CreateSurface(), CreateSurfaceFromBitmap(), CreateSurfaceFromText(), CreateWindowedDisplay(), DestroyObjects(), GetDirectDraw(), and InitClipper(). |
|
Definition at line 46 of file ddutil.h. Referenced by Blt(), CDisplay(), Clear(), ColorKeyBlt(), CreateFullScreenDisplay(), CreateWindowedDisplay(), DestroyObjects(), GetBackBuffer(), Present(), and ShowBitmap(). |
|
Definition at line 47 of file ddutil.h. Referenced by CDisplay(), DestroyObjects(), and GetBackBufferLEft(). |
|
Definition at line 45 of file ddutil.h. Referenced by CDisplay(), CreateFullScreenDisplay(), CreateWindowedDisplay(), DestroyObjects(), GetFrontBuffer(), InitClipper(), Present(), SetPalette(), and ShowBitmap(). |
|
Definition at line 50 of file ddutil.h. Referenced by Present(), and UpdateBounds(). |