mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-23 18:00:31 +02:00
56 lines
961 B
C
56 lines
961 B
C
/*
|
|
EDITOR_FLYING_CAMERA.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __EDITOR_FLYING_CAMERA_H
|
|
#define __EDITOR_FLYING_CAMERA_H
|
|
#pragma once
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "cseries/cseries.h"
|
|
#include "math/real_math.h"
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct flying_camera;
|
|
struct flying_camera_action;
|
|
struct camera_command;
|
|
|
|
/* ---------- prototypes/EDITOR_FLYING_CAMERA.C */
|
|
|
|
void editor_camera_new(
|
|
struct flying_camera *camera,
|
|
short local_player_index);
|
|
void editor_camera_update(
|
|
struct flying_camera *camera,
|
|
struct flying_camera_action const *controls,
|
|
struct camera_command *result);
|
|
|
|
long editor_camera_get_speed(
|
|
void);
|
|
|
|
long editor_camera_get_unit_focus(
|
|
void);
|
|
|
|
short editor_camera_get_mode(
|
|
void);
|
|
|
|
boolean editor_camera_get_scripted(
|
|
void);
|
|
|
|
real editor_camera_get_field_of_view(
|
|
void);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __EDITOR_FLYING_CAMERA_H
|