Skip to content

Commit 2a32a4d

Browse files
committed
Code cleanups per Twisol commit d922a95
1 parent 96b7775 commit 2a32a4d

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

doc.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ const CString MUSHCLIENT_VERSION = "4.62"; // Step 2.
3333
#define MUD_LIST "http://www.gammon.com.au/links/muds.htm"
3434
#define BUG_REPORT_PAGE "http://www.gammon.com.au/forum/?bbtopic_id=5"
3535
#define FORUM_URL "http://www.gammon.com.au/forum/"
36-
#define ORDERS_PAGE "http://www.gammon.com.au/fee.htm"
37-
#define REGCODE_URL "http://www.gammon.com.au/regcode.htm"
3836
#define MUSHCLIENT_FORUM_URL "http://www.gammon.com.au/forum/?bbsection_id=1"
3937
#define MUSHCLIENT_FUNCTIONS_URL "http://www.gammon.com.au/mushclient/functions.htm"
4038
#define DOCUMENTATION_PAGE "http://www.gammon.com.au/scripts/doc.php"
@@ -49,8 +47,7 @@ const CString MUSHCLIENT_VERSION = "4.62"; // Step 2.
4947
// program constants
5048

5149
const int JUMP_SIZE = 100; // how many lines we discard when we reach maximum lines
52-
const char ENDLINE [] = "\r\n"; // line terminator
53-
const char SIGNATURE [] = "WinMUSH"; // world file signature
50+
const char ENDLINE [] = "\r\n"; // line terminator
5451
const int VERSION = 15; // version number written to world file
5552
#define MAX_EXECUTION_DEPTH 20 // number of nested calls to world.Execute we permit
5653

@@ -70,8 +67,6 @@ const int VERSION = 15; // version number written to world file
7067
// this string identifies that Pueblo starts after it is received
7168
#define PUEBLO_START "</xch_mudtext>"
7269

73-
#define ORIGINAL_MACRO_COUNT 60
74-
7570
class CSendView;
7671
class CMUSHView;
7772
class CChildFrame;
@@ -623,8 +618,6 @@ class CMUSHclientDoc : public CDocument
623618
unsigned short m_bArrowsChangeHistory;
624619
unsigned short m_bConfirmOnPaste;
625620

626-
unsigned short m_version;
627-
628621
CString m_macros [MACRO_COUNT]; // for function keys
629622
unsigned short m_macro_type [MACRO_COUNT]; // see macro send types above
630623
CString m_macro_name [MACRO_COUNT];

doc_construct.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ int i;
199199
m_nTotalLinesSent = 0;
200200
m_nTotalLinesReceived = 0;
201201
m_phase = NONE;
202-
m_version = VERSION;
203202

204203
m_bVariablesChanged = false;
205204

0 commit comments

Comments
 (0)