big rendering overhaul (cleaning and api abstraction)

This commit is contained in:
veclavtalica committed 2025-01-14 23:20:54 +03:00
1 parent b7cb37c06a
commit 5059802d09
25 files changed
+290 -424

No files matched your search

+4
View File
@@ -23,6 +23,10 @@ typedef struct Context {
/* TODO: actually set it */
float frame_duration;
/* it is disabled by having fog_density approximately equal to zero */
float fog_start, fog_end, fog_density;
Color fog_color;
/* resolution is set from config and dictates both logical and drawing space, as they're related */
/* even if scaling is done, game logic should never change over that */
Vec2 resolution;