/* * BSD 2-Clause “Simplified” License * Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com * All rights reserved. */ #ifndef INCLUDE_SCENERY #define INCLUDE_SCENERY #define BOAT_ROUTE_MAX_POINTS 300 typedef struct t_boat_route_point { float x; float y; } boat_route_point; typedef struct t_boat_route { boat_route_point points[BOAT_ROUTE_MAX_POINTS]; u8 count; u8 current_point; float current_point_duration; bool reversed; } boat_route; void update_render_scenery(world* world); #endif