mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-18 13:00:25 +02:00
49 lines
855 B
C
49 lines
855 B
C
/*
|
|
PARTICLES.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __PARTICLES_H
|
|
#define __PARTICLES_H
|
|
#pragma once
|
|
|
|
#include "real_math.h"
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct new_particle_data
|
|
{
|
|
long definition_index;
|
|
long object_index;
|
|
short node_index;
|
|
short local_player_index;
|
|
boolean attached_to_local_player;
|
|
boolean dont_draw_first_person;
|
|
boolean dont_draw_third_person;
|
|
real_point3d position;
|
|
real_vector3d direction;
|
|
real_vector3d velocity;
|
|
real_vector3d initial_impulse;
|
|
real rotation;
|
|
real angular_velocity;
|
|
real radius;
|
|
real_argb_color color;
|
|
};
|
|
|
|
/* ---------- prototypes/PARTICLES.C */
|
|
|
|
void particles_disconnect_from_structure_bsp(
|
|
void);
|
|
void particle_new(struct new_particle_data const *data);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __PARTICLES_H
|