mirror of
https://github.com/astromaddie/HaloCE-VR.git
synced 2026-10-24 23:00:18 +02:00
Recover transparent geometry submit (+1,285 meaningful code, zero exact losses); reconcile COMMON ownership and Q10 85+EXT1 credit, actions/main data, and separately disclosed denominator corrections. Preserve canonical-only repairs and all held research. C09 is ordinary disclosed cleanup, not a claim of proven scaffolding intent. Clean rebuild, 1,663 tests, parks, audits, provider links and independent EXT1 check pass. Local reconciliation only.
51 lines
1.1 KiB
C
51 lines
1.1 KiB
C
/*
|
|
RASTERIZER_LIGHTS.H
|
|
*/
|
|
|
|
#ifndef __RASTERIZER_LIGHTS_H
|
|
#define __RASTERIZER_LIGHTS_H
|
|
#pragma once
|
|
|
|
/* ---------- structures */
|
|
|
|
struct rasterizer_lens_flare_submit_parameters;
|
|
|
|
struct rasterizer_light_submit_parameters
|
|
{
|
|
struct point_light_definition *definition;
|
|
real_point3d position;
|
|
real_vector3d forward;
|
|
real_vector3d up;
|
|
real_rgb_color color;
|
|
real radius;
|
|
};
|
|
|
|
struct rasterizer_lights
|
|
{
|
|
long light_count;
|
|
struct rasterizer_light_submit_parameters lights[MAXIMUM_LIGHTS_PER_WINDOW];
|
|
};
|
|
|
|
/* ---------- prototypes/RASTERIZER_LIGHTS.C */
|
|
|
|
void rasterizer_lights_begin_for_new_frame(
|
|
void);
|
|
long rasterizer_light_submit(
|
|
struct rasterizer_light_submit_parameters const *parameters);
|
|
void rasterizer_lens_flare_submit(
|
|
struct rasterizer_lens_flare_submit_parameters const *parameters);
|
|
void rasterizer_lens_flare_submit_for_cluster(
|
|
short cluster_index);
|
|
void rasterizer_lens_flares_submit_occlusion_tests(
|
|
void);
|
|
void rasterizer_lens_flares_draw(
|
|
void);
|
|
void rasterizer_sun_glow_draw(
|
|
struct rasterizer_lens_flare_submit_parameters const *flare);
|
|
|
|
/* ---------- globals */
|
|
|
|
extern struct rasterizer_lights rasterizer_lights;
|
|
|
|
#endif // __RASTERIZER_LIGHTS_H
|