diff options
author | SanJacobs | 2022-07-19 18:12:56 +0200 |
---|---|---|
committer | SanJacobs | 2022-07-19 18:12:56 +0200 |
commit | 4356100da4211934405751a91e38bd943236de32 (patch) | |
tree | ec587127ca86ee8bf8e30a7098403bf21f322fcd /src/time.h | |
parent | d882dfffabddb5a36b92db05b8af585d104ff262 (diff) | |
download | satscalc-4356100da4211934405751a91e38bd943236de32.tar.gz satscalc-4356100da4211934405751a91e38bd943236de32.tar.bz2 satscalc-4356100da4211934405751a91e38bd943236de32.zip |
Partially functional workday slicing
Diffstat (limited to 'src/time.h')
-rwxr-xr-x | src/time.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -49,13 +49,14 @@ struct timeblock{ moment end; double hourcount(); float valuefactor = 1; + float upvalue(float suggestion); }; struct workday{ moment call; moment wrap; moment planned_wrap; - timeblock blocks[13]; + timeblock blocks[12]; int total_timeblocks; // total_timeblocks exsists because blocks[13] can't be shrunk, // so total_timeblocks is the point at which blocks[13] just contains |