(svn r10255) -Codechange: remove some old debug code nobody was using anymore

This commit is contained in:
truelight
2007-06-21 16:53:57 +00:00
parent 66a136be09
commit f58ea51e2a
5 changed files with 1 additions and 42 deletions

View File

@@ -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();

View File

@@ -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 =

View File

@@ -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) {