|
@@ -7,8 +7,10 @@ std::map<int, int> memory_generateConstPlayfield( |
|
|
std::map<int, int> idGroups; |
|
|
std::map<int, int> idGroups; |
|
|
int id = 0; |
|
|
int id = 0; |
|
|
for (int gid = 0; gid < n; ++gid) { |
|
|
for (int gid = 0; gid < n; ++gid) { |
|
|
idGroups[id++] = gid; |
|
|
|
|
|
idGroups[id++] = gid; |
|
|
|
|
|
|
|
|
idGroups[id] = gid; |
|
|
|
|
|
id += 1; |
|
|
|
|
|
idGroups[id] = gid; |
|
|
|
|
|
id += 1; |
|
|
} |
|
|
} |
|
|
return idGroups; |
|
|
return idGroups; |
|
|
} |
|
|
} |