(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.
This commit is contained in:
@@ -694,7 +694,7 @@ void QZ_GameLoop()
|
||||
st += GetTick() - st0;
|
||||
#endif
|
||||
_screen.dst_ptr = _cocoa_subdriver->GetPixelBuffer();
|
||||
DrawChatMessage();
|
||||
NetworkDrawChatMessage();
|
||||
DrawMouseCursor();
|
||||
_cocoa_subdriver->Draw();
|
||||
}
|
||||
|
@@ -518,7 +518,7 @@ void VideoDriver_SDL::MainLoop()
|
||||
} else {
|
||||
SDL_CALL SDL_Delay(1);
|
||||
_screen.dst_ptr = _sdl_screen->pixels;
|
||||
DrawChatMessage();
|
||||
NetworkDrawChatMessage();
|
||||
DrawMouseCursor();
|
||||
DrawSurfaceToScreen();
|
||||
}
|
||||
|
@@ -890,7 +890,7 @@ void VideoDriver_Win32::MainLoop()
|
||||
GdiFlush();
|
||||
#endif
|
||||
_screen.dst_ptr = _wnd.buffer_bits;
|
||||
DrawChatMessage();
|
||||
NetworkDrawChatMessage();
|
||||
DrawMouseCursor();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user