X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world.h;h=d35f0646b6ec1e8ed76b4d789e2f57bac4a74793;hb=df9f72d2912a5424d37dfdb02f76aba8f1ed4df1;hp=d3bc38863c7a1a33d1f49caaaa7697a8750c504b;hpb=14b3d5c13faab36bd37ae27aa8c1501ba7146f89;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world.h b/world.h index d3bc388..d35f064 100644 --- a/world.h +++ b/world.h @@ -165,8 +165,8 @@ struct world_instance { ent_camera, ent_swspreview, ent_ccmd, + ent_objective, ent_challenge, - ent_unlock, ent_relay, ent_cubemap; @@ -191,11 +191,9 @@ struct world_instance { glmesh mesh_geo, mesh_no_collide, mesh_water; + u32 cubemap_cooldown, cubemap_side; rb_object rb_geo; - - ent_challenge *challenge_target; - f32 challenge_timer; }; struct world_static { @@ -213,6 +211,13 @@ struct world_static { world_instance instances[4]; i32 active_instance; + u32 focused_entity; /* like skateshop, challenge.. */ + f32 focus_strength; + camera focus_cam; + + /* challenges */ + ent_objective *challenge_target; + f32 challenge_timer; addon_reg *addon_hub, *addon_client; @@ -228,5 +233,6 @@ static world_static; static void world_init(void); static world_instance *world_current_instance(void); +static void world_set_active_instance( u32 index ); #endif /* WORLD_H */