diff options
author | truelight <truelight@openttd.org> | 2007-06-21 16:53:57 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-06-21 16:53:57 +0000 |
commit | af8a234db03d075167a3bd50251905b40c6998c2 (patch) | |
tree | de64446fa3e39d4d97a3b476b363581bb8acf63d /src/video | |
parent | 56eb1738ee6de39367047a3cd0f20011560eb393 (diff) | |
download | openttd-af8a234db03d075167a3bd50251905b40c6998c2.tar.xz |
(svn r10255) -Codechange: remove some old debug code nobody was using anymore
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/cocoa_v.mm | 7 | ||||
-rw-r--r-- | src/video/sdl_v.cpp | 3 | ||||
-rw-r--r-- | src/video/win32_v.cpp | 3 |
3 files changed, 0 insertions, 13 deletions
diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm index 3083414b0..f4dfc5b77 100644 --- a/src/video/cocoa_v.mm +++ b/src/video/cocoa_v.mm @@ -77,10 +77,6 @@ extern "C" void HideMenuBar(); #undef Point #undef Rect -/* Taken from ../gfx.h */ -extern bool _dbg_screen_rect; - - /* Subclass of NSWindow to fix genie effect and support resize events */ @interface OTTD_QuartzWindow : NSWindow - (void)miniaturize:(id)sender; @@ -740,9 +736,6 @@ static void QZ_GameLoop() _ctrl_pressed = !!(_cocoa_video_data.current_mods & NSControlKeyMask); _shift_pressed = !!(_cocoa_video_data.current_mods & NSShiftKeyMask); -#ifdef _DEBUG - _dbg_screen_rect = !!(_cocoa_video_data.current_mods & NSAlphaShiftKeyMask); -#endif GameLoop(); diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index e42226c3b..1e11b32c3 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -476,9 +476,6 @@ static void SdlVideoMainLoop() _ctrl_pressed = !!(mod & KMOD_CTRL); _shift_pressed = !!(mod & KMOD_SHIFT); -#ifdef _DEBUG - _dbg_screen_rect = !!(mod & KMOD_CAPS); -#endif // determine which directional keys are down _dirkeys = diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 91aa28c88..1508e1ebd 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -826,9 +826,6 @@ static void Win32GdiMainLoop() next_tick = cur_ticks + 30; _ctrl_pressed = _wnd.has_focus && GetAsyncKeyState(VK_CONTROL)<0; _shift_pressed = _wnd.has_focus && GetAsyncKeyState(VK_SHIFT)<0; -#ifdef _DEBUG - _dbg_screen_rect = _wnd.has_focus && GetAsyncKeyState(VK_CAPITAL)<0; -#endif // determine which directional keys are down if (_wnd.has_focus) { |