what is b [3] what is [3] what oius [1] [2] what is x what is b what is a ?
Alberth is just giving the equations names/reference so he can say 'substitute equation 1 into equation 3' and so on.
This is pretty much the same as what Alberth does:
At 0 hours, real seconds is also 0
At 24 hours then real seconds is 7*60 (this is from you saying 1 day is 7 minutes)
Then straight line/linear equations
y = mx+c (just as Alberth has done)
y is going to be 'game hours', x is 'real seconds'. We need to work out m and c.
We have 2 unknowns so we need 2 equations, luckily we have 2 'pairs' of values so we can make 2 equations.
when x is 0, y is 0 as we showed above thus 0=0*m + c => c is 0.
Now we put in the end of day values:
24=m*(7*60); c has gone since it was just 0. Rearrange to find m
m = 24/(7*60)
Now you have c and m values you can transform from 'real seconds' into 'game hours'. If a frame takes 0.017 seconds (approx 60fps) then the amount to add to your 'game hours' will be:
m*0.017+c = 0.0097
If you start at 'game time' 0 and the frame takes all of 7 minutes (ouch) then:
m*(60*7)+c = 24
Which makes sense since the whole day will have passed. Or 3.5 minutes (half your in game time)
m*(60*3.5) = 12, half a day.