int main(int argc, char** argv)
{
- room_positions = (Vector3*)malloc(sizeof(Vector3)*(room_count + 1));
-
/* TODO: Clean this up and integrate into platform system. */
#ifdef ENABLE_BARROWGEN
barrow.max_iterations *= 1;
start_render_loop();
#endif /* ENABLE_BARROWGEN */
- free(room_positions);
-
return 0;
}
int resource_state = 0;
const int room_count = 4;
-Vector3* room_positions = NULL;
+Vector3 room_positions[16];
extern int resource_state;
extern const int room_count;
-extern Vector3* room_positions;
+extern Vector3 room_positions[16];
//int generate_rd(int worker_count, RD_Opts active_opt, FVec2 **grid_buffer, IVec2 pgrid_size);
void* generate_rd(void* args);