mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-22 10:00:30 +02: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>
45 lines
814 B
C
45 lines
814 B
C
/*
|
|
STRUCTURE_RENDER.H
|
|
*/
|
|
|
|
#ifndef __STRUCTURE_RENDER_H
|
|
#define __STRUCTURE_RENDER_H
|
|
#pragma once
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "math/real_math.h"
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct render_fog
|
|
{
|
|
word fog_definition_flags;
|
|
word runtime_flags;
|
|
real_rgb_color atmospheric_color;
|
|
real atmospheric_maximum_density;
|
|
real atmospheric_minimum_distance;
|
|
real atmospheric_maximum_distance;
|
|
short planar_mode;
|
|
real_plane3d plane;
|
|
real_rgb_color planar_color;
|
|
real planar_maximum_density;
|
|
real planar_maximum_distance;
|
|
real planar_maximum_depth;
|
|
const struct fog_screen *screen;
|
|
real screen_external_intensity;
|
|
};
|
|
|
|
|
|
/* ---------- prototypes/STRUCTURE_RENDER.C */
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __STRUCTURE_RENDER_H
|