2170: START: CDXScreen::CDXScreen()
2175: START: CDXScreen::InitCDXScreen
2179: Initialize member vars
2183: CDX_DDVER: 0x700 (1792)
2187: DIRECTDRAW_VERSION: 0x700 (i)
2193: GAMMA Control NOT Supported
2197: START: CDXScreen::EnumDrivers
2200: DirectDrawEnumerateEx
2206: Get the number of drivers
2210: Intel(R) HD Graphics 4000
2214: 
2218: END: CDXScreen::EnumDrivers
2221: START: CDXScreen::EnumVideoModes
2225: Do some init'ing
2229: EnumDisplayModes
2235: Get the number of video modes
2239: w:320, h:240, bpp:32
2295: w:400, h:300, bpp:32
2299: w:512, h:384, bpp:32
2303: w:640, h:480, bpp:32
2307: w:800, h:600, bpp:32
2310: w:1024, h:768, bpp:32
2314: w:1152, h:864, bpp:32
2336: w:1280, h:600, bpp:32
2339: w:1280, h:720, bpp:32
2342: w:1280, h:768, bpp:32
2346: w:1280, h:800, bpp:32
2349: w:1280, h:960, bpp:32
2353: w:1280, h:1024, bpp:32
2356: w:0, h:0, bpp:0
2360: END: CDXScreen::EnumVideoModes
2364: END: CDXScreen::InitCDXScreen
2367: END: CDXScreen::CDXScreen()
2371: START: CDXScreen::CreateWindowed(hwnd:3082148, width:640, height:480)
2375: Set member variables
2378: Get Device Caps
2382: Set cooperative level
2386: Create front buffer
2389: Create back buffer
2393: create front buffer surface
2397: Create back buffer surface
2401: Create clipper object
2405: Set Hwnd (3082148) for clipper
2409: Assign clipper object to front surface
2412: Set params for front buffer
2416: W: 640, H: 480
2420: Get RGB Format for front buffer
2424: Set params for back buffer
2427: Get RGB Format for back buffer
2431: Load default palette
2435: Set palette for front surface
2439: END: CDXScreen::CreateWindowed
