// 3D world. While the .po reader is still missing this is a // hardcoded list of coloured line segments laid out around the // runway. Eventually the scenery VM will own this. #ifndef WORLD_H #define WORLD_H #include "camera.h" #include "palette.h" #include "renderer.h" typedef struct WorldLineT { int16_t x1; int16_t y1; int16_t z1; int16_t x2; int16_t y2; int16_t z2; ColorE color; } WorldLineT; void worldRender(const CameraT *cam, RenderStateT *renderer); // Top-down orthographic render (FS2 RadarView). The camera supplies // the world position and yaw; pitch and bank are ignored. // `metresPerPixel_q88` is Q8.8 metres / pixel (default 4*256 = 1024). void worldRenderRadar(const CameraT *cam, RenderStateT *renderer, int16_t metresPerPixel_q88); #endif