- massive overhaul of the voting subsystem

- NOTE: menu API compatibility was COMPLETELY broken for C++!
- cleaned up various aspects of the menu API
- implemented new extended vote results callback
- extended the debug reporter a tiny bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401275
This commit is contained in:
David Anderson
2007-08-08 02:27:10 +00:00
parent 9d0c2ea4d8
commit 6d60bd8de2
20 changed files with 1900 additions and 1600 deletions
+1028 -1028
View File
File diff suppressed because it is too large Load Diff
+10
View File
@@ -81,6 +81,16 @@ static const char *g_ErrorMsgTable[] =
"Call was aborted",
};
const char *GetSourcePawnErrorMessage(int error)
{
if (error < 1 || error > ERROR_MESSAGE_MAX)
{
return NULL;
}
return g_ErrorMsgTable[error];
}
SourcePawnEngine::SourcePawnEngine()
{
m_pDebugHook = NULL;
-1
View File
@@ -45,7 +45,6 @@ struct TracedCall
unsigned int chain;
};
class CContextTrace : public IContextTrace
{
public: