@@ -46,6 +46,9 @@ ConfigWidget::ConfigWidget() {
46
46
ADD_TO_ENUM (Division, " Division B" );
47
47
END_ENUM (game_vars, Division);
48
48
ADD_VALUE (game_vars,Int, Robots_Count, 11 , " Robots Count" )
49
+ ADD_VALUE (game_vars, String, ColorRobotBlue, " #0000ff" , " Color Robot Blue" )
50
+ ADD_VALUE (game_vars, String, ColorRobotYellow, " #ffff00" , " Color Robot Yellow" )
51
+
49
52
VarListPtr fields_vars (new VarList (" Field" ));
50
53
VarListPtr div_a_vars (new VarList (" Division A" ));
51
54
VarListPtr div_b_vars (new VarList (" Division B" ));
@@ -150,15 +153,13 @@ ConfigWidget::ConfigWidget() {
150
153
ADD_VALUE (vanishing_vars,Double,blue_team_vanishing,0 ," Blue team" )
151
154
ADD_VALUE (vanishing_vars,Double,yellow_team_vanishing,0 ," Yellow team" )
152
155
ADD_VALUE (vanishing_vars,Double,ball_vanishing,0 ," Ball" )
156
+
153
157
world=VarXML::read (world,(QDir::homePath () + QString (" /.grsim.xml" )).toStdString ());
154
158
155
159
156
160
std::string blueteam = v_BlueTeam->getString ();
157
161
geo_vars->removeChild (v_BlueTeam);
158
162
159
- ADD_VALUE (comm_vars, String, ColorRobotBlue, " #0000ff" , " Color Robot Blue " )
160
- ADD_VALUE (comm_vars, String, ColorRobotYellow, " #ffff00" , " Color Robot Yellow" )
161
-
162
163
std::string yellowteam = v_YellowTeam->getString ();
163
164
geo_vars->removeChild (v_YellowTeam);
164
165
0 commit comments