Gases in divelist
Robert C. Helling
helling at lmu.de
Mon Mar 18 07:22:14 PDT 2013
On Sun, 17 Mar 2013, Dirk Hohndel wrote:
> Dirk Hohndel <dirk at hohndel.org> writes:
>
> Never mind. I had a couple of hours today and since this wasn't enough
> for any of the big things on my todo list I instead added this feature.
Cool. Here is a patch that restricts the gases listed in the divelist to
those that are actually used. I seem to have the indentation now under
control but I am not sure about the logic:
1) First gas (with index 0) is always used.
2) If there is a gas switch event, the new gas is also used (determined by
walking the list of dive computers and then the list of events).
Signed-off-by: Robert C. Helling <helling at atdotde.de>
Best
Robert
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
Scientific Coordinator
Ludwig Maximilians Universitaet Muenchen, Dept. Physik
print "Just another Phone: +49 89 2180-4523 Theresienstr. 39, rm. B339
stupid .sig\n"; http://www.atdotde.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: only_used_gases.patch
Type: text/x-diff
Size: 1194 bytes
Desc:
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130318/b4d8570b/attachment.patch>
More information about the subsurface
mailing list