Go to the documentation of this file.
10 #include "../stdafx.h"
11 #include "../gfx_func.h"
12 #include "../blitter/factory.hpp"
13 #include "../window_func.h"
16 #include "../safeguards.h"
25 _set_error_mode(_OUT_TO_STDERR);
33 _screen.dst_ptr =
nullptr;
37 DEBUG(misc, 1,
"Forcing blitter 'null'...");
50 for (i = 0; i < this->
ticks; i++) {
static Blitter * SelectBlitter(const std::string &name)
Find the requested blitter and return his class.
bool ToggleFullscreen(bool fullscreen) override
Change the full screen setting.
const char * Start(const StringList ¶m) override
Start this driver.
uint ticks
Amount of ticks to run.
void UpdateWindows()
Update the continuously changing contents of the windows, such as the viewports.
virtual void InputLoop()
Handle input logic, is CTRL pressed, should we fast-forward, etc.
static FVideoDriver_Null iFVideoDriver_Null
Factory for the null video driver.
#define DEBUG(name, level,...)
Output a line of debugging information.
std::vector< std::string > StringList
Type for a list of strings.
bool ChangeResolution(int w, int h) override
Change the resolution of the window.
int GetDriverParamInt(const StringList &parm, const char *name, int def)
Get an integer parameter the list of parameters.
void UpdateAutoResolution()
Apply resolution auto-detection and clamp to sensible defaults.
void MakeDirty(int left, int top, int width, int height) override
Mark a particular area dirty.
Factory the null video driver.
void Stop() override
Stop this driver.
void MainLoop() override
Perform the actual drawing.
Dimension _cur_resolution
The current resolution.