Updated GMod gamedata (bug 5408).
authorNicholas Hastings <skamonkey@gmail.com>
Mon Aug 27 18:56:33 2012 -0400 (2012-08-27)
changeset 363604bdbc649beb
parent 3635 14e7af400bcc
child 3637 868db34cf3e6
Updated GMod gamedata (bug 5408).
gamedata/sdktools.games/engine.ep2valve.txt
gamedata/sdktools.games/game.garrysmod.txt
     1.1 --- a/gamedata/sdktools.games/engine.ep2valve.txt	Sun Aug 26 23:35:18 2012 -0400
     1.2 +++ b/gamedata/sdktools.games/engine.ep2valve.txt	Mon Aug 27 18:56:33 2012 -0400
     1.3 @@ -19,7 +19,6 @@
     1.4  			"game"		"dod"
     1.5  			"game"		"tf"
     1.6  			"game"		"hl2mp"
     1.7 -			"game"		"garrysmod"
     1.8  		}
     1.9  
    1.10  		"Offsets"
    1.11 @@ -173,6 +172,13 @@
    1.12  	/* EntityFactoryDictionary function */
    1.13  	"#default"
    1.14  	{
    1.15 +		"#supported"
    1.16 +		{
    1.17 +			"game"		"tf"
    1.18 +			"game"		"dod"
    1.19 +			"game"		"hl2mp"
    1.20 +		}
    1.21 +		
    1.22  		"Signatures"
    1.23  		{
    1.24  			"EntityFactory"
    1.25 @@ -193,7 +199,6 @@
    1.26  			"game"		"dod"
    1.27  			"game"		"tf"
    1.28  			"game"		"hl2mp"
    1.29 -			"game"		"garrysmod"
    1.30  		}
    1.31  		"Signatures"
    1.32  		{
     2.1 --- a/gamedata/sdktools.games/game.garrysmod.txt	Sun Aug 26 23:35:18 2012 -0400
     2.2 +++ b/gamedata/sdktools.games/game.garrysmod.txt	Mon Aug 27 18:56:33 2012 -0400
     2.3 @@ -18,87 +18,163 @@
     2.4  		{
     2.5  			"GiveNamedItem"
     2.6  			{
     2.7 -				"windows"	"434"
     2.8 -				"linux"		"435"
     2.9 -				"mac"		"435"
    2.10 +				"windows"	"437"
    2.11 +				"linux"		"438"
    2.12 +				"mac"		"438"
    2.13  			}
    2.14  			"RemovePlayerItem"
    2.15  			{
    2.16 +				"windows"	"308"
    2.17 +				"linux"		"309"
    2.18 +				"mac"		"309"
    2.19 +			}
    2.20 +			"Weapon_GetSlot"
    2.21 +			{
    2.22  				"windows"	"306"
    2.23  				"linux"		"307"
    2.24  				"mac"		"307"
    2.25  			}
    2.26 -			"Weapon_GetSlot"
    2.27 -			{
    2.28 -				"windows"	"304"
    2.29 -				"linux"		"305"
    2.30 -				"mac"		"305"
    2.31 -			}
    2.32  			"Ignite"
    2.33  			{
    2.34 -				"windows"	"241"
    2.35 -				"linux"		"242"
    2.36 -				"mac"		"242"
    2.37 +				"windows"	"243"
    2.38 +				"linux"		"244"
    2.39 +				"mac"		"244"
    2.40  			}
    2.41  			"Extinguish"
    2.42  			{
    2.43 -				"windows"	"245"
    2.44 -				"linux"		"246"
    2.45 -				"mac"		"246"
    2.46 +				"windows"	"247"
    2.47 +				"linux"		"248"
    2.48 +				"mac"		"248"
    2.49  			}
    2.50  			"Teleport"
    2.51  			{
    2.52 -				"windows"	"107"
    2.53 -				"linux"		"108"
    2.54 -				"mac"		"108"
    2.55 +				"windows"	"108"
    2.56 +				"linux"		"109"
    2.57 +				"mac"		"109"
    2.58  			}
    2.59  			"CommitSuicide"
    2.60  			{
    2.61 -				"windows"	"473"
    2.62 -				"linux"		"473"
    2.63 -				"mac"		"473"
    2.64 +				"windows"	"476"
    2.65 +				"linux"		"476"
    2.66 +				"mac"		"476"
    2.67  			}
    2.68  			"GetVelocity"
    2.69  			{
    2.70 -				"windows"	"139"
    2.71 -				"linux"		"140"
    2.72 -				"mac"		"140"
    2.73 +				"windows"	"140"
    2.74 +				"linux"		"141"
    2.75 +				"mac"		"141"
    2.76  			}
    2.77  			"EyeAngles"
    2.78  			{
    2.79 -				"windows"	"130"
    2.80 -				"linux"		"131"
    2.81 -				"mac"		"131"
    2.82 +				"windows"	"131"
    2.83 +				"linux"		"132"
    2.84 +				"mac"		"132"
    2.85  			}
    2.86  			"AcceptInput"
    2.87  			{
    2.88 -				"windows"	"35"
    2.89 -				"linux"		"36"
    2.90 -				"mac"		"36"
    2.91 +				"windows"	"36"
    2.92 +				"linux"		"37"
    2.93 +				"mac"		"37"
    2.94  			}
    2.95  			"SetEntityModel"
    2.96  			{
    2.97 -				"windows"	"23"
    2.98 -				"linux"		"24"
    2.99 -				"mac"		"24"
   2.100 +				"windows"	"24"
   2.101 +				"linux"		"25"
   2.102 +				"mac"		"25"
   2.103  			}
   2.104  			"WeaponEquip"
   2.105  			{
   2.106 -				"windows"	"297"
   2.107 -				"linux"		"298"
   2.108 -				"mac"		"298"
   2.109 +				"windows"	"299"
   2.110 +				"linux"		"300"
   2.111 +				"mac"		"300"
   2.112  			}
   2.113  			"Activate"
   2.114  			{
   2.115 -				"windows"	"32"
   2.116 -				"linux"		"33"
   2.117 -				"mac"		"33"
   2.118 +				"windows"	"33"
   2.119 +				"linux"		"34"
   2.120 +				"mac"		"34"
   2.121  			}
   2.122  			"PlayerRunCmd"
   2.123  			{
   2.124 -				"windows"	"452"
   2.125 -				"linux"		"453"
   2.126 -				"mac"		"453"
   2.127 +				"windows"	"455"
   2.128 +				"linux"		"456"
   2.129 +				"mac"		"456"
   2.130 +			}
   2.131 +		}
   2.132 +	}
   2.133 +	
   2.134 +	"garrysmod"
   2.135 +	{
   2.136 +		"Offsets"
   2.137 +		{
   2.138 +			/* Offset into func at "CBaseTempEntity" signature */
   2.139 +			"s_pTempEntities"
   2.140 +			{
   2.141 +				"windows"	"8"
   2.142 +			}
   2.143 +			"GetTEName"
   2.144 +			{
   2.145 +				"windows"	"4"
   2.146 +				"linux"		"4"
   2.147 +				"mac"		"4"
   2.148 +			}
   2.149 +			"GetTENext"
   2.150 +			{
   2.151 +				"windows"	"8"
   2.152 +				"linux"		"8"
   2.153 +				"mac"		"8"
   2.154 +			}
   2.155 +			"TE_GetServerClass"
   2.156 +			{
   2.157 +				"windows"	"0"
   2.158 +				"linux"		"0"
   2.159 +				"mac"		"0"
   2.160 +			}
   2.161 +		}
   2.162 +
   2.163 +		"Signatures"
   2.164 +		{
   2.165 +			/* This isn't CBaseTempEntity::CBaseTempEntity on gmod, it's a randon one of now many, many funcs that have
   2.166 +			 * the s_pTempEntities ptr available due to inlining
   2.167 +			 */
   2.168 +			"CBaseTempEntity"
   2.169 +			{
   2.170 +				"library"	"server"
   2.171 +				"windows"	"\x55\x8B\xEC\x51\x0F\x57\xC0\xA1\x2A\x2A\x2A\x2A\x8D\x4D\xFC\xA3"
   2.172 +			}
   2.173 +			"s_pTempEntities"
   2.174 +			{
   2.175 +				"library"	"server"
   2.176 +				"linux"		"@_ZN15CBaseTempEntity15s_pTempEntitiesE"
   2.177 +				"mac"		"@_ZN15CBaseTempEntity15s_pTempEntitiesE"
   2.178 +			}
   2.179 +		}
   2.180 +	}
   2.181 +	
   2.182 +	"garrysmod"
   2.183 +	{
   2.184 +		"Signatures"
   2.185 +		{
   2.186 +			"EntityFactory"
   2.187 +			{
   2.188 +				"library"	"server"
   2.189 +				"windows"	"\x55\x8B\xEC\x51\x56\x8D\x2A\x2A\xBE\x2A\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\xE8"
   2.190 +				"linux"		"@_Z23EntityFactoryDictionaryv"
   2.191 +				"mac"		"@_Z23EntityFactoryDictionaryv"
   2.192 +			}
   2.193 +		}
   2.194 +	}
   2.195 +	
   2.196 +	"garrysmod"
   2.197 +	{
   2.198 +		"Signatures"
   2.199 +		{
   2.200 +			"FireOutput"
   2.201 +			{
   2.202 +				"library"	"server"
   2.203 +				"windows"	"\x55\x8B\xEC\x83\x2A\x2A\x81\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x53\x56\x8B\x2A\x2A\x85\xF6\x57"
   2.204 +				"linux"		"@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
   2.205 +				"mac"		"@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
   2.206  			}
   2.207  		}
   2.208  	}