Move chat display into a widget

This commit is contained in:
Paul Chote
2010-07-10 20:43:29 +12:00
parent fdf570398a
commit 50f3aecf53
10 changed files with 21 additions and 125 deletions

View File

@@ -201,9 +201,6 @@ namespace OpenRA
}
internal static int RenderFrame = 0;
internal static Chat chat = new Chat();
internal static int LocalTick = 0;
const int NetTickScale = 3; // 120ms net tick for 40ms local tick
@@ -618,7 +615,7 @@ namespace OpenRA
public static void Exit() { quit = true; }
public static void Debug(string s) { chat.AddLine(Color.White, "Debug", s); }
public static void Debug(string s) { Chrome.chatWidget.AddLine(Color.White, "Debug", s); }
public static void Disconnect()
{