10 #include "../stdafx.h" 11 #include "../gfx_func.h" 12 #include "../blitter/factory.hpp" 15 #include "../safeguards.h" 24 _set_error_mode(_OUT_TO_STDERR);
30 _screen.dst_ptr =
nullptr;
34 DEBUG(misc, 1,
"Forcing blitter 'null'...");
47 for (i = 0; i < this->
ticks; i++) {
Factory the null video driver.
uint ticks
Amount of ticks to run.
void MakeDirty(int left, int top, int width, int height) override
Mark a particular area dirty.
void MainLoop() override
Perform the actual drawing.
Dimension _cur_resolution
The current resolution.
bool ToggleFullscreen(bool fullscreen) override
Change the full screen setting.
static Blitter * SelectBlitter(const char *name)
Find the requested blitter and return his class.
Base of the video driver that doesn't blit.
static FVideoDriver_Null iFVideoDriver_Null
Factory for the null video driver.
#define DEBUG(name, level,...)
Output a line of debugging information.
bool ChangeResolution(int w, int h) override
Change the resolution of the window.
void Stop() override
Stop this driver.
int GetDriverParamInt(const char *const *parm, const char *name, int def)
Get an integer parameter the list of parameters.
const char * Start(const char *const *param) override
Start this driver.
void UpdateWindows()
Update the continuously changing contents of the windows, such as the viewports.