File diff r12924:e6c5c07d4a27 → r12925:90ba6b12158c
src/video/dedicated_v.h
Show inline comments
 
@@ -18,24 +18,25 @@ class VideoDriver_Dedicated: public Vide
 
public:
 
	/* virtual */ const char *Start(const char * const *param);
 

	
 
	/* virtual */ void Stop();
 

	
 
	/* virtual */ void MakeDirty(int left, int top, int width, int height);
 

	
 
	/* virtual */ void MainLoop();
 

	
 
	/* virtual */ bool ChangeResolution(int w, int h);
 

	
 
	/* virtual */ bool ToggleFullscreen(bool fullscreen);
 
	/* virtual */ const char *GetName() const { return "dedicated"; }
 
};
 

	
 
class FVideoDriver_Dedicated: public VideoDriverFactory<FVideoDriver_Dedicated> {
 
public:
 
#ifdef DEDICATED
 
	/* Automatically select this dedicated driver when making a dedicated
 
	 * server build. */
 
	static const int priority = 10;
 
#else
 
	static const int priority = 0;
 
#endif
 
	/* virtual */ const char *GetName() { return "dedicated"; }