Compile-time check updates for new orangebox fork (bug 3948, r=ds,dvander).
This commit is contained in:
parent
60292fa424
commit
a65dfc4888
@ -73,6 +73,8 @@ CLocalExtension::CLocalExtension(const char *filename)
|
|||||||
"extensions/auto.2.l4d/%s",
|
"extensions/auto.2.l4d/%s",
|
||||||
#elif SOURCE_ENGINE == SE_ORANGEBOX
|
#elif SOURCE_ENGINE == SE_ORANGEBOX
|
||||||
"extensions/auto.2.ep2/%s",
|
"extensions/auto.2.ep2/%s",
|
||||||
|
#elif SOURCE_ENGINE == SE_ORANGEBOXVALVE
|
||||||
|
"extensions/auto.2.ep2valve",
|
||||||
#elif SOURCE_ENGINE == SE_DARKMESSIAH
|
#elif SOURCE_ENGINE == SE_DARKMESSIAH
|
||||||
"extensions/auto.2.darkm/%s",
|
"extensions/auto.2.darkm/%s",
|
||||||
#else
|
#else
|
||||||
|
@ -109,6 +109,8 @@ static bool DoesEngineMatch(const char *value)
|
|||||||
if (strcmp(value, "darkmessiah") == 0)
|
if (strcmp(value, "darkmessiah") == 0)
|
||||||
#elif SOURCE_ENGINE == SE_ORANGEBOX
|
#elif SOURCE_ENGINE == SE_ORANGEBOX
|
||||||
if (strcmp(value, "orangebox") == 0)
|
if (strcmp(value, "orangebox") == 0)
|
||||||
|
#elif SOURCE_ENGINE == SE_ORANGEBOXVALVE
|
||||||
|
if (strcmp(value, "orangebox_valve") == 0)
|
||||||
#elif SOURCE_ENGINE == SE_LEFT4DEAD
|
#elif SOURCE_ENGINE == SE_LEFT4DEAD
|
||||||
if (strcmp(value, "left4dead") == 0)
|
if (strcmp(value, "left4dead") == 0)
|
||||||
#else
|
#else
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
#include <IRootConsoleMenu.h>
|
#include <IRootConsoleMenu.h>
|
||||||
#if SOURCE_ENGINE == SE_LEFT4DEAD
|
#if SOURCE_ENGINE == SE_LEFT4DEAD
|
||||||
#include "convar_sm_l4d.h"
|
#include "convar_sm_l4d.h"
|
||||||
#elif SOURCE_ENGINE == SE_ORANGEBOX
|
#elif (SOURCE_ENGINE == SE_ORANGEBOX) || (SOURCE_ENGINE == SE_ORANGEBOXVALVE)
|
||||||
#include "convar_sm_ob.h"
|
#include "convar_sm_ob.h"
|
||||||
#else
|
#else
|
||||||
#include "convar_sm.h"
|
#include "convar_sm.h"
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#if SOURCE_ENGINE == SE_LEFT4DEAD
|
#if SOURCE_ENGINE == SE_LEFT4DEAD
|
||||||
#include "convar_sm_l4d.h"
|
#include "convar_sm_l4d.h"
|
||||||
#elif SOURCE_ENGINE == SE_ORANGEBOX
|
#elif (SOURCE_ENGINE == SE_ORANGEBOX) || (SOURCE_ENGINE == SE_ORANGEBOXVALVE)
|
||||||
#include "convar_sm_ob.h"
|
#include "convar_sm_ob.h"
|
||||||
#else
|
#else
|
||||||
#include "convar_sm.h"
|
#include "convar_sm.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user