X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gen.h;h=a9cd91fd68726281bffb70a02cf123f442d5001e;hb=872ad3e040f22df357929d3778a955ae8c4ac52b;hp=3e7cdb90addbca4605f31b993f8aabfcf674002d;hpb=b4a83d4fcab39bee5a8cd6e8e6eec06314864e5b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gen.h b/world_gen.h index 3e7cdb9..a9cd91f 100644 --- a/world_gen.h +++ b/world_gen.h @@ -548,10 +548,7 @@ VG_STATIC int reset_player( int argc, char const *argv[] ); VG_STATIC void world_post_process( world_instance *world ) { world_compute_light_indices( world ); - - vg_async_item *call = vg_async_alloc(0); - call->payload = world; - vg_async_dispatch( call, async_world_postprocess_render ); + vg_async_call( async_world_postprocess_render, world, 0 ); } VG_STATIC void world_process_resources( world_instance *world ) @@ -834,6 +831,8 @@ VG_STATIC void world_load( u32 index, const char *path ) mdl_load_array( meta, &world->ent_audio, "ent_audio", heap ); mdl_load_array( meta, &world->ent_volume, "ent_volume", heap ); mdl_load_array( meta, &world->ent_traffic, "ent_traffic", heap ); + mdl_load_array( meta, &world->ent_marker, "ent_marker", heap ); + mdl_load_array( meta, &world->ent_skateshop, "ent_skateshop", heap ); /* process resources from pack */ world_process_resources( world );