From 127940a9b175541dd55d208d077435b361a148db Mon Sep 17 00:00:00 2001 From: Nick Gammon Date: Thu, 22 Jul 2010 07:38:00 +1000 Subject: [PATCH] Added summary.xml plugin to distribution --- install/mushclient.nsi | 3 +++ world_debug.cpp | 9 ++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/install/mushclient.nsi b/install/mushclient.nsi index 11d1631b..d480b553 100644 --- a/install/mushclient.nsi +++ b/install/mushclient.nsi @@ -378,6 +378,7 @@ Section "Plugins" File "..\plugins\Current_Output_Window.xml" File "..\plugins\InfoBox_Demo.xml" File "..\plugins\ATCP_NJG.xml" + File "..\plugins\Summary.xml" SectionEnd @@ -536,6 +537,8 @@ Section Uninstall Delete "$INSTDIR\worlds\plugins\Current_Output_Window.xml" Delete "$INSTDIR\worlds\plugins\InfoBox_Demo.xml" Delete "$INSTDIR\worlds\plugins\ATCP_NJG.xml" + Delete "$INSTDIR\worlds\plugins\Summary.xml" + ; locale stuff diff --git a/world_debug.cpp b/world_debug.cpp index 173c36c5..de689b78 100644 --- a/world_debug.cpp +++ b/world_debug.cpp @@ -1142,11 +1142,6 @@ VARIANT CMUSHclientDoc::Debug(LPCTSTR Command) Note (TFormat ("Received: %I64d bytes (%I64d Kb)", m_nBytesIn, nInK)); Note (TFormat ("Sent: %I64d bytes (%I64d Kb)", m_nBytesOut, nOutK)); Note (TFormat ("Received %I64d packets, sent %I64d packets.", m_iInputPacketCount, m_iOutputPacketCount)); - - Note (TFormat ("Output buffer: %i of %ld lines.", - m_LineList.GetCount (), - m_maxlines)); - Note (TFormat ("Total lines received: %ld", m_total_lines)); Note (TFormat ("This connection: Sent %ld lines, received %ld lines.", m_nTotalLinesSent, m_nTotalLinesReceived)); @@ -1272,6 +1267,10 @@ VARIANT CMUSHclientDoc::Debug(LPCTSTR Command) r.right / m_FontWidth, m_nWrapColumn, r.bottom / m_FontHeight)); + Note (TFormat ("Output buffer: %i of %ld lines.", + m_LineList.GetCount (), + m_maxlines)); + ColourNote (SCRIPTERRORCONTEXTFORECOLOUR, "", "-- Miscellaneous --"); // logging?