From 31d69a49e87e1388c4cfdbccb7d256572283d308 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 11 Aug 2008 22:45:11 +0000 Subject: (svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support. --- src/video/cocoa/event.mm | 2 +- src/video/sdl_v.cpp | 2 +- src/video/win32_v.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/video') diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm index cee4e8fe2..a196ca4b0 100644 --- a/src/video/cocoa/event.mm +++ b/src/video/cocoa/event.mm @@ -694,7 +694,7 @@ void QZ_GameLoop() st += GetTick() - st0; #endif _screen.dst_ptr = _cocoa_subdriver->GetPixelBuffer(); - DrawChatMessage(); + NetworkDrawChatMessage(); DrawMouseCursor(); _cocoa_subdriver->Draw(); } diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index d6e274fc0..4ccf90abe 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -518,7 +518,7 @@ void VideoDriver_SDL::MainLoop() } else { SDL_CALL SDL_Delay(1); _screen.dst_ptr = _sdl_screen->pixels; - DrawChatMessage(); + NetworkDrawChatMessage(); DrawMouseCursor(); DrawSurfaceToScreen(); } diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 8dcab88e9..9f5c32045 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -890,7 +890,7 @@ void VideoDriver_Win32::MainLoop() GdiFlush(); #endif _screen.dst_ptr = _wnd.buffer_bits; - DrawChatMessage(); + NetworkDrawChatMessage(); DrawMouseCursor(); } } -- cgit v1.2.3-54-g00ecf