#include "tracker_config.h"
#include <yaml-cpp/yaml.h>
#include <fstream>
#include "global.h"
void TrackerConfig::Load() {
try {
YAML::Node file = YAML::LoadFile(filename_);
connection_details.ap_server = file["ap_server"].as<std::string>();
connection_details.ap_player = file["ap_player"].as<std::string>();
connection_details.ap_password = file["ap_password"].as<std::string>();
asked_to_check_for_updates = file["asked_to_check_for_updates"].aspre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */---
Starting Room:
map: [1589, 1192]
Hidden Room:
map: [1725, 1236]
The Seeker:
map: [1686, 1361]
Second Room:
map: [1589, 1029]
Hub Room:
map: [1589, 924]
Dead End Area:
map: [1785, 1125]
Pilgrim Room:
map: [1493, 1564]
Pilgrim Antechamber:
fold_into: Pilgrim Room
Crossroads:
map: [1294, 720]
Lost Area:
fold_into: Crossroads
Amen Name Area:
fold_into: Crossroads
Suits Area:
map: [1566, 322]
The Tenacious:
map: [1589, 780]
Symmetry Room:
map: [1763, 871]
Near Far Area:
fold_into: Symmetry Room
Warts Straw Area:
fold_into: Symmetry Room
Leaf Feel Area:
fold_into: Symmetry Room
Outside The Agreeable:
map: [1766, 700]
Compass Room:
fold_into: Outside The Agreeable
Hallway Room:
map: [573, 1631]
Hallway Room (1):
fold_into: Hallway Room
Hallway Room (2):
fold_into: Hallway Room
Hallway Room (3):
fold_into: Hallway Room
Hallway Room (4):
fold_into: Hallway Room
Dread Hallway:
fold_into: Outside The Agreeable
The Agreeable:
map: [1909, 699]
Hedge Maze:
map: [2102, 600]
The Perceptive:
map: [2251, 600]
The Fearless:
map: [1790, 2220]
The Fearless (First Floor):
fold_into: The Fearless
The Fearless (Second Floor):
fold_into: The Fearless
The Observant:
map: [2252, 193]
The Incomparable:
map: [2642, 872]
Eight Room:
fold_into: The Incomparable
Eight Alcove:
fold_into: The Incomparable
Orange Tower First Floor:
map: [1285, 928]
Color Hunt:
map: [1790, 2079]
Color Barriers:
fold_into: Color Hunt
Orange Tower Third Floor:
map: [1935, 1575]
Orange Tower Fourth Floor:
map: [1365, 394]
Hot Crusts Area:
fold_into: Orange Tower Fourth Floor
Orange Tower Fifth Floor:
map: [1252, 1259]
Orange Tower Seventh Floor:
map: [1587, 1900]
Orange Tower Sixth Floor:
map: [1587, 2000]
Orange Tower Basement:
map: [1587, 2100]
Courtyard:
map: [863, 387]
First Second Third Fourth:
fold_into: Courtyard
Yellow Backside Area:
fold_into: Courtyard
The Colorful:
map: [863, 200]
The Colorful (Black):
fold_into: The Colorful
The Colorful (Blue):
fold_into: The Colorful
The Colorful (Brown):
fold_into: The Colorful
The Colorful (Gray):
fold_into: The Colorful
The Colorful (Green):
fold_into: The Colorful
The Colorful (Orange):
fold_into: The Colorful
The Colorful (Purple):
fold_into: The Colorful
The Colorful (Red):
fold_into: The Colorful
The Colorful (White):
fold_into: The Colorful
The Colorful (Yellow):
fold_into: The Colorful
Welcome Back Area:
map: [1472, 1233]
Owl Hallway:
map: [2080, 886]
Outside The Initiated:
map: [2282, 1483]
The Initiated:
map: [2294, 1174]
The Traveled:
map: [1964, 994]
Outside The Bold:
map: [2325, 1927]
The Bold:
map: [2274, 2053]
The Red:
map: [2374, 2053]
Outside The Undeterred:
map: [657, 1315]
The Undeterred:
map: [618, 1456]
Number Hunt:
map: [1108, 1315]
Directional Gallery:
map: [943, 1169]
Champion's Rest:
map: [1845, 1883]
The Bearer:
map: [2155, 1764]
Bearer Side Area:
fold_into: The Bearer
The Bearer (East):
fold_into: The Bearer
The Bearer (North):
fold_into: The Bearer
The Bearer (South):
fold_into: The Bearer
The Bearer (West):
fold_into: The Bearer
Cross Tower (East):
fold_into: The Bearer
Cross Tower (North):
fold_into: The Bearer
Cross Tower (South):
fold_into: The Bearer
Cross Tower (West):
fold_into: The Bearer
The Steady:
map: [2121, 2182]
The Steady (Amber):
fold_into: The Steady
The Steady (Amethyst):
fold_into: The Steady
The Steady (Blueberry):
fold_into: The Steady
The Steady (Carnation):
fold_into: The Steady
The Steady (Cherry):
fold_into: The Steady
The Steady (Emerald):
fold_into: The Steady
The Steady (Lemon):
fold_into: The Steady
The Steady (Lilac):
fold_into: The Steady
The Steady (Lime):
fold_into: The Steady
The Steady (Orange):
fold_into: The Steady
The Steady (Plum):
fold_into: The Steady
The Steady (Rose):
fold_into: The Steady
The Steady (Ruby):
fold_into: The Steady
The Steady (Sapphire):
fold_into: The Steady
The Steady (Sunflower):
fold_into: The Steady
The Steady (Topaz):
fold_into: The Steady
Knight Night Room:
map: [1990, 1322]
Knight Night (Final):
fold_into: Knight Night Room
Knight Night (Outer Ring):
fold_into: Knight Night Room
Knight Night (Right Lower Segment):
fold_into: Knight Night Room
Knight Night (Right Upper Segment):
fold_into: Knight Night Room
Knight Night Exit:
fold_into: Knight Night Room
The Artistic:
map: [1151, 1793]
The Artistic (Smiley):
fold_into: The Artistic
The Artistic (Apple):
fold_into: The Artistic
The Artistic (Hint Room):
fold_into: The Artistic
The Artistic (Lattice):
fold_into: The Artistic
The Artistic (Panda):
fold_into: The Artistic
The Discerning:
map: [1098, 807]
The Ecstatic:
map: [972, 805]
The Eyes They See:
map: [955, 933]
Far Window:
fold_into: The Eyes They See
Wondrous Lobby:
fold_into: The Eyes They See
Outside The Wondrous:
map: [691, 524]
The Wondrous:
map: [648, 338]
The Wondrous (Doorknob):
fold_into: The Wondrous
The Wondrous (Bookcase):
fold_into: The Wondrous
The Wondrous (Chandelier):
fold_into: The Wondrous
The Wondrous (Table):
fold_into: The Wondrous
The Wondrous (Window):
fold_into: The Wondrous
Arrow Garden:
map: [555, 155]
Elements Area:
map: [908, 1632]
The Wanderer:
map: [1587, 1765]
Outside The Wanderer:
fold_into: The Wanderer
Rhyme Room (Smiley):
fold_into: Rhyme Room
Rhyme Room (Cross):
fold_into: Rhyme Room
Rhyme Room:
map: [1587, 1492]
Rhyme Room (Target):
fold_into: Rhyme Room
Rhyme Room (Circle):
fold_into: Rhyme Room
Rhyme Room (Looped Square):
fold_into: Rhyme Room
Room Room:
map: [2553, 2153]
Cellar:
fold_into: Room Room
Outside The Wise:
map: [1087, 1986]
The Wise:
map: [759, 1986]
Outside The Scientific:
map: [510, 2271]
The Scientific:
map: [1368, 2103]
Art Gallery:
map: [2474, 1366]
Art Gallery (Second Floor):
fold_into: Art Gallery
Art Gallery (Third Floor):
fold_into: Art Gallery
Art Gallery (Fourth Floor):
fold_into: Art Gallery
Challenge Room:
map: [1486, 1357]
Horizon's Edge:
map: [779, 96]
Behind A Smile:
map: [1666, 1576]
Sixteen Colorful Squares:
map: [1913, 2182]
Beneath The Lookout:
map: [2544, 1702]
Rooftop Staircase:
map: [1815, 1517]
Among Treetops:
fold_into: Courtyard
The Optimistic:
map: [2420, 1000]