src/video/video_driver.hpp
branchNewGRF_ports
changeset 10994 cd9968b6f96b
parent 10724 68a692eacf22
equal deleted inserted replaced
10991:d8811e327d12 10994:cd9968b6f96b
     4 
     4 
     5 #ifndef VIDEO_VIDEO_DRIVER_HPP
     5 #ifndef VIDEO_VIDEO_DRIVER_HPP
     6 #define VIDEO_VIDEO_DRIVER_HPP
     6 #define VIDEO_VIDEO_DRIVER_HPP
     7 
     7 
     8 #include "../driver.h"
     8 #include "../driver.h"
       
     9 #include "../core/geometry_type.hpp"
     9 
    10 
    10 class VideoDriver: public Driver {
    11 class VideoDriver: public Driver {
    11 public:
    12 public:
    12 	virtual void MakeDirty(int left, int top, int width, int height) = 0;
    13 	virtual void MakeDirty(int left, int top, int width, int height) = 0;
    13 
    14 
    33 };
    34 };
    34 
    35 
    35 extern VideoDriver *_video_driver;
    36 extern VideoDriver *_video_driver;
    36 extern char _ini_videodriver[32];
    37 extern char _ini_videodriver[32];
    37 extern int _num_resolutions;
    38 extern int _num_resolutions;
    38 extern uint16 _resolutions[32][2];
    39 extern Dimension _resolutions[32];
    39 extern uint16 _cur_resolution[2];
    40 extern Dimension _cur_resolution;
    40 
    41 
    41 #endif /* VIDEO_VIDEO_DRIVER_HPP */
    42 #endif /* VIDEO_VIDEO_DRIVER_HPP */