aboutsummaryrefslogtreecommitdiff
path: root/src/time.h
diff options
context:
space:
mode:
authorSanJacobs2022-07-19 18:12:56 +0200
committerSanJacobs2022-07-19 18:12:56 +0200
commit4356100da4211934405751a91e38bd943236de32 (patch)
treeec587127ca86ee8bf8e30a7098403bf21f322fcd /src/time.h
parentd882dfffabddb5a36b92db05b8af585d104ff262 (diff)
downloadsatscalc-4356100da4211934405751a91e38bd943236de32.tar.gz
satscalc-4356100da4211934405751a91e38bd943236de32.tar.bz2
satscalc-4356100da4211934405751a91e38bd943236de32.zip
Partially functional workday slicing
Diffstat (limited to 'src/time.h')
-rwxr-xr-xsrc/time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/time.h b/src/time.h
index 17a6854..5711aaf 100755
--- a/src/time.h
+++ b/src/time.h
@@ -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