gamedata/sm-cstrike.games.txt
author Drifer <rgr_02@comcast.net>
Sun Jun 26 01:25:42 2011 -0700 (2011-06-26)
changeset 3313 2ddc75e24c53
parent 3119 7ead7ca63fea
child 3324 e981678907dd
permissions -rw-r--r--
Add a number of useful forwards and natives to the cstrike extension (bug 4732, r=fyren).
fyrenmoo@2690
     1
/**
fyrenmoo@2690
     2
 * Do not edit this file.  Any changes will be overwritten by the gamedata
fyrenmoo@2690
     3
 * updater or by upgrading your SourceMod install.
fyrenmoo@2690
     4
 *
fyrenmoo@2690
     5
 * To override data in this file, create a subdirectory named "custom" and
fyrenmoo@2690
     6
 * place your own gamedata file(s) inside of it.  Such files will be parsed
fyrenmoo@2690
     7
 * after SM's own.
fyrenmoo@2690
     8
 *
fyrenmoo@2690
     9
 * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod)
fyrenmoo@2690
    10
 */
fyrenmoo@2690
    11
fyrenmoo@2690
    12
"Games"
fyrenmoo@2690
    13
{
skamonkey@3053
    14
	"cstrike"
fyrenmoo@2690
    15
	{
rgr_02@3313
    16
		"Offsets"
rgr_02@3313
    17
		{
rgr_02@3313
    18
			//Offset of szClassName in CCSWeaponInfo
rgr_02@3313
    19
			"WeaponName"
rgr_02@3313
    20
			{
rgr_02@3313
    21
				"windows"		"6"
rgr_02@3313
    22
				"linux"			"6"
rgr_02@3313
    23
				"mac"			"6"
rgr_02@3313
    24
			}
rgr_02@3313
    25
		}
skamonkey@2985
    26
		"Signatures"
skamonkey@2985
    27
		{
skamonkey@2985
    28
			"RoundRespawn"
skamonkey@2985
    29
			{
skamonkey@2985
    30
				"library"	"server"
skamonkey@3119
    31
				"windows"	"\x55\x8B\xEC\x51\x89\x2A\x2A\x8B\x2A\x2A\x8B\x10\x8B"
skamonkey@2985
    32
				"linux"		"@_ZN9CCSPlayer12RoundRespawnEv"
ds@3030
    33
				"mac"		"@_ZN9CCSPlayer12RoundRespawnEv"
skamonkey@2985
    34
			}
skamonkey@2985
    35
			"SwitchTeam"
skamonkey@2985
    36
			{
skamonkey@2985
    37
				"library"	"server"
skamonkey@3119
    38
				"windows"	"\x55\x8B\xEC\x83\xEC\x2A\x89\x4D\x2A\x8B\x45\x2A\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\x85\xC0\x74"
skamonkey@2985
    39
				"linux"		"@_ZN9CCSPlayer10SwitchTeamEi"
ds@3030
    40
				"mac"		"@_ZN9CCSPlayer10SwitchTeamEi"
skamonkey@2985
    41
			}
rgr_02@3313
    42
			"HandleCommand_Buy_Internal"
rgr_02@3313
    43
			{
rgr_02@3313
    44
				"library"		"server"
rgr_02@3313
    45
				"windows"		"\x55\x8B\xEC\x81\xEC\x2A\x01\x00\x00\x89\x8D\x58"
rgr_02@3313
    46
				"linux"			"@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKc"
rgr_02@3313
    47
				"mac"			"@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKc"
rgr_02@3313
    48
			}
rgr_02@3313
    49
			"GetWeaponPrice"
rgr_02@3313
    50
			{
rgr_02@3313
    51
				"library"		"server"
rgr_02@3313
    52
				"windows"		"\x8B\x81\xB0\x08\x00\x00\xC3"
rgr_02@3313
    53
				"linux"			"@_ZNK13CCSWeaponInfo14GetWeaponPriceEv"
rgr_02@3313
    54
				"mac"			"@_ZNK13CCSWeaponInfo14GetWeaponPriceEv"
rgr_02@3313
    55
			}
rgr_02@3313
    56
			"CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM
rgr_02@3313
    57
			{
rgr_02@3313
    58
				"library"		"server"
rgr_02@3313
    59
				"windows"		"\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x89\x8D\x5C\x2A\x2A\x2A\xC6\x45\x2A\x2A\x8B\x8D\x5C\x2A\x2A\x2A\xE8"
rgr_02@3313
    60
				"linux"			"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
rgr_02@3313
    61
				"mac"			"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
rgr_02@3313
    62
			}
rgr_02@3313
    63
			"TerminateRound"
rgr_02@3313
    64
			{
rgr_02@3313
    65
				"library"		"server"
rgr_02@3313
    66
				"windows"		"\x83\xEC\x2A\x53\x8B\x5C\x2A\x2A\x55\x56\x57\x33\xF6\x8B\xE9\x33"
rgr_02@3313
    67
				"linux"			"@_ZN12CCSGameRules14TerminateRoundEfi"
rgr_02@3313
    68
				"mac"			"@_ZN12CCSGameRules14TerminateRoundEfi"
rgr_02@3313
    69
			}
rgr_02@3313
    70
			"GetTranslatedWeaponAlias"
rgr_02@3313
    71
			{
rgr_02@3313
    72
				"library"		"server"
rgr_02@3313
    73
				"windows"		"\xA1\x2A\x2A\x2A\x2A\x80\x2A\x00\x53"
rgr_02@3313
    74
				"linux"			"@_Z24GetTranslatedWeaponAliasPKc"
rgr_02@3313
    75
				"mac"			"@_Z24GetTranslatedWeaponAliasPKc"
rgr_02@3313
    76
			}
skamonkey@2985
    77
		}
skamonkey@2985
    78
	}
ds@3030
    79
}