mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-03-21 12:28:56 +01:00
added "meta game" message about the engine build
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40462
This commit is contained in:
parent
4c176ca689
commit
0ca28a477b
@ -86,6 +86,20 @@ bool Command_Meta(IMetamodSourceCommandInfo *info)
|
||||
CONMSG(" DLL Path: %s\n", g_Metamod.GetGameBinaryPath());
|
||||
CONMSG(" Interface: ServerGameDLL%03d\n", g_Metamod.GetGameDLLVersion());
|
||||
|
||||
int engine = g_Metamod.GetSourceEngineBuild();
|
||||
if (engine == SOURCE_ENGINE_ORIGINAL)
|
||||
{
|
||||
CONMSG(" Engine: Original (pre-Episode 1)\n");
|
||||
}
|
||||
else if (engine == SOURCE_ENGINE_EPISODEONE)
|
||||
{
|
||||
CONMSG(" Engine: Episode 1 (2004)\n");
|
||||
}
|
||||
else if (engine == SOURCE_ENGINE_ORANGEBOX)
|
||||
{
|
||||
CONMSG(" Engine: Episode 2 (Orange Box, 2007)\n");
|
||||
}
|
||||
|
||||
// Display user messages
|
||||
int messages = g_Metamod.GetUserMessageCount();
|
||||
if (messages != -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user