updated AMbuildscript and extension header so css fixes can be build again
This commit is contained in:
parent
3168c52234
commit
4fc43bc272
@ -84,7 +84,7 @@ class ExtensionConfig(object):
|
||||
if builder.options.sm_path:
|
||||
self.sm_root = builder.options.sm_path
|
||||
else:
|
||||
self.sm_root = ResolveEnvPath('SOURCEMOD18', 'sourcemod-1.8')
|
||||
self.sm_root = ResolveEnvPath('SOURCEMOD', 'sourcemod-1.11')
|
||||
if not self.sm_root:
|
||||
self.sm_root = ResolveEnvPath('SOURCEMOD', 'sourcemod')
|
||||
if not self.sm_root:
|
||||
@ -97,7 +97,7 @@ class ExtensionConfig(object):
|
||||
if builder.options.mms_path:
|
||||
self.mms_root = builder.options.mms_path
|
||||
else:
|
||||
self.mms_root = ResolveEnvPath('MMSOURCE110', 'mmsource-1.10')
|
||||
self.mms_root = ResolveEnvPath('MMSOURCE', 'mmsource-1.11')
|
||||
if not self.mms_root:
|
||||
self.mms_root = ResolveEnvPath('MMSOURCE', 'metamod-source')
|
||||
if not self.mms_root:
|
||||
@ -426,4 +426,4 @@ if builder.backend == 'amb2':
|
||||
'PackageScript',
|
||||
]
|
||||
|
||||
builder.RunBuildScripts(BuildScripts, { 'Extension': Extension})
|
||||
builder.RunBuildScripts(BuildScripts, { 'Extension': Extension})
|
||||
|
@ -39,6 +39,9 @@
|
||||
|
||||
#include "smsdk_ext.h"
|
||||
|
||||
#define DETOUR_DECL_STATIC9(name, ret, p1type, p1name, p2type, p2name, p3type, p3name, p4type, p4name, p5type, p5name, p6type, p6name, p7type, p7name, p8type, p8name, p9type, p9name) \
|
||||
ret (*name##_Actual)(p1type, p2type, p3type, p4type, p5type, p6type, p7type, p8type, p9type) = NULL; \
|
||||
ret name(p1type p1name, p2type p2name, p3type p3name, p4type p4name, p5type p5name, p6type p6name, p7type p7name, p8type p8name, p9type p9name)
|
||||
|
||||
/**
|
||||
* @brief Sample implementation of the SDK Extension.
|
||||
|
Loading…
Reference in New Issue
Block a user