Files
garminApp/bin/mir/source/matchData.mir
T
2026-10-01 19:29:14 +01:00

403 lines
24 KiB
YAML

[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Lang,1,14,18]; ]
import Toybox.Lang;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
import Toybox.WatchUi;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
import Toybox.Time;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
import Toybox.Timer;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
import Toybox.System;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 7; @symbol_classdef = [Match,7,6,11]; ]
class Match {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 7; ]
<init> {
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 12 15 ]
%tmp.1 = newa 0;
putv self :periods %tmp.1;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 14 15 ]
%tmp.2 = newa 0;
putv self :goals %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 15 15 ]
%tmp.3 = newa 0;
putv self :cards %tmp.3;
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 7; ]
static
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 8; @position = 16; @symbol_vardef = [_datetime,8,16,25]; @symbol_type<0> = [Number,8,34,40]; ]
private
var _datetime as Number or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 9; @position = 16; @symbol_vardef = [_startTime,9,16,26]; @symbol_type<0> = [Number,9,34,40]; ]
private
var _startTime as Number or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 10; @position = 16; @symbol_vardef = [_period,10,16,23]; @symbol_type<0> = [Number,10,27,33]; ]
private
var _period as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 12; @position = 15; @symbol_vardef = [periods,12,15,22]; @symbol_type<0> = [Array,12,34,39]; @symbol_type<1> = [Period,12,40,46]; ]
public
var periods as Array<Period>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 13; @position = 15; @symbol_vardef = [period,13,15,21]; @symbol_type<0> = [Period,13,34,40]; ]
public
var period as Period or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 14; @position = 15; @symbol_vardef = [goals,14,15,20]; @symbol_type<0> = [Array,14,34,39]; @symbol_type<1> = [Goal,14,40,44]; ]
public
var goals as Array<Goal>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 15; @position = 15; @symbol_vardef = [cards,15,15,20]; @symbol_type<0> = [Array,15,34,39]; @symbol_type<1> = [Card,15,40,44]; ]
public
var cards as Array<Card>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 17; @position = 15; @symbol_vardef = [playCount,17,15,24]; @symbol_type<0> = [Number,17,34,40]; ]
public
var playCount as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 18; @position = 15; @symbol_vardef = [breakCount,18,15,25]; @symbol_type<0> = [Number,18,34,40]; ]
public
var breakCount as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 19; @position = 15; @symbol_vardef = [periodCount,19,15,26]; @symbol_type<0> = [Number,19,34,40]; ]
public
var periodCount as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 20; @position = 15; @symbol_vardef = [homeScore,20,15,24]; @symbol_type<0> = [Number,20,34,40]; ]
public
var homeScore as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 21; @position = 15; @symbol_vardef = [awayScore,21,15,24]; @symbol_type<0> = [Number,21,34,40]; ]
public
var awayScore as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 22; @position = 15; @symbol_vardef = [completed,22,15,24]; @symbol_type<0> = [Number,22,28,34]; ]
public
var completed as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 23; @position = 15; @symbol_vardef = [duration,23,15,23]; @symbol_type<0> = [Number,23,30,36]; ]
public
var duration as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 24; @position = 15; @symbol_vardef = [remaining,24,15,24]; @symbol_type<0> = [Number,24,30,36]; ]
public
var remaining as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 25; @position = 15; @symbol_vardef = [elapsed,25,15,22]; @symbol_type<0> = [Number,25,30,36]; ]
public
var elapsed as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 27; @position = 15; @symbol_vardef = [timerMM,27,15,22]; @symbol_type<0> = [Number,27,28,34]; ]
public
var timerMM as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 28; @position = 15; @symbol_vardef = [timerSS,28,15,22]; @symbol_type<0> = [Number,28,30,36]; ]
public
var timerSS as Number = 0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 29; @position = 15; @symbol_vardef = [display,29,15,22]; @symbol_type<0> = [String,29,30,36]; ]
public
var display as String or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 30; @position = 15; @symbol_vardef = [state,30,15,20]; @symbol_type<0> = [$,30,24,25]; @symbol_type<1> = [enGame,30,26,32]; ]
public
var state as $.enGame;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 32; @symbol_functiondef = [initialize,32,13,23]; ]
function initialize() as Void {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_32_26_56_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 33 8 ]
symbol [ Time %tmp.1 33 26 30 ];
%tmp.1 = getm $.Toybox.Time;
symbol [ now %tmp.2 33 31 34 ];
%tmp.2 = getv function %tmp.1 :now;
%tmp.3 = invoke %tmp.1 %tmp.2();
symbol [ value %tmp.4 33 37 42 ];
%tmp.4 = getv function %tmp.3 :value;
%tmp.5 = invoke %tmp.3 %tmp.4();
symbol [ _datetime ? 33 8 17 ];
putv self :_datetime %tmp.5;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 34 8 ]
symbol [ PREGAME %tmp.7 34 16 23 ];
%tmp.7 = getv ? :PREGAME;
symbol [ state ? 34 8 13 ];
putv self :state %tmp.7;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 36 8 ]
symbol [ periods %tmp.9 36 8 15 ];
%tmp.9 = getv ? :periods;
symbol [ add %tmp.10 36 16 19 ];
%tmp.10 = getv function %tmp.9 :add;
symbol [ Period %tmp.14 36 24 30 ];
%tmp.14 = getv ? :Period;
%tmp.15 = "1st Quarter";
symbol [ PLAY %tmp.17 36 46 50 ];
%tmp.17 = getv ? :PLAY;
%tmp.18 = 100;
%tmp.11 = newc %tmp.14 (%tmp.15, %tmp.17, %tmp.18);
invoke %tmp.9 %tmp.10(%tmp.11);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 37 8 ]
symbol [ periods %tmp.20 37 8 15 ];
%tmp.20 = getv ? :periods;
symbol [ add %tmp.21 37 16 19 ];
%tmp.21 = getv function %tmp.20 :add;
symbol [ Period %tmp.25 37 24 30 ];
%tmp.25 = getv ? :Period;
%tmp.26 = "1/4 Break";
symbol [ BREAK %tmp.28 37 46 51 ];
%tmp.28 = getv ? :BREAK;
%tmp.29 = 2;
%tmp.22 = newc %tmp.25 (%tmp.26, %tmp.28, %tmp.29);
invoke %tmp.20 %tmp.21(%tmp.22);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 38 8 ]
symbol [ periods %tmp.31 38 8 15 ];
%tmp.31 = getv ? :periods;
symbol [ add %tmp.32 38 16 19 ];
%tmp.32 = getv function %tmp.31 :add;
symbol [ Period %tmp.36 38 24 30 ];
%tmp.36 = getv ? :Period;
%tmp.37 = "2nd Quarter";
symbol [ PLAY %tmp.39 38 46 50 ];
%tmp.39 = getv ? :PLAY;
%tmp.40 = 100;
%tmp.33 = newc %tmp.36 (%tmp.37, %tmp.39, %tmp.40);
invoke %tmp.31 %tmp.32(%tmp.33);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 39 8 ]
symbol [ periods %tmp.42 39 8 15 ];
%tmp.42 = getv ? :periods;
symbol [ add %tmp.43 39 16 19 ];
%tmp.43 = getv function %tmp.42 :add;
symbol [ Period %tmp.47 39 24 30 ];
%tmp.47 = getv ? :Period;
%tmp.48 = "1/2 Break";
symbol [ BREAK %tmp.50 39 46 51 ];
%tmp.50 = getv ? :BREAK;
%tmp.51 = 2;
%tmp.44 = newc %tmp.47 (%tmp.48, %tmp.50, %tmp.51);
invoke %tmp.42 %tmp.43(%tmp.44);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 40 8 ]
symbol [ periods %tmp.53 40 8 15 ];
%tmp.53 = getv ? :periods;
symbol [ add %tmp.54 40 16 19 ];
%tmp.54 = getv function %tmp.53 :add;
symbol [ Period %tmp.58 40 24 30 ];
%tmp.58 = getv ? :Period;
%tmp.59 = "3rd Quarter";
symbol [ PLAY %tmp.61 40 46 50 ];
%tmp.61 = getv ? :PLAY;
%tmp.62 = 100;
%tmp.55 = newc %tmp.58 (%tmp.59, %tmp.61, %tmp.62);
invoke %tmp.53 %tmp.54(%tmp.55);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 41 8 ]
symbol [ periods %tmp.64 41 8 15 ];
%tmp.64 = getv ? :periods;
symbol [ add %tmp.65 41 16 19 ];
%tmp.65 = getv function %tmp.64 :add;
symbol [ Period %tmp.69 41 24 30 ];
%tmp.69 = getv ? :Period;
%tmp.70 = "3/4 Break";
symbol [ BREAK %tmp.72 41 46 51 ];
%tmp.72 = getv ? :BREAK;
%tmp.73 = 2;
%tmp.66 = newc %tmp.69 (%tmp.70, %tmp.72, %tmp.73);
invoke %tmp.64 %tmp.65(%tmp.66);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 42 8 ]
symbol [ periods %tmp.75 42 8 15 ];
%tmp.75 = getv ? :periods;
symbol [ add %tmp.76 42 16 19 ];
%tmp.76 = getv function %tmp.75 :add;
symbol [ Period %tmp.80 42 24 30 ];
%tmp.80 = getv ? :Period;
%tmp.81 = "4th Quarter";
symbol [ PLAY %tmp.83 42 46 50 ];
%tmp.83 = getv ? :PLAY;
%tmp.84 = 100;
%tmp.77 = newc %tmp.80 (%tmp.81, %tmp.83, %tmp.84);
invoke %tmp.75 %tmp.76(%tmp.77);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 43 8 ]
symbol [ periods %tmp.86 43 17 24 ];
%tmp.86 = getv ? :periods;
symbol [ _period %tmp.88 43 25 32 ];
%tmp.88 = getv ? :_period;
%tmp.89 = agetv %tmp.86 %tmp.88;
symbol [ period ? 43 8 14 ];
putv self :period %tmp.89;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 45 8 ]
for @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_test @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_incr @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_init:
[ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_begin" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_end" ]
%i.1 = local;
symbol [ i %i.1 45 16 17 ];
%tmp.90 = 0;
lputv %i.1 %tmp.90;
symbol [ i %i.1 45 16 17 ];
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_test:
%tmp.91 = lgetv %i.1;
symbol [ i %tmp.91 45 23 24 ];
symbol [ periods %tmp.93 45 26 33 ];
%tmp.93 = getv ? :periods;
symbol [ size %tmp.94 45 34 38 ];
%tmp.94 = getv function %tmp.93 :size;
%tmp.95 = invoke %tmp.93 %tmp.94();
%tmp.96 = lt %tmp.91 %tmp.95;
bf %tmp.96 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_begin:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_46_55_8_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 46 12 ]
symbol [ periodCount %tmp.99 46 12 23 ];
%tmp.99 = getv ? :periodCount;
%tmp.100 = add %tmp.99 1;
symbol [ periodCount ? 46 12 23 ];
putv self :periodCount dup %tmp.100;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 47 12 ]
symbol [ periods %tmp.102 47 20 27 ];
%tmp.102 = getv ? :periods;
%tmp.103 = lgetv %i.1;
symbol [ i %tmp.103 47 28 29 ];
%tmp.104 = agetv %tmp.102 %tmp.103;
symbol [ type %tmp.105 47 31 35 ];
%tmp.105 = getv %tmp.104 :type;
push %tmp.105;
switch %tmp.105 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 48 16 ]
%tmp.106 = dup %tmp.105;
symbol [ PLAY %tmp.108 48 21 25 ];
%tmp.108 = getv ? :PLAY;
%tmp.109 = getv function %tmp.106 :equals;
%tmp.110 = invoke %tmp.106 %tmp.109 (%tmp.108);
bt %tmp.110 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_48_16_51_25_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 52 16 ]
%tmp.111 = dup %tmp.105;
symbol [ BREAK %tmp.113 52 21 26 ];
%tmp.113 = getv ? :BREAK;
%tmp.114 = getv function %tmp.111 :equals;
%tmp.115 = invoke %tmp.111 %tmp.114 (%tmp.113);
bt %tmp.115 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_52_16_53_32_switchCase;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_48_16_51_25_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 49 20 ]
symbol [ duration %tmp.116 49 20 28 ];
%tmp.116 = getv self :duration;
symbol [ periods %tmp.118 49 32 39 ];
%tmp.118 = getv ? :periods;
%tmp.119 = lgetv %i.1;
symbol [ i %tmp.119 49 40 41 ];
%tmp.120 = agetv %tmp.118 %tmp.119;
symbol [ duration %tmp.121 49 43 51 ];
%tmp.121 = getv %tmp.120 :duration;
%tmp.122 = add %tmp.116 %tmp.121;
symbol [ duration ? 49 20 28 ];
putv self :duration dup %tmp.122;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 50 20 ]
symbol [ playCount %tmp.125 50 20 29 ];
%tmp.125 = getv ? :playCount;
%tmp.126 = add %tmp.125 1;
symbol [ playCount ? 50 20 29 ];
putv self :playCount dup %tmp.126;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 51 20 ]
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_52_16_53_32_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 53 20 ]
symbol [ breakCount %tmp.129 53 20 30 ];
%tmp.129 = getv ? :breakCount;
%tmp.130 = add %tmp.129 1;
symbol [ breakCount ? 53 20 30 ];
putv self :breakCount dup %tmp.130;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_defaultCodeBegin:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtEnd:
pop;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_46_55_8_stop:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_incr:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 45 ]
%tmp.133 = lgetv %i.1;
symbol [ i %tmp.133 45 42 43 ];
%tmp.134 = add %tmp.133 1;
lputv %i.1 %tmp.134;
symbol [ i %i.1 45 42 43 ];
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_test;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_end:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_32_26_56_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 58; @symbol_functiondef = [nextPeriod,58,13,23]; ]
function nextPeriod() {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_58_25_70_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 59 8 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_stmt:
symbol [ period %tmp.2 59 12 18 ];
%tmp.2 = getv ? :period;
symbol [ type %tmp.3 59 19 23 ];
%tmp.3 = getv %tmp.2 :type;
symbol [ PLAY %tmp.5 59 27 31 ];
%tmp.5 = getv ? :PLAY;
%tmp.6 = eq %tmp.3 %tmp.5;
bf %tmp.6 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_true:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_32_61_8_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 60 12 ]
symbol [ completed %tmp.7 60 12 21 ];
%tmp.7 = getv self :completed;
symbol [ period %tmp.9 60 25 31 ];
%tmp.9 = getv ? :period;
symbol [ elapsed %tmp.10 60 32 39 ];
%tmp.10 = getv %tmp.9 :elapsed;
%tmp.11 = add %tmp.7 %tmp.10;
symbol [ completed ? 60 12 21 ];
putv self :completed dup %tmp.11;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_32_61_8_stop:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_end:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 62 8 ]
symbol [ _period %tmp.14 62 8 15 ];
%tmp.14 = getv ? :_period;
%tmp.15 = add %tmp.14 1;
symbol [ _period ? 62 8 15 ];
putv self :_period dup %tmp.15;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 64 8 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_stmt:
symbol [ _period %tmp.17 64 12 19 ];
%tmp.17 = getv ? :_period;
symbol [ periods %tmp.19 64 22 29 ];
%tmp.19 = getv ? :periods;
symbol [ size %tmp.20 64 30 34 ];
%tmp.20 = getv function %tmp.19 :size;
%tmp.21 = invoke %tmp.19 %tmp.20();
%tmp.22 = lt %tmp.17 %tmp.21;
bf %tmp.22 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_else_false;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_true:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_37_66_8_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 65 12 ]
symbol [ periods %tmp.24 65 21 28 ];
%tmp.24 = getv ? :periods;
symbol [ _period %tmp.26 65 29 36 ];
%tmp.26 = getv ? :_period;
%tmp.27 = agetv %tmp.24 %tmp.26;
symbol [ period ? 65 12 18 ];
putv self :period %tmp.27;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_37_66_8_stop:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_else_false:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_67_12_69_8_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 68 12 ]
symbol [ POSTGAME %tmp.29 68 20 28 ];
%tmp.29 = getv ? :POSTGAME;
symbol [ state ? 68 12 17 ];
putv self :state %tmp.29;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_67_12_69_8_stop:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_end:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_58_25_70_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 71; @symbol_functiondef = [recordCard,71,17,27]; @symbol_param<0> = [team,71,28,32]; @symbol_param<0>_type<0> = [enTeam,71,40,46]; @symbol_param<1> = [type,72,28,32]; @symbol_param<1>_type<0> = [enCard,72,40,46]; @symbol_param<2> = [player,73,28,34]; @symbol_param<2>_type<0> = [Number,73,40,46]; @symbol_param<3> = [duration,74,28,36]; @symbol_param<3>_type<0> = [Number,74,40,46]; ]
function recordCard(team as enTeam, type as enCard, player as Number, duration as Number) {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_75_8_78_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 76 8 ]
symbol [ cards %tmp.2 76 8 13 ];
%tmp.2 = getv ? :cards;
symbol [ add %tmp.3 76 14 17 ];
%tmp.3 = getv function %tmp.2 :add;
symbol [ Card %tmp.7 76 22 26 ];
%tmp.7 = getv ? :Card;
%tmp.8 = lgetv %team;
symbol [ team %tmp.8 76 27 31 ];
%tmp.9 = lgetv %type;
symbol [ type %tmp.9 76 33 37 ];
%tmp.10 = lgetv %player;
symbol [ player %tmp.10 76 39 45 ];
%tmp.11 = lgetv %duration;
symbol [ duration %tmp.11 76 48 56 ];
%tmp.12 = self;
symbol [ me %tmp.12 76 58 60 ];
symbol [ elapsed %tmp.13 76 61 68 ];
%tmp.13 = getv %tmp.12 :elapsed;
%tmp.4 = newc %tmp.7 (%tmp.8, %tmp.9, %tmp.10, %tmp.11, %tmp.13);
invoke %tmp.2 %tmp.3(%tmp.4);
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_75_8_78_4_stop:
}
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 1; ]
<init> {
}