From defda16eb60a87b3878ab27178df7552c3148808 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 25 Nov 2013 14:30:22 +0000 Subject: (svn r26108) -Codechange: some coding style (whitespace) --- src/video/allegro_v.h | 2 +- src/video/cocoa/cocoa_v.h | 2 +- src/video/cocoa/fullscreen.mm | 2 +- src/video/cocoa/wnd_quartz.mm | 2 +- src/video/cocoa/wnd_quickdraw.mm | 2 +- src/video/dedicated_v.h | 2 +- src/video/null_v.h | 2 +- src/video/sdl_v.h | 2 +- src/video/video_driver.hpp | 2 +- src/video/win32_v.h | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/video') diff --git a/src/video/allegro_v.h b/src/video/allegro_v.h index d455bb515..a770635da 100644 --- a/src/video/allegro_v.h +++ b/src/video/allegro_v.h @@ -15,7 +15,7 @@ #include "video_driver.hpp" /** The allegro video driver. */ -class VideoDriver_Allegro: public VideoDriver { +class VideoDriver_Allegro : public VideoDriver { public: /* virtual */ const char *Start(const char * const *param); diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h index 491efa94b..86085da62 100644 --- a/src/video/cocoa/cocoa_v.h +++ b/src/video/cocoa/cocoa_v.h @@ -14,7 +14,7 @@ #include "../video_driver.hpp" -class VideoDriver_Cocoa: public VideoDriver { +class VideoDriver_Cocoa : public VideoDriver { public: /* virtual */ const char *Start(const char * const *param); diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm index 411b6d0c0..4d2b1c588 100644 --- a/src/video/cocoa/fullscreen.mm +++ b/src/video/cocoa/fullscreen.mm @@ -76,7 +76,7 @@ struct OTTD_QuartzGammaTable { } @end -class FullscreenSubdriver: public CocoaSubdriver { +class FullscreenSubdriver : public CocoaSubdriver { CGDirectDisplayID display_id; ///< 0 == main display (only support single display) CFDictionaryRef cur_mode; ///< current mode of the display CFDictionaryRef save_mode; ///< original mode of the display diff --git a/src/video/cocoa/wnd_quartz.mm b/src/video/cocoa/wnd_quartz.mm index 12021631d..c93a1f6fb 100644 --- a/src/video/cocoa/wnd_quartz.mm +++ b/src/video/cocoa/wnd_quartz.mm @@ -57,7 +57,7 @@ class WindowQuartzSubdriver; - (void)drawRect:(NSRect)invalidRect; @end -class WindowQuartzSubdriver: public CocoaSubdriver { +class WindowQuartzSubdriver : public CocoaSubdriver { private: /** * This function copies 8bpp pixels from the screen buffer in 32bpp windowed mode. diff --git a/src/video/cocoa/wnd_quickdraw.mm b/src/video/cocoa/wnd_quickdraw.mm index 17ac21c46..df10d8773 100644 --- a/src/video/cocoa/wnd_quickdraw.mm +++ b/src/video/cocoa/wnd_quickdraw.mm @@ -45,7 +45,7 @@ class WindowQuickdrawSubdriver; -class WindowQuickdrawSubdriver: public CocoaSubdriver { +class WindowQuickdrawSubdriver : public CocoaSubdriver { private: /** * This function copies 32bpp pixels from the screen buffer in 16bpp windowed mode. diff --git a/src/video/dedicated_v.h b/src/video/dedicated_v.h index 24d647fef..0c1477d66 100644 --- a/src/video/dedicated_v.h +++ b/src/video/dedicated_v.h @@ -15,7 +15,7 @@ #include "video_driver.hpp" /** The dedicated server video driver. */ -class VideoDriver_Dedicated: public VideoDriver { +class VideoDriver_Dedicated : public VideoDriver { public: /* virtual */ const char *Start(const char * const *param); diff --git a/src/video/null_v.h b/src/video/null_v.h index 69563f5c4..9e04e177e 100644 --- a/src/video/null_v.h +++ b/src/video/null_v.h @@ -15,7 +15,7 @@ #include "video_driver.hpp" /** The null video driver. */ -class VideoDriver_Null: public VideoDriver { +class VideoDriver_Null : public VideoDriver { private: uint ticks; ///< Amount of ticks to run. diff --git a/src/video/sdl_v.h b/src/video/sdl_v.h index 523129309..730f82b93 100644 --- a/src/video/sdl_v.h +++ b/src/video/sdl_v.h @@ -15,7 +15,7 @@ #include "video_driver.hpp" /** The SDL video driver. */ -class VideoDriver_SDL: public VideoDriver { +class VideoDriver_SDL : public VideoDriver { public: /* virtual */ const char *Start(const char * const *param); diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index 3a3b4c79e..190bfcc10 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -16,7 +16,7 @@ #include "../core/geometry_type.hpp" /** The base of all video drivers. */ -class VideoDriver: public Driver { +class VideoDriver : public Driver { public: /** * Mark a particular area dirty. diff --git a/src/video/win32_v.h b/src/video/win32_v.h index f7c289009..21d59185b 100644 --- a/src/video/win32_v.h +++ b/src/video/win32_v.h @@ -15,7 +15,7 @@ #include "video_driver.hpp" /** The video driver for windows. */ -class VideoDriver_Win32: public VideoDriver { +class VideoDriver_Win32 : public VideoDriver { public: /* virtual */ const char *Start(const char * const *param); -- cgit v1.2.3-54-g00ecf