src/video/video_driver.hpp
branchNewGRF_ports
changeset 6872 1c4a4a609f85
parent 6720 35756db7e577
child 10724 68a692eacf22
--- a/src/video/video_driver.hpp	Mon Dec 03 23:39:38 2007 +0000
+++ b/src/video/video_driver.hpp	Tue Jan 22 21:00:30 2008 +0000
@@ -13,7 +13,7 @@
 
 	virtual bool ChangeResolution(int w, int h) = 0;
 
-	virtual void ToggleFullscreen(bool fullscreen) = 0;
+	virtual bool ToggleFullscreen(bool fullscreen) = 0;
 };
 
 class VideoDriverFactoryBase: public DriverFactoryBase {
@@ -31,5 +31,9 @@
 };
 
 extern VideoDriver *_video_driver;
+extern char _ini_videodriver[32];
+extern int _num_resolutions;
+extern uint16 _resolutions[32][2];
+extern uint16 _cur_resolution[2];
 
 #endif /* VIDEO_VIDEO_DRIVER_HPP */