mdl_load_animation_block( meta, world->heap );
mdl_load_mesh_block( meta, world->heap );
+ vg_info( "%u\n", sizeof(ent_cubemap) );
+
MDL_LOAD_ARRAY( meta, &world->ent_gate, ent_gate, heap );
MDL_LOAD_ARRAY( meta, &world->ent_camera, ent_camera, heap );
MDL_LOAD_ARRAY( meta, &world->ent_spawn, ent_spawn, heap );
MDL_LOAD_ARRAY( meta, &world->ent_cubemap, ent_cubemap, heap );
MDL_LOAD_ARRAY( meta, &world->ent_miniworld, ent_miniworld, heap );
MDL_LOAD_ARRAY( meta, &world->ent_prop, ent_prop, heap );
+ MDL_LOAD_ARRAY( meta, &world->ent_region, ent_region, heap );
mdl_array_ptr infos;
MDL_LOAD_ARRAY( meta, &infos, ent_worldinfo, vg_mem.scratch );
world->info.pstr_desc = 0;
world->info.pstr_name = 0;
world->info.timezone = 0.0f;
+ world->info.flags = 0;
}
time_t seconds = time(NULL) % ((u32)vg_maxf(1.0f,k_day_length)*60);
board->data_len = 0;
}
+ world->routes_ui = vg_linear_alloc( heap,
+ sizeof(struct route_ui)*mdl_arrcount(&world->ent_route) );
+
vg_async_call( async_world_postprocess, world, 0 );
vg_async_stall();
}