9 #define RBP_NUM_PLAYERS 2
22 #define RBP_CALL_CONSTRUCTOR(x) rbp_construct_robot(x)
28 #if 1 <= RBP_NUM_PLAYERS
32 #if 2 <= RBP_NUM_PLAYERS
36 #if 3 <= RBP_NUM_PLAYERS
37 case 3:
return new Player3();
40 #if 4 <= RBP_NUM_PLAYERS
41 case 4:
return new Player4();
44 #if 5 <= RBP_NUM_PLAYERS
45 case 5:
return new Player5();
48 #if 6 <= RBP_NUM_PLAYERS
49 case 6:
return new Player6();
52 #if 7 <= RBP_NUM_PLAYERS
53 case 7:
return new Player7();
56 #if 8 <= RBP_NUM_PLAYERS
57 case 8:
return new Player8();
60 #if 9 <= RBP_NUM_PLAYERS
61 case 9:
return new Player9();
64 #if 10 <= RBP_NUM_PLAYERS
65 case 10:
return new Player10();
68 #if 11 <= RBP_NUM_PLAYERS
69 case 11:
return new Player11();
72 #if 12 <= RBP_NUM_PLAYERS
73 case 12:
return new Player12();
76 #if 13 <= RBP_NUM_PLAYERS
77 case 13:
return new Player13();
80 #if 14 <= RBP_NUM_PLAYERS
81 case 14:
return new Player14();
84 #if 15 <= RBP_NUM_PLAYERS
85 case 15:
return new Player15();
88 #if 16 <= RBP_NUM_PLAYERS
89 case 16:
return new Player16();
92 #if 17 <= RBP_NUM_PLAYERS
93 case 17:
return new Player17();
96 #if 18 <= RBP_NUM_PLAYERS
97 case 18:
return new Player18();
100 #if 19 <= RBP_NUM_PLAYERS
101 case 19:
return new Player19();
104 #if 20 <= RBP_NUM_PLAYERS
105 case 20:
return new Player20();
108 default: std::cerr <<
"rbp_construct_robot was called with an invalid value.\n";
109 std::cerr <<
"This is a fatal condition.\n";
Robot * rbp_construct_robot(int x)