20 #ifndef ANTKEEPER_NUPTIAL_FLIGHT_STATE_HPP
21 #define ANTKEEPER_NUPTIAL_FLIGHT_STATE_HPP
38 void create_camera_rig();
39 void destroy_camera_rig();
41 void set_camera_rig_zoom(
float zoom);
42 void satisfy_camera_rig_constraints();
44 void setup_controls();
45 void enable_controls();
46 void disable_controls();
49 void select_nearest_entity(
const math::fvec3& direction);
59 float camera_rig_near_distance;
60 float camera_rig_far_distance;
61 float camera_rig_near_fov;
62 float camera_rig_far_fov;
63 float camera_rig_zoom_speed;
64 float camera_rig_zoom;
66 float camera_rig_translation_spring_angular_frequency;
67 float camera_rig_rotation_spring_angular_frequency;
68 float camera_rig_fov_spring_angular_frequency;
69 float camera_rig_focus_ease_to_duration;
75 std::shared_ptr<text_file> name_pool;
78 std::uint32_t selected_picking_flag;
85 bool mouse_look{
false};
86 std::vector<std::shared_ptr<::event::subscription>> action_subscriptions;
87 std::shared_ptr<::event::subscription> mouse_motion_subscription;
Abstract base class for game states.
nuptial_flight_state(::game &ctx)
virtual ~nuptial_flight_state()
entt::entity id
Entity ID type.