mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-26 17:01:08 +01:00
* misc changes and additions formatting changes and add structs/constants for terminal work * match write_to_error_file and add error_global_data * console work * requested changes * terminal work 100% match all terminal functions * Formatting --------- Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
62 lines
1.8 KiB
C
62 lines
1.8 KiB
C
/*
|
|
STRUCTURES.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __STRUCTURES_H
|
|
#define __STRUCTURES_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
enum
|
|
{
|
|
MAXIMUM_COLLISION_MATERIALS_PER_STRUCTURE= 512,
|
|
MAXIMUM_SURFACE_REFERENCES_PER_STRUCTURE= 0x40000,
|
|
MAXIMUM_LIGHTMAPS_PER_STRUCTURE= 128,
|
|
MAXIMUM_MATERIALS_PER_STRUCTURE_LIGHTMAP= 2048,
|
|
MAXIMUM_SURFACES_PER_STRUCTURE_MATERIAL= 20000,
|
|
MAXIMUM_VERTICES_PER_STRUCTURE_MATERIAL= 64000,
|
|
MAXIMUM_CLUSTER_PORTALS_PER_CLUSTER= 128,
|
|
MAXIMUM_MIRRORS_PER_CLUSTER= 16,
|
|
MAXIMUM_SUBCLUSTERS_PER_CLUSTER= 4096,
|
|
MAXIMUM_SURFACES_PER_SUBCLUSTER= 128,
|
|
MAXIMUM_SURFACES_PER_CLUSTER= SHORT_MAX+1,
|
|
MAXIMUM_VERTICES_PER_MIRROR= 512,
|
|
MAXIMUM_TEMPORARY_CLUSTERS_PER_STRUCTURE= 8192,
|
|
MAXIMUM_CLUSTERS_PER_STRUCTURE= 512,
|
|
MAXIMUM_CLUSTER_DATA_SIZE= UNSIGNED_SHORT_MAX+1,
|
|
MAXIMUM_CLUSTER_PORTALS_PER_STRUCTURE= 512,
|
|
MAXIMUM_VERTICES_PER_CLUSTER_PORTAL= 128,
|
|
MAXIMUM_FOG_PLANES_PER_STRUCTURE= 32,
|
|
MAXIMUM_VERTICES_PER_STRUCTURE_FOG_PLANE= 4096,
|
|
MAXIMUM_FOG_REGIONS_PER_STRUCTURE= 32,
|
|
MAXIMUM_FOG_PALETTE_ENTRIES_PER_STRUCTURE= 32,
|
|
MAXIMUM_WEATHER_PALETTE_ENTRIES_PER_STRUCTURE= 32,
|
|
MAXIMUM_WEATHER_POLYHEDRA_PER_STRUCTURE= 32,
|
|
MAXIMUM_PLANES_PER_WEATHER_POLYHEDRON= 16,
|
|
MAXIMUM_BACKGROUND_SOUND_PALETTE_ENTRIES_PER_STRUCTURE= 64,
|
|
MAXIMUM_SOUND_ENVIRONMENT_PALETTE_ENTRIES_PER_STRUCTURE= 64,
|
|
MAXIMUM_MARKERS_PER_STRUCTURE= 1024,
|
|
MAXIMUM_LENS_FLARES_PER_STRUCTURE= 256,
|
|
MAXIMUM_LENS_FLARE_MARKERS_PER_STRUCTURE= UNSIGNED_SHORT_MAX+1,
|
|
MAXIMUM_DECALS_PER_STRUCTURE= 6144,
|
|
};
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
/* ---------- prototypes/STRUCTURES.C */
|
|
|
|
/* ---------- prototypes/STRUCTURE_DETAIL_OBJECTS.C */
|
|
|
|
void structure_detail_objects_flush(void);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __STRUCTURES_H
|