src/video/null_v.cpp
branchNewGRF_ports
changeset 10994 cd9968b6f96b
parent 10724 68a692eacf22
equal deleted inserted replaced
10991:d8811e327d12 10994:cd9968b6f96b
    13 static FVideoDriver_Null iFVideoDriver_Null;
    13 static FVideoDriver_Null iFVideoDriver_Null;
    14 
    14 
    15 const char *VideoDriver_Null::Start(const char* const *parm)
    15 const char *VideoDriver_Null::Start(const char* const *parm)
    16 {
    16 {
    17 	this->ticks = GetDriverParamInt(parm, "ticks", 1000);
    17 	this->ticks = GetDriverParamInt(parm, "ticks", 1000);
    18 	_screen.width = _screen.pitch = _cur_resolution[0];
    18 	_screen.width  = _screen.pitch = _cur_resolution.width;
    19 	_screen.height = _cur_resolution[1];
    19 	_screen.height = _cur_resolution.height;
    20 	ScreenSizeChanged();
    20 	ScreenSizeChanged();
    21 
    21 
    22 	/* Do not render, nor blit */
    22 	/* Do not render, nor blit */
    23 	DEBUG(misc, 1, "Forcing blitter 'null'...");
    23 	DEBUG(misc, 1, "Forcing blitter 'null'...");
    24 	BlitterFactoryBase::SelectBlitter("null");
    24 	BlitterFactoryBase::SelectBlitter("null");