mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-18 19:00:26 +02:00
48 lines
937 B
C
48 lines
937 B
C
/*
|
|
CAMERA_SCRIPTING.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __CAMERA_SCRIPTING_H
|
|
#define __CAMERA_SCRIPTING_H
|
|
#pragma once
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "cseries/cseries.h"
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
/* ---------- prototypes/CAMERA_SCRIPTING.C */
|
|
|
|
struct camera_control;
|
|
struct dead_camera;
|
|
struct scripted_camera_command;
|
|
union real_point3d;
|
|
union real_vector3d;
|
|
|
|
void scripted_camera_enable(
|
|
boolean enabled);
|
|
void scripted_camera_set_camera_point_relative(
|
|
union real_point3d const *position,
|
|
union real_vector3d const *forward,
|
|
union real_vector3d const *up,
|
|
real field_of_view,
|
|
word transition_time,
|
|
long relative_object_index);
|
|
void scripted_camera_update(
|
|
struct dead_camera *camera,
|
|
struct camera_control const *controls,
|
|
struct scripted_camera_command *result);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __CAMERA_SCRIPTING_H
|