Added support for L4D2 on Mac OS X (bug 4647, r=fyren).
This commit is contained in:
parent
4e175f9cd6
commit
e6a93a799a
@ -18,7 +18,7 @@ class SM:
|
|||||||
self.sdkInfo['l4d'] = {'sdk': 'HL2SDKL4D', 'ext': '2.l4d', 'def': '5',
|
self.sdkInfo['l4d'] = {'sdk': 'HL2SDKL4D', 'ext': '2.l4d', 'def': '5',
|
||||||
'name': 'LEFT4DEAD', 'platform': ['windows', 'linux']}
|
'name': 'LEFT4DEAD', 'platform': ['windows', 'linux']}
|
||||||
self.sdkInfo['l4d2'] = {'sdk': 'HL2SDKL4D2', 'ext': '2.l4d2', 'def': '6',
|
self.sdkInfo['l4d2'] = {'sdk': 'HL2SDKL4D2', 'ext': '2.l4d2', 'def': '6',
|
||||||
'name': 'LEFT4DEAD2', 'platform': ['windows', 'linux']}
|
'name': 'LEFT4DEAD2', 'platform': ['windows', 'linux', 'darwin']}
|
||||||
self.sdkInfo['darkm'] = {'sdk': 'HL2SDK-DARKM', 'ext': '2.darkm', 'def': '2',
|
self.sdkInfo['darkm'] = {'sdk': 'HL2SDK-DARKM', 'ext': '2.darkm', 'def': '2',
|
||||||
'name': 'DARKMESSIAH', 'platform': ['windows']}
|
'name': 'DARKMESSIAH', 'platform': ['windows']}
|
||||||
self.sdkInfo['swarm'] = {'sdk': 'HL2SDK-SWARM', 'ext': '2.swarm', 'def': '7',
|
self.sdkInfo['swarm'] = {'sdk': 'HL2SDK-SWARM', 'ext': '2.swarm', 'def': '7',
|
||||||
@ -31,6 +31,7 @@ class SM:
|
|||||||
#Detect variables
|
#Detect variables
|
||||||
envvars = { 'MMSOURCE18': 'mmsource-1.8',
|
envvars = { 'MMSOURCE18': 'mmsource-1.8',
|
||||||
'HL2SDKOBVALVE': 'hl2sdk-ob-valve',
|
'HL2SDKOBVALVE': 'hl2sdk-ob-valve',
|
||||||
|
'HL2SDKL4D2': 'hl2sdk-l4d2',
|
||||||
'MYSQL5': 'mysql-5.0'
|
'MYSQL5': 'mysql-5.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,7 +39,6 @@ class SM:
|
|||||||
envvars['HL2SDK'] = 'hl2sdk'
|
envvars['HL2SDK'] = 'hl2sdk'
|
||||||
envvars['HL2SDKOB'] = 'hl2sdk-ob'
|
envvars['HL2SDKOB'] = 'hl2sdk-ob'
|
||||||
envvars['HL2SDKL4D'] = 'hl2sdk-l4d'
|
envvars['HL2SDKL4D'] = 'hl2sdk-l4d'
|
||||||
envvars['HL2SDKL4D2'] = 'hl2sdk-l4d2'
|
|
||||||
|
|
||||||
#Dark Messiah is Windows-only
|
#Dark Messiah is Windows-only
|
||||||
if AMBuild.target['platform'] == 'windows':
|
if AMBuild.target['platform'] == 'windows':
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define FORCEINLINE_CVAR FORCEINLINE
|
#define FORCEINLINE_CVAR FORCEINLINE
|
||||||
#elif _LINUX
|
#elif defined _LINUX || defined __APPLE__
|
||||||
#define FORCEINLINE_CVAR inline
|
#define FORCEINLINE_CVAR inline
|
||||||
#else
|
#else
|
||||||
#error "implement me"
|
#error "implement me"
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
{
|
{
|
||||||
"windows" "4"
|
"windows" "4"
|
||||||
"linux" "4"
|
"linux" "4"
|
||||||
|
"mac" "4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,6 +46,7 @@
|
|||||||
{
|
{
|
||||||
"library" "server"
|
"library" "server"
|
||||||
"linux" "@gEntList"
|
"linux" "@gEntList"
|
||||||
|
"mac" "@gEntList"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,16 +41,19 @@
|
|||||||
{
|
{
|
||||||
"windows" "4"
|
"windows" "4"
|
||||||
"linux" "4"
|
"linux" "4"
|
||||||
|
"mac" "4"
|
||||||
}
|
}
|
||||||
"GetTENext"
|
"GetTENext"
|
||||||
{
|
{
|
||||||
"windows" "8"
|
"windows" "8"
|
||||||
"linux" "8"
|
"linux" "8"
|
||||||
|
"mac" "8"
|
||||||
}
|
}
|
||||||
"TE_GetServerClass"
|
"TE_GetServerClass"
|
||||||
{
|
{
|
||||||
"windows" "0"
|
"windows" "0"
|
||||||
"linux" "0"
|
"linux" "0"
|
||||||
|
"mac" "0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,6 +68,7 @@
|
|||||||
{
|
{
|
||||||
"library" "server"
|
"library" "server"
|
||||||
"linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE"
|
"linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE"
|
||||||
|
"mac" "@_ZN15CBaseTempEntity15s_pTempEntitiesE"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -83,12 +87,14 @@
|
|||||||
{
|
{
|
||||||
"library" "server"
|
"library" "server"
|
||||||
"linux" "@_Z13DispatchSpawnP11CBaseEntityb"
|
"linux" "@_Z13DispatchSpawnP11CBaseEntityb"
|
||||||
|
"mac" "@_Z13DispatchSpawnP11CBaseEntityb"
|
||||||
"windows" "\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x2A\x8B\xCB"
|
"windows" "\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x2A\x8B\xCB"
|
||||||
}
|
}
|
||||||
"CreateEntityByName"
|
"CreateEntityByName"
|
||||||
{
|
{
|
||||||
"library" "server"
|
"library" "server"
|
||||||
"linux" "@_Z18CreateEntityByNamePKcib"
|
"linux" "@_Z18CreateEntityByNamePKcib"
|
||||||
|
"mac" "@_Z18CreateEntityByNamePKcib"
|
||||||
"windows" "\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
|
"windows" "\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -110,6 +116,7 @@
|
|||||||
"library" "server"
|
"library" "server"
|
||||||
"windows" "\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03"
|
"windows" "\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03"
|
||||||
"linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
|
"linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
|
||||||
|
"mac" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -150,6 +157,7 @@
|
|||||||
{
|
{
|
||||||
"library" "server"
|
"library" "server"
|
||||||
"linux" "@g_pGameRules"
|
"linux" "@g_pGameRules"
|
||||||
|
"mac" "@g_pGameRules"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,6 +194,7 @@
|
|||||||
{
|
{
|
||||||
"library" "engine"
|
"library" "engine"
|
||||||
"linux" "@sv"
|
"linux" "@sv"
|
||||||
|
"mac" "@sv"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -200,6 +209,7 @@
|
|||||||
"library" "server"
|
"library" "server"
|
||||||
"windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3"
|
"windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3"
|
||||||
"linux" "@_Z23EntityFactoryDictionaryv"
|
"linux" "@_Z23EntityFactoryDictionaryv"
|
||||||
|
"mac" "@_Z23EntityFactoryDictionaryv"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -218,6 +228,7 @@
|
|||||||
"library" "server"
|
"library" "server"
|
||||||
"windows" "\x81\xEC\x1C\x01\x00\x00\x53\x55\x56\x8B\x71\x14\x85\xF6"
|
"windows" "\x81\xEC\x1C\x01\x00\x00\x53\x55\x56\x8B\x71\x14\x85\xF6"
|
||||||
"linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
|
"linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
|
||||||
|
"mac" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -238,6 +249,7 @@
|
|||||||
/* Not 100% sure on this, why would windows change and not linux - TEST ME */
|
/* Not 100% sure on this, why would windows change and not linux - TEST ME */
|
||||||
"windows" "17"
|
"windows" "17"
|
||||||
"linux" "63"
|
"linux" "63"
|
||||||
|
"mac" "63"
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made.
|
* Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made.
|
||||||
@ -251,6 +263,7 @@
|
|||||||
{
|
{
|
||||||
"windows" "176"
|
"windows" "176"
|
||||||
"linux" "176"
|
"linux" "176"
|
||||||
|
"mac" "176"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -264,86 +277,103 @@
|
|||||||
{
|
{
|
||||||
"windows" "506"
|
"windows" "506"
|
||||||
"linux" "507"
|
"linux" "507"
|
||||||
|
"mac" "507"
|
||||||
}
|
}
|
||||||
"RemovePlayerItem"
|
"RemovePlayerItem"
|
||||||
{
|
{
|
||||||
"windows" "288"
|
"windows" "288"
|
||||||
"linux" "289"
|
"linux" "289"
|
||||||
|
"mac" "289"
|
||||||
}
|
}
|
||||||
"Weapon_GetSlot"
|
"Weapon_GetSlot"
|
||||||
{
|
{
|
||||||
"windows" "286"
|
"windows" "286"
|
||||||
"linux" "287"
|
"linux" "287"
|
||||||
|
"mac" "287"
|
||||||
}
|
}
|
||||||
"Ignite"
|
"Ignite"
|
||||||
{
|
{
|
||||||
"windows" "221"
|
"windows" "221"
|
||||||
"linux" "222"
|
"linux" "222"
|
||||||
|
"mac" "222"
|
||||||
}
|
}
|
||||||
"Extinguish"
|
"Extinguish"
|
||||||
{
|
{
|
||||||
"windows" "224"
|
"windows" "224"
|
||||||
"linux" "225"
|
"linux" "225"
|
||||||
|
"mac" "225"
|
||||||
}
|
}
|
||||||
"Teleport"
|
"Teleport"
|
||||||
{
|
{
|
||||||
"windows" "117"
|
"windows" "117"
|
||||||
"linux" "118"
|
"linux" "118"
|
||||||
|
"mac" "118"
|
||||||
}
|
}
|
||||||
"CommitSuicide"
|
"CommitSuicide"
|
||||||
{
|
{
|
||||||
"windows" "474"
|
"windows" "474"
|
||||||
"linux" "474"
|
"linux" "474"
|
||||||
|
"mac" "474"
|
||||||
}
|
}
|
||||||
"GetVelocity"
|
"GetVelocity"
|
||||||
{
|
{
|
||||||
"windows" "149"
|
"windows" "149"
|
||||||
"linux" "150"
|
"linux" "150"
|
||||||
|
"mac" "150"
|
||||||
}
|
}
|
||||||
"EyeAngles"
|
"EyeAngles"
|
||||||
{
|
{
|
||||||
"windows" "140"
|
"windows" "140"
|
||||||
"linux" "141"
|
"linux" "141"
|
||||||
|
"mac" "141"
|
||||||
}
|
}
|
||||||
"AcceptInput"
|
"AcceptInput"
|
||||||
{
|
{
|
||||||
"windows" "43"
|
"windows" "43"
|
||||||
"linux" "44"
|
"linux" "44"
|
||||||
|
"mac" "44"
|
||||||
}
|
}
|
||||||
"DispatchKeyValue"
|
"DispatchKeyValue"
|
||||||
{
|
{
|
||||||
"windows" "33"
|
"windows" "33"
|
||||||
"linux" "32"
|
"linux" "32"
|
||||||
|
"mac" "32"
|
||||||
}
|
}
|
||||||
"DispatchKeyValueFloat"
|
"DispatchKeyValueFloat"
|
||||||
{
|
{
|
||||||
"windows" "32"
|
"windows" "32"
|
||||||
"linux" "33"
|
"linux" "33"
|
||||||
|
"mac" "33"
|
||||||
}
|
}
|
||||||
"DispatchKeyValueVector"
|
"DispatchKeyValueVector"
|
||||||
{
|
{
|
||||||
"windows" "31"
|
"windows" "31"
|
||||||
"linux" "34"
|
"linux" "34"
|
||||||
|
"mac" "34"
|
||||||
}
|
}
|
||||||
"SetEntityModel"
|
"SetEntityModel"
|
||||||
{
|
{
|
||||||
"windows" "26"
|
"windows" "26"
|
||||||
"linux" "27"
|
"linux" "27"
|
||||||
|
"mac" "27"
|
||||||
}
|
}
|
||||||
"WeaponEquip"
|
"WeaponEquip"
|
||||||
{
|
{
|
||||||
"windows" "279"
|
"windows" "279"
|
||||||
"linux" "280"
|
"linux" "280"
|
||||||
|
"mac" "280"
|
||||||
}
|
}
|
||||||
"Activate"
|
"Activate"
|
||||||
{
|
{
|
||||||
"windows" "35"
|
"windows" "35"
|
||||||
"linux" "36"
|
"linux" "36"
|
||||||
|
"mac" "36"
|
||||||
}
|
}
|
||||||
"PlayerRunCmd"
|
"PlayerRunCmd"
|
||||||
{
|
{
|
||||||
"windows" "452"
|
"windows" "452"
|
||||||
"linux" "453"
|
"linux" "453"
|
||||||
|
"mac" "453"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user