From f4d20d1ff418f79388f252ba32dfca2ae1e6dbd1 Mon Sep 17 00:00:00 2001 From: San Jacobs Date: Thu, 20 Jul 2023 22:31:42 +0200 Subject: Clarified plans for adding fraction-pairs --- src/time.odin | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/time.odin') diff --git a/src/time.odin b/src/time.odin index 3bd4721..080096b 100644 --- a/src/time.odin +++ b/src/time.odin @@ -51,6 +51,16 @@ Workday :: struct { // because lunch breaks // cause more blocks blocks : [16]Timeblock, + + // Fractions store how far + // through the day each + // timesplit occurs. + // They should probably be + // changed to come in pairs, + // as moments do in timeblocks, + // because then we can store + // both the start and end + // of timeblocks in fractions fractions : [16]f32, total_timeblocks : int, } -- cgit v1.2.1