Files
Cesarus85--ringfall-mjolnir-vr/source/effects/material_effect_definitions.h
T
Berthalamew 369b71e72e breakable surface work (#35)
- work on breakable surface functions
- fix `magnitude3d`
2026-07-02 00:31:52 +01:00

61 lines
1.2 KiB
C

/*
MATERIAL_EFFECT_DEFINITIONS.H
header included in hcex build.
*/
#ifndef __MATERIAL_EFFECT_DEFINITIONS_H
#define __MATERIAL_EFFECT_DEFINITIONS_H
#pragma once
/* ---------- headers */
#include "real_math.h"
#include "tag_groups.h"
/* ---------- constants */
/* ---------- macros */
/* ---------- structures */
struct breakable_surface
{
real maximum_vitality;
long unused1[2];
unsigned long flags;
struct tag_reference effect;
struct tag_reference sound;
long unused2[6];
struct tag_block particle_effects;
};
struct material_definition
{
unsigned long flags;
long modifiers_unused[24];
unsigned long biped_flags;
real biped_maximum_acceleration;
real biped_slip_angle;
real biped_slow_angle;
long biped_unused[8];
real physics_ground_friction_scale;
real physics_ground_friction_normal_k1_scale;
real physics_ground_friction_normal_k0_scale;
real physics_ground_depth_scale;
real physics_ground_damp_fraction_scale;
real physics_unused[19];
long unused[120];
struct breakable_surface breakable_surface;
long unused2[15];
struct tag_reference melee_hit_sound;
};
/* ---------- prototypes/EXAMPLE.C */
/* ---------- globals */
/* ---------- public code */
#endif // __MATERIAL_EFFECT_DEFINITIONS_H