Skip to content

Commit

Permalink
Fix some gamedata issues.
Browse files Browse the repository at this point in the history
"engine" and "game" were in the same #supported key in places, where
we wanted either to match, rather than both match.
  • Loading branch information
psychonic committed Dec 26, 2016
1 parent 0b7d99f commit 0aa1137
Showing 1 changed file with 35 additions and 12 deletions.
47 changes: 35 additions & 12 deletions gamedata/core.games/common.games.txt
Expand Up @@ -100,8 +100,6 @@
"engine" "sdk2013" "engine" "sdk2013"
"engine" "contagion" "engine" "contagion"
"engine" "bms" "engine" "bms"
// DOI doesn't have it's own SDK yet, but may in future
"game" "doi"
} }


"Offsets" "Offsets"
Expand Down Expand Up @@ -133,7 +131,6 @@
{ {
"#supported" "#supported"
{ {
"engine" "csgo"
"game" "cstrike" "game" "cstrike"
"game" "dod" "game" "dod"
"game" "sourceforts" "game" "sourceforts"
Expand Down Expand Up @@ -173,12 +170,24 @@
} }
} }


"#default"
{
"#supported"
{
"engine" "csgo"
}

"Keys"
{
"HudRadioMenuMsg" "ShowMenu"
}
}

/* Which games need a radio menu timeout? */ /* Which games need a radio menu timeout? */
"#default" "#default"
{ {
"#supported" "#supported"
{ {
"engine" "csgo"
"game" "tf" "game" "tf"
"game" "synergy" "game" "synergy"
"game" "dod" "game" "dod"
Expand Down Expand Up @@ -210,6 +219,19 @@
} }
} }


"#default"
{
"#supported"
{
"engine" "csgo"
}

"Keys"
{
"RadioMenuTimeout" "4"
}
}

/** /**
* Which games support HudMsg? * Which games support HudMsg?
*/ */
Expand Down Expand Up @@ -254,12 +276,19 @@
} }
} }


"cstrike"
{
"Keys"
{
"GameExtension" "game.cstrike"
}
}

"#default" "#default"
{ {
"#supported" "#supported"
{ {
"engine" "csgo" "engine" "csgo"
"game" "cstrike"
} }


"Keys" "Keys"
Expand Down Expand Up @@ -291,7 +320,6 @@
"engine" "csgo" "engine" "csgo"
"engine" "blade" "engine" "blade"
"engine" "insurgency" "engine" "insurgency"
"game" "doi"
} }


"Keys" "Keys"
Expand All @@ -300,13 +328,8 @@
} }
} }


"#default" "bms"
{ {
"#supported"
{
"game" "bms"
}

"Keys" "Keys"
{ {
"RadioMenuMaxPageItems" "6" "RadioMenuMaxPageItems" "6"
Expand Down

0 comments on commit 0aa1137

Please sign in to comment.