Skip to content

Commit

Permalink
Add maps from qualifying tournaments
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mao committed Jan 26, 2022
1 parent aecd247 commit 1b7b022
Show file tree
Hide file tree
Showing 26 changed files with 31 additions and 4 deletions.
32 changes: 29 additions & 3 deletions client/visualizer/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ export enum MapType {
DEFAULT,
SPRINT_1,
SPRINT_2,
QUALIFYING,
INTL_QUALIFYING,
US_QUALIFYING,
HS_NEWBIE,
FINAL,
CUSTOM
Expand All @@ -129,7 +130,8 @@ export enum MapType {
export const mapTypes: MapType[] = [MapType.DEFAULT,
MapType.SPRINT_1,
MapType.SPRINT_2,
MapType.QUALIFYING,
MapType.INTL_QUALIFYING,
MapType.US_QUALIFYING,
MapType.HS_NEWBIE,
MapType.FINAL,
MapType.CUSTOM]
Expand Down Expand Up @@ -160,7 +162,31 @@ export const SERVER_MAPS: Map<string, MapType> = new Map<string, MapType>([
["snowflake", MapType.SPRINT_2],
["spine", MapType.SPRINT_2],
["stronghold", MapType.SPRINT_2],
["tower", MapType.SPRINT_2]
["tower", MapType.SPRINT_2],
["charge", MapType.INTL_QUALIFYING],
["definitely_not_league", MapType.INTL_QUALIFYING],
["fire", MapType.INTL_QUALIFYING],
["highway_redux", MapType.INTL_QUALIFYING],
["lotus", MapType.INTL_QUALIFYING],
["maze", MapType.INTL_QUALIFYING],
["olympics", MapType.INTL_QUALIFYING],
["one_river", MapType.INTL_QUALIFYING],
["planets", MapType.INTL_QUALIFYING],
["snowflake_redux", MapType.INTL_QUALIFYING],
["treasure", MapType.INTL_QUALIFYING],
["walls", MapType.INTL_QUALIFYING],
["chalice", MapType.US_QUALIFYING],
["cobra", MapType.US_QUALIFYING],
["deer", MapType.US_QUALIFYING],
["desert", MapType.US_QUALIFYING],
["despair", MapType.US_QUALIFYING],
["flowers", MapType.US_QUALIFYING],
["island_hopping", MapType.US_QUALIFYING],
["octopus_game", MapType.US_QUALIFYING],
["rugged", MapType.US_QUALIFYING],
["snowman", MapType.US_QUALIFYING],
["tunnels", MapType.US_QUALIFYING],
["vault", MapType.US_QUALIFYING]
])

export function bodyTypeToString(bodyType: schema.BodyType) {
Expand Down
3 changes: 2 additions & 1 deletion client/visualizer/src/sidebar/mapfilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ export default class MapFilter {
case MapType.DEFAULT: return "Default";
case MapType.SPRINT_1: return "Sprint 1";
case MapType.SPRINT_2: return "Sprint 2";
case MapType.QUALIFYING: return "Quals";
case MapType.INTL_QUALIFYING: return "Intl Quals";
case MapType.US_QUALIFYING: return "US Quals";
case MapType.HS_NEWBIE: return "HS and Newbie";
case MapType.FINAL: return "Final";
default: return "Custom";
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 1b7b022

Please sign in to comment.