Skip to content

Commit

Permalink
Improvements per Twisol commit a18fce9
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Sep 19, 2010
1 parent 2fb56ad commit 96b7775
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 3 additions & 1 deletion MUSHclient.vcproj
Expand Up @@ -48,6 +48,7 @@
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/D &quot;_CRT_SECURE_NO_WARNINGS&quot;"
Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)&quot;;&quot;$(SolutionDir)luacom\&quot;"
PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS;LUA51"
Expand All @@ -61,7 +62,7 @@
ProgramDataBaseFileName=".\WinDebug/"
BrowseInformation="1"
BrowseInformationFile=".\WinDebug/"
WarningLevel="1"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="4"
/>
Expand Down Expand Up @@ -145,6 +146,7 @@
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/D &quot;_CRT_SECURE_NO_WARNINGS&quot;"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="&quot;$(SolutionDir)&quot;"
Expand Down
8 changes: 0 additions & 8 deletions OtherTypes.h
Expand Up @@ -982,11 +982,3 @@ class CKeyValuePair
string sValue_; // value

}; // end of class CStringValuePair


// for plugin callbacks
typedef struct
{
char * pName; // name, eg. "OnPluginListChanged"
int iOffset; // offset in CPlugin
} tPluginCallbackNames;
7 changes: 7 additions & 0 deletions plugins.h
Expand Up @@ -231,3 +231,10 @@ extern const string ON_PLUGIN_CHAT_USERDISCONNECT; // "OnPluginChatUserDisconn

// table of callbacks
extern string PluginCallbacksNames [];

// for plugin callbacks
typedef struct
{
char * pName; // name, eg. "OnPluginListChanged"
int iOffset; // offset in CPlugin
} tPluginCallbackNames;

0 comments on commit 96b7775

Please sign in to comment.