|
|
|
@ -103,7 +103,7 @@ VkResult main_thread(ClientContext* context) {
|
|
|
|
|
for(int32_t y = -2; y < 2; y++) {
|
|
|
|
|
for(int32_t q = -5; q < 5; q++) {
|
|
|
|
|
for(int32_t r = -5; r < 5; r++) {
|
|
|
|
|
VK_RESULT(set_hex_region(q, r, y, 0x01, ®ions[region], context->hex, context->render));
|
|
|
|
|
VK_RESULT(set_hex_region(q, r, y, 0x00, ®ions[region], context->hex, context->render));
|
|
|
|
|
for(uint32_t i = 0; i < REGION_HEX_COUNT; i++) {
|
|
|
|
|
for(uint32_t h = 0; h < 6; h++) {
|
|
|
|
|
regions[region]->data.hexes[i].color[h] = colors[(q+r+50) % (sizeof(colors)/sizeof(uint32_t))];
|
|
|
|
|