From 038cb9646b920936f8f497f9a4ee5b873853424e Mon Sep 17 00:00:00 2001 From: tech kaczynski Date: Thu, 22 Oct 2026 13:27:04 +1000 Subject: started work on command menu, added time of day editor. --- env.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'env.h') diff --git a/env.h b/env.h index c62f884..7a9266a 100644 --- a/env.h +++ b/env.h @@ -23,8 +23,9 @@ typedef struct { f32 day_amount; f32 twilight_amount; - f32 cycle; - f32 day_len; + f32 day_cur; /* starting phase, 0 inclusive to 1 exclusive */ + f32 day_len; /* real seconds per complete lighting cycle */ + f32 cycle; /* current lighting phase */ /* sun/moon textures */ cstr sun_tex_key, moon_tex_key; -- cgit v1.2.3