/**
 * Do not edit this file.  Any changes will be overwritten by the gamedata
 * updater or by upgrading your SourceMod install.
 *
 * To override data in this file, create a subdirectory named "custom" and
 * place your own gamedata file(s) inside of it.  Such files will be parsed
 * after SM's own.
 *
 * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod)
 */

"Games"
{
	"#default"
	{
		"Offsets"
		{
			"m_lifeState"
			{
				"class"			"CBasePlayer"
				"prop"			"m_lifeState"
			}
		}
	}
	
	/* Send properties and datamaps used by stocks in entity_prop_stocks.inc */
	"#default"
	{
		"Keys"
		{
			"m_fFlags"			"m_fFlags"
			"m_MoveType"		"m_MoveType"
			"m_nRenderMode"		"m_nRenderMode"
			"m_nRenderFX"		"m_nRenderFX"
			"m_clrRender"		"m_clrRender"
			"m_flGravity"		"m_flGravity"
			"m_iHealth"			"m_iHealth"
			"m_nButtons"		"m_nButtons"
		}
	}
	
	/* Original engine specifics */
	"#default"
	{
		"#supported"
		{
			"engine"			"original"
		}
		
		"Offsets"
		{
			"GetDataDescMap"
			{
				"windows"		"13"
				"linux"			"14"
			}
		}
	}
	
	/* Dark Messiah engine specifics */
	"#default"
	{
		"#supported"
		{
			"engine"			"darkmessiah"
		}
		
		"Keys"
		{
			"m_iHealth"			"m_fHealth"
			"HintTextPreByte"	"yes"
			"ChatSayText"		"yes"
		}
		
		"Offsets"
		{
			"GetDataDescMap"
			{
				"windows"		"12"
			}
		}
	}
	
	/* OB/L4D engine specifics */
	"#default"
	{
		"#supported"
		{
			"engine"			"orangebox"
			"engine"			"bloodygoodtime"
			"engine"			"orangebox_valve"
			"engine"			"left4dead"
			"engine"			"left4dead2"
			"engine"			"alienswarm"
		}
		
		"Offsets"
		{
			"GetDataDescMap"
			{
				"windows"		"11"
				"linux"			"12"
				"mac"			"12"
			}
		}
	}
	
	/* The Ship is completely different */
	"ship"
	{
		"Offsets"
		{
			"GetDataDescMap"
			{
				"windows"		"18"
				"linux"			"19"
			}
		}
	}

	/* Which games support ShowMenu? */
	"#default"
	{
		"#supported"
		{
			"game"					"cstrike"
			"game"					"dod"
			"game"					"sourceforts"
			"game"					"insurgency"
			"game"					"tf"
			"game"					"pvkii"
			"game"					"diprip"
			"game"					"synergy"
			"game"					"left4dead"
			"game"					"left4dead2"
			"game"					"obsidian"
			"game"					"empires"
			"game"					"gesource"
			"game"					"NeotokyoSource"
			"game"					"bg2"
			"game"					"cspromod"
			"game"					"FortressForever"
			"game"					"zps"
			"game"					"gesource"
			"game"					"RnLBeta"
			"game"					"fas"
			"game"					"fistful_of_frags"
		}

		"Keys"
		{
			"HudRadioMenuMsg"		"ShowMenu"
		}
	}
	
	/* Which games need a radio menu timeout? */
	"#default"
	{
		"#supported"
		{
			"game"					"tf"
			"game"					"synergy"
			"game"					"dod"
			"game"					"empires"
			"game"					"NeotokyoSource"
			"game"					"bg2"
			"game"					"cspromod"
			"game"					"pvkii"
			"game"					"FortressForever"
			"game"					"zps"
			"game"					"gesource"
			"game"					"obsidian"
			"game"					"cstrike"
			"game"					"RnLBeta"
			"game"					"fistful_of_frags"
		}
		
		"Keys"
		{
			"RadioMenuTimeout"		"4"
		}
	}
	
	/**
	 * Which games support HudMsg?
	 */
	"#default"
	{
		"#supported"
		{
			"game"					"hl2mp"
			"game"					"sourceforts"
			"game"					"tf"
			"game"					"ageofchivalry"
			"game"					"obsidian"
			"game"					"zombie_master"
			"game"					"bg2"
 			"game"					"insurgency"
			"game"					"cspromod"
			"game"					"pvkii"
			"game"					"zps"
			"game"					"gesource"
			"game"					"RnLBeta"
			"game"					"fas"
			"game"					"fistful_of_frags"
			"game"					"swarm"
		}
		
		"Keys"
		{
			"HudTextMsg"			"HudMsg"
		}
	}

	"#default"
	{
		"#supported"
		{
			"game"		"cstrike"
		}
		
		"Keys"
		{
			"GameExtension"		"game.cstrike"
		}
	}

	"tf"
	{
		"Keys"
		{
			"GameExtension"			"game.tf2"
		}
	}
	"insurgency"
	{
		"Keys"
		{
			"ChatSayText"			"yes"
		}
	}
}
