Files
Cesarus85--ringfall-mjolnir-vr/source/objects/damage_resistances.h
T
Berthalamewandpunpckhdq eb93ce635e wip objects.c work (#12)
* wip objects.c work

* objects_disconnect_from_structure_bsp

* match more functions

* more objects work

* objects_update work

- 93.42% matching

* match matrix4x3_transform_point

* more objects work

- fix duplicate symbol name at 1870800

* match object_choose_random_change_colors

* match object_update

* objects_garbage_collection work

* match object_set_position

* more object work

* match objects_update

* more object work

* match object_select_random_region_permutations_by_variant

* objects_in_sphere work

99.90% match

* object name list calls

* match objects_in_sphere

* misc matches

* match structure_bsp_definitions object

* match objects_in_clusters_by_indices

* more object work

* match `edit_text_handle_key`

* mark edit_text as matching

* misc changes

- match get_next_character
- match data section in objects.c

* object_export_function_values work

* match object_compute_function_values

* match object_get_orientation

* added functions and adjust formatting

* fix profile macros

* formatting changes

* more formatting

* more formatting

---------

Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
2026-02-15 01:05:45 +00:00

74 lines
1.7 KiB
C

/*
DAMAGE_RESISTANCES.H
header included in hcex build.
*/
#ifndef __DAMAGE_RESISTANCES_H
#define __DAMAGE_RESISTANCES_H
#pragma once
/* ---------- headers */
#include "tag_files/tag_groups.h"
/* ---------- constants */
/* ---------- macros */
/* ---------- structures */
struct damage_resistance
{
unsigned long flags;
short indirect_damage_material_index;
word pad2;
real maximum_body_vitality;
real body_system_shock;
long body_vitality_unused[6];
real body_stun_unused[7];
real friendly_damage_resistance;
long friendly_damage_unused[2];
long body_unused[8];
struct tag_reference localized_damage_effect;
real area_damage_effect_threshold;
struct tag_reference area_damage_effect;
real body_damaged_effect_threshold;
struct tag_reference body_damaged_effect;
struct tag_reference body_depleted_effect;
real body_destroyed_threshold;
struct tag_reference body_destroyed_effect;
real maximum_shield_vitality;
word pad0;
short shield_material_type;
long shield_vitality_unused[6];
short shield_failure_function;
word pad1;
real shield_failure_threshold;
real maximum_shield_failure;
long shield_failure_unused[4];
real minimum_shield_stun_damage;
real shield_stun_time;
real shield_recharge_time;
real shield_recharge_unused[4];
long shield_unused[24];
real shield_damaged_effect_threshold;
struct tag_reference shield_damaged_effect;
struct tag_reference shield_depleted_effect;
struct tag_reference shield_recharging_effect;
unsigned long unused2[2];
real runtime_shield_recharge_velocity;
unsigned long unused[28];
struct tag_block materials;
struct tag_block regions;
struct tag_block modifiers;
};
/* ---------- prototypes/EXAMPLE.C */
/* ---------- globals */
/* ---------- public code */
#endif // __DAMAGE_RESISTANCES_H