This commit is contained in:
kejaro committed 2026-10-05 20:55:29 +01:00
1 parent f7bcbc53ef
commit 65b26786a0
39 files changed
+4710 -3044

No files matched your search

+3 -2
View File
@@ -14,14 +14,15 @@ module Rez {
module Fonts {
(:initialized) var SevenSegment as ResourceId;
(:initialized) var font40 as ResourceId;
(:initialized) var fontCards as ResourceId;
(:initialized) var fontButtons as ResourceId;
(:initialized) var led_small as ResourceId;
} // Fonts
module Layouts {
function MainLayout(dc as Graphics.Dc) as Array<WatchUi.Drawable> {
var local_Rez_Fonts_SevenSegment = (WatchUi.loadResource($.Rez.Fonts.SevenSegment) as Graphics.FontReference);
var rez_cmp_local_text_1193959466 = new WatchUi.Text({:color=>Graphics.COLOR_WHITE, :locX=>(dc.getWidth() * 0.5), :locY=>((dc.getHeight() - 70) * 0.5), :text=>$.Rez.Strings.timer, :justification=>Graphics.TEXT_JUSTIFY_CENTER, :font=>local_Rez_Fonts_SevenSegment});
var rez_cmp_local_text_1193959466 = new WatchUi.Text({:color=>Graphics.COLOR_WHITE, :locX=>(dc.getWidth() * 0.5), :locY=>((dc.getHeight() - 100) * 0.5), :text=>$.Rez.Strings.timer, :justification=>Graphics.TEXT_JUSTIFY_CENTER, :font=>local_Rez_Fonts_SevenSegment});
return [rez_cmp_local_text_1193959466] as Array<WatchUi.Drawable>;
}
Binary file not shown.
File diff suppressed because it is too large. Load diff
+650 -648
View File
File diff suppressed because it is too large. Load diff
-7
View File
@@ -1,7 +0,0 @@
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.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/Menus.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/Menus.mc"; @line = 1; ]
<init> {
}
+387 -68
View File
@@ -22,11 +22,319 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_
symbol [ initialize %tmp.3 7 25 35 ];
%tmp.3 = getv function %tmp.2 :initialize;
invoke %tmp.2 %tmp.3();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 9 8 ]
symbol [ WatchUi %tmp.6 9 25 32 ];
%tmp.6 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.7 9 33 38 ];
%tmp.7 = getv function ? %tmp.6 :Menu2;
%tmp.8 = newd 1;
%tmp.10 = const :title;
symbol [ title %tmp.10 9 41 46 const ];
%tmp.11 = "Select Team";
%tmp.12 = dup %tmp.8;
%tmp.13 = aputv %tmp.12 %tmp.10 %tmp.11;
%tmp.4 = newc %tmp.7 (%tmp.13);
symbol [ gMenuTeams ? 9 8 18 ];
putv self :gMenuTeams %tmp.4;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 10 8 ]
symbol [ gMenuTeams %tmp.15 10 8 18 ];
%tmp.15 = getv ? :gMenuTeams;
symbol [ addItem %tmp.16 10 19 26 ];
%tmp.16 = getv function %tmp.15 :addItem;
symbol [ WatchUi %tmp.19 10 31 38 ];
%tmp.19 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.20 10 39 47 ];
%tmp.20 = getv function ? %tmp.19 :MenuItem;
symbol [ HOME %tmp.22 10 48 52 ];
%tmp.22 = getv ? :HOME;
symbol [ toString %tmp.23 10 53 61 ];
%tmp.23 = getv function %tmp.22 :toString;
%tmp.24 = invoke %tmp.22 %tmp.23();
%tmp.25 = null;
symbol [ HOME %tmp.27 10 71 75 ];
%tmp.27 = getv ? :HOME;
%tmp.28 = null;
%tmp.17 = newc %tmp.20 (%tmp.24, %tmp.25, %tmp.27, %tmp.28);
invoke %tmp.15 %tmp.16(%tmp.17);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 11 8 ]
symbol [ gMenuTeams %tmp.30 11 8 18 ];
%tmp.30 = getv ? :gMenuTeams;
symbol [ addItem %tmp.31 11 19 26 ];
%tmp.31 = getv function %tmp.30 :addItem;
symbol [ WatchUi %tmp.34 11 31 38 ];
%tmp.34 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.35 11 39 47 ];
%tmp.35 = getv function ? %tmp.34 :MenuItem;
symbol [ AWAY %tmp.37 11 48 52 ];
%tmp.37 = getv ? :AWAY;
symbol [ toString %tmp.38 11 53 61 ];
%tmp.38 = getv function %tmp.37 :toString;
%tmp.39 = invoke %tmp.37 %tmp.38();
%tmp.40 = null;
symbol [ AWAY %tmp.42 11 71 75 ];
%tmp.42 = getv ? :AWAY;
%tmp.43 = null;
%tmp.32 = newc %tmp.35 (%tmp.39, %tmp.40, %tmp.42, %tmp.43);
invoke %tmp.30 %tmp.31(%tmp.32);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 13 8 ]
symbol [ WatchUi %tmp.46 13 27 34 ];
%tmp.46 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.47 13 35 40 ];
%tmp.47 = getv function ? %tmp.46 :Menu2;
%tmp.48 = newd 1;
%tmp.50 = const :title;
symbol [ title %tmp.50 13 43 48 const ];
%tmp.51 = "Select Action";
%tmp.52 = dup %tmp.48;
%tmp.53 = aputv %tmp.52 %tmp.50 %tmp.51;
%tmp.44 = newc %tmp.47 (%tmp.53);
symbol [ gMenuActions ? 13 8 20 ];
putv self :gMenuActions %tmp.44;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 14 8 ]
symbol [ gMenuActions %tmp.55 14 8 20 ];
%tmp.55 = getv ? :gMenuActions;
symbol [ addItem %tmp.56 14 21 28 ];
%tmp.56 = getv function %tmp.55 :addItem;
symbol [ WatchUi %tmp.59 14 33 40 ];
%tmp.59 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.60 14 41 49 ];
%tmp.60 = getv function ? %tmp.59 :MenuItem;
%tmp.61 = "Record Goal";
%tmp.62 = "FG, PC, or PS";
symbol [ GOAL %tmp.64 14 82 86 ];
%tmp.64 = getv ? :GOAL;
%tmp.65 = null;
%tmp.57 = newc %tmp.60 (%tmp.61, %tmp.62, %tmp.64, %tmp.65);
invoke %tmp.55 %tmp.56(%tmp.57);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 15 8 ]
symbol [ gMenuActions %tmp.67 15 8 20 ];
%tmp.67 = getv ? :gMenuActions;
symbol [ addItem %tmp.68 15 21 28 ];
%tmp.68 = getv function %tmp.67 :addItem;
symbol [ WatchUi %tmp.71 15 33 40 ];
%tmp.71 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.72 15 41 49 ];
%tmp.72 = getv function ? %tmp.71 :MenuItem;
%tmp.73 = "Record Card";
%tmp.74 = "Green, Yellow, Red";
symbol [ CARD %tmp.76 15 87 91 ];
%tmp.76 = getv ? :CARD;
%tmp.77 = null;
%tmp.69 = newc %tmp.72 (%tmp.73, %tmp.74, %tmp.76, %tmp.77);
invoke %tmp.67 %tmp.68(%tmp.69);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 16 8 ]
symbol [ gMenuActions %tmp.79 16 8 20 ];
%tmp.79 = getv ? :gMenuActions;
symbol [ addItem %tmp.80 16 21 28 ];
%tmp.80 = getv function %tmp.79 :addItem;
symbol [ WatchUi %tmp.83 16 33 40 ];
%tmp.83 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.84 16 41 49 ];
%tmp.84 = getv function ? %tmp.83 :MenuItem;
%tmp.85 = "Quit";
%tmp.86 = "TODO:";
symbol [ QUIT %tmp.88 16 67 71 ];
%tmp.88 = getv ? :QUIT;
%tmp.89 = null;
%tmp.81 = newc %tmp.84 (%tmp.85, %tmp.86, %tmp.88, %tmp.89);
invoke %tmp.79 %tmp.80(%tmp.81);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 18 8 ]
symbol [ WatchUi %tmp.92 18 25 32 ];
%tmp.92 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.93 18 33 38 ];
%tmp.93 = getv function ? %tmp.92 :Menu2;
%tmp.94 = newd 1;
%tmp.96 = const :title;
symbol [ title %tmp.96 18 41 46 const ];
%tmp.97 = "Select Goal";
%tmp.98 = dup %tmp.94;
%tmp.99 = aputv %tmp.98 %tmp.96 %tmp.97;
%tmp.90 = newc %tmp.93 (%tmp.99);
symbol [ gMenuGoals ? 18 8 18 ];
putv self :gMenuGoals %tmp.90;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 19 8 ]
symbol [ gMenuGoals %tmp.101 19 8 18 ];
%tmp.101 = getv ? :gMenuGoals;
symbol [ addItem %tmp.102 19 19 26 ];
%tmp.102 = getv function %tmp.101 :addItem;
symbol [ WatchUi %tmp.105 19 31 38 ];
%tmp.105 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.106 19 39 47 ];
%tmp.106 = getv function ? %tmp.105 :MenuItem;
%tmp.107 = "Field Goal";
%tmp.108 = null;
symbol [ FG %tmp.110 19 72 74 ];
%tmp.110 = getv ? :FG;
%tmp.111 = null;
%tmp.103 = newc %tmp.106 (%tmp.107, %tmp.108, %tmp.110, %tmp.111);
invoke %tmp.101 %tmp.102(%tmp.103);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 20 8 ]
symbol [ gMenuGoals %tmp.113 20 8 18 ];
%tmp.113 = getv ? :gMenuGoals;
symbol [ addItem %tmp.114 20 19 26 ];
%tmp.114 = getv function %tmp.113 :addItem;
symbol [ WatchUi %tmp.117 20 31 38 ];
%tmp.117 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.118 20 39 47 ];
%tmp.118 = getv function ? %tmp.117 :MenuItem;
%tmp.119 = "Penaly Corner";
%tmp.120 = null;
symbol [ PC %tmp.122 20 72 74 ];
%tmp.122 = getv ? :PC;
%tmp.123 = null;
%tmp.115 = newc %tmp.118 (%tmp.119, %tmp.120, %tmp.122, %tmp.123);
invoke %tmp.113 %tmp.114(%tmp.115);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 21 8 ]
symbol [ gMenuGoals %tmp.125 21 8 18 ];
%tmp.125 = getv ? :gMenuGoals;
symbol [ addItem %tmp.126 21 19 26 ];
%tmp.126 = getv function %tmp.125 :addItem;
symbol [ WatchUi %tmp.129 21 31 38 ];
%tmp.129 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.130 21 39 47 ];
%tmp.130 = getv function ? %tmp.129 :MenuItem;
%tmp.131 = "Penalty Stroke";
%tmp.132 = null;
symbol [ PS %tmp.134 21 72 74 ];
%tmp.134 = getv ? :PS;
%tmp.135 = null;
%tmp.127 = newc %tmp.130 (%tmp.131, %tmp.132, %tmp.134, %tmp.135);
invoke %tmp.125 %tmp.126(%tmp.127);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 23 8 ]
symbol [ WatchUi %tmp.138 23 25 32 ];
%tmp.138 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.139 23 33 38 ];
%tmp.139 = getv function ? %tmp.138 :Menu2;
%tmp.140 = newd 1;
%tmp.142 = const :title;
symbol [ title %tmp.142 23 41 46 const ];
%tmp.143 = "Select Card";
%tmp.144 = dup %tmp.140;
%tmp.145 = aputv %tmp.144 %tmp.142 %tmp.143;
%tmp.136 = newc %tmp.139 (%tmp.145);
symbol [ gMenuCards ? 23 8 18 ];
putv self :gMenuCards %tmp.136;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 24 8 ]
symbol [ gMenuCards %tmp.147 24 8 18 ];
%tmp.147 = getv ? :gMenuCards;
symbol [ addItem %tmp.148 24 19 26 ];
%tmp.148 = getv function %tmp.147 :addItem;
symbol [ WatchUi %tmp.151 24 31 38 ];
%tmp.151 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.152 24 39 47 ];
%tmp.152 = getv function ? %tmp.151 :MenuItem;
%tmp.153 = "Green Card";
%tmp.154 = null;
symbol [ GREEN %tmp.156 24 71 76 ];
%tmp.156 = getv ? :GREEN;
%tmp.157 = newd 1;
%tmp.159 = const :icon;
symbol [ icon %tmp.159 24 81 85 const ];
symbol [ $ %tmp.160 24 89 90 ];
%tmp.160 = getm $;
symbol [ gIconGreen %tmp.161 24 91 101 ];
%tmp.161 = getv %tmp.160 :gIconGreen;
%tmp.162 = dup %tmp.157;
%tmp.163 = aputv %tmp.162 %tmp.159 %tmp.161;
%tmp.149 = newc %tmp.152 (%tmp.153, %tmp.154, %tmp.156, %tmp.163);
invoke %tmp.147 %tmp.148(%tmp.149);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 25 8 ]
symbol [ gMenuCards %tmp.165 25 8 18 ];
%tmp.165 = getv ? :gMenuCards;
symbol [ addItem %tmp.166 25 19 26 ];
%tmp.166 = getv function %tmp.165 :addItem;
symbol [ WatchUi %tmp.169 25 31 38 ];
%tmp.169 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.170 25 39 47 ];
%tmp.170 = getv function ? %tmp.169 :MenuItem;
%tmp.171 = "Yellow Card";
%tmp.172 = null;
symbol [ YELLOW %tmp.174 25 71 77 ];
%tmp.174 = getv ? :YELLOW;
%tmp.175 = newd 1;
%tmp.177 = const :icon;
symbol [ icon %tmp.177 25 81 85 const ];
symbol [ $ %tmp.178 25 89 90 ];
%tmp.178 = getm $;
symbol [ gIconYellow %tmp.179 25 91 102 ];
%tmp.179 = getv %tmp.178 :gIconYellow;
%tmp.180 = dup %tmp.175;
%tmp.181 = aputv %tmp.180 %tmp.177 %tmp.179;
%tmp.167 = newc %tmp.170 (%tmp.171, %tmp.172, %tmp.174, %tmp.181);
invoke %tmp.165 %tmp.166(%tmp.167);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 26 8 ]
symbol [ gMenuCards %tmp.183 26 8 18 ];
%tmp.183 = getv ? :gMenuCards;
symbol [ addItem %tmp.184 26 19 26 ];
%tmp.184 = getv function %tmp.183 :addItem;
symbol [ WatchUi %tmp.187 26 31 38 ];
%tmp.187 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.188 26 39 47 ];
%tmp.188 = getv function ? %tmp.187 :MenuItem;
%tmp.189 = "Red Card";
%tmp.190 = null;
symbol [ RED %tmp.192 26 71 74 ];
%tmp.192 = getv ? :RED;
%tmp.193 = newd 1;
%tmp.195 = const :icon;
symbol [ icon %tmp.195 26 81 85 const ];
symbol [ $ %tmp.196 26 89 90 ];
%tmp.196 = getm $;
symbol [ gIconRed %tmp.197 26 91 99 ];
%tmp.197 = getv %tmp.196 :gIconRed;
%tmp.198 = dup %tmp.193;
%tmp.199 = aputv %tmp.198 %tmp.195 %tmp.197;
%tmp.185 = newc %tmp.188 (%tmp.189, %tmp.190, %tmp.192, %tmp.199);
invoke %tmp.183 %tmp.184(%tmp.185);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 28 8 ]
symbol [ WatchUi %tmp.202 28 23 30 ];
%tmp.202 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.203 28 31 36 ];
%tmp.203 = getv function ? %tmp.202 :Menu2;
%tmp.204 = newd 1;
%tmp.206 = const :title;
symbol [ title %tmp.206 28 39 44 const ];
%tmp.207 = "Select Action";
%tmp.208 = dup %tmp.204;
%tmp.209 = aputv %tmp.208 %tmp.206 %tmp.207;
%tmp.200 = newc %tmp.203 (%tmp.209);
symbol [ gMenuApp ? 28 8 16 ];
putv self :gMenuApp %tmp.200;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 29 8 ]
symbol [ gMenuApp %tmp.211 29 8 16 ];
%tmp.211 = getv ? :gMenuApp;
symbol [ addItem %tmp.212 29 17 24 ];
%tmp.212 = getv function %tmp.211 :addItem;
symbol [ WatchUi %tmp.215 29 29 36 ];
%tmp.215 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.216 29 37 45 ];
%tmp.216 = getv function ? %tmp.215 :MenuItem;
%tmp.217 = "New Game";
%tmp.218 = null;
%tmp.219 = 0;
%tmp.220 = null;
%tmp.213 = newc %tmp.216 (%tmp.217, %tmp.218, %tmp.219, %tmp.220);
invoke %tmp.211 %tmp.212(%tmp.213);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 30 8 ]
symbol [ gMenuApp %tmp.222 30 8 16 ];
%tmp.222 = getv ? :gMenuApp;
symbol [ addItem %tmp.223 30 17 24 ];
%tmp.223 = getv function %tmp.222 :addItem;
symbol [ WatchUi %tmp.226 30 29 36 ];
%tmp.226 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.227 30 37 45 ];
%tmp.227 = getv function ? %tmp.226 :MenuItem;
%tmp.228 = "Exit";
%tmp.229 = null;
%tmp.230 = 1;
%tmp.231 = null;
%tmp.224 = newc %tmp.227 (%tmp.228, %tmp.229, %tmp.230, %tmp.231);
invoke %tmp.222 %tmp.223(%tmp.224);
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_6_26_32_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 34; @symbol_functiondef = [onKey,34,13,18]; @symbol_param<0> = [keyEvent,34,19,27]; @symbol_param<0>_type<0> = [WatchUi,34,31,38]; @symbol_param<0>_type<1> = [KeyEvent,34,39,47]; @symbol_return<0> = [Boolean,34,52,59]; ]
function onKey(keyEvent as WatchUi.KeyEvent) as Boolean {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_34_60_69_4_start:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_34_60_68_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 35 8 ]
%tmp.1 = lgetv %keyEvent;
symbol [ keyEvent %tmp.1 35 15 23 ];
@@ -34,8 +342,8 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_
%tmp.2 = getv function %tmp.1 :getKey;
%tmp.3 = invoke %tmp.1 %tmp.2();
push %tmp.3;
switch %tmp.3 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_switchStmtBegin:
switch %tmp.3 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 36 12 ]
%tmp.4 = dup %tmp.3;
symbol [ WatchUi %tmp.5 36 17 24 ];
@@ -53,28 +361,28 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_
%tmp.11 = getv %tmp.10 :KEY_ESC;
%tmp.12 = getv function %tmp.9 :equals;
%tmp.13 = invoke %tmp.9 %tmp.12 (%tmp.11);
bt %tmp.13 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_50_12_58_16_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 60 12 ]
bt %tmp.13 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_50_12_57_16_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 59 12 ]
%tmp.14 = dup %tmp.3;
symbol [ WatchUi %tmp.15 60 17 24 ];
symbol [ WatchUi %tmp.15 59 17 24 ];
%tmp.15 = getm $.Toybox.WatchUi;
symbol [ KEY_DOWN %tmp.16 60 25 33 ];
symbol [ KEY_DOWN %tmp.16 59 25 33 ];
%tmp.16 = getv %tmp.15 :KEY_DOWN;
%tmp.17 = getv function %tmp.14 :equals;
%tmp.18 = invoke %tmp.14 %tmp.17 (%tmp.16);
bt %tmp.18 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_60_12_61_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 63 12 ]
bt %tmp.18 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_59_12_60_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 62 12 ]
%tmp.19 = dup %tmp.3;
symbol [ WatchUi %tmp.20 63 17 24 ];
symbol [ WatchUi %tmp.20 62 17 24 ];
%tmp.20 = getm $.Toybox.WatchUi;
symbol [ KEY_UP %tmp.21 63 25 31 ];
symbol [ KEY_UP %tmp.21 62 25 31 ];
%tmp.21 = getv %tmp.20 :KEY_UP;
%tmp.22 = getv function %tmp.19 :equals;
%tmp.23 = invoke %tmp.19 %tmp.22 (%tmp.21);
bt %tmp.23 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_63_12_64_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 66 12 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_defaultCodeBegin;
bt %tmp.23 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_62_12_63_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 65 12 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_36_12_48_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 37 16 ]
symbol [ $ %tmp.24 37 23 24 ];
@@ -141,65 +449,76 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 48 16 ]
%tmp.50 = true;
ret %tmp.50;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_50_12_58_16_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 51 24 ]
symbol [ System %tmp.51 51 24 30 ];
%tmp.51 = getm $.Toybox.System;
symbol [ exit %tmp.52 51 31 35 ];
%tmp.52 = getv function %tmp.51 :exit;
invoke %tmp.51 %tmp.52();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 52 16 ]
symbol [ $ %tmp.53 52 23 24 ];
%tmp.53 = getm $;
symbol [ gMatch %tmp.54 52 25 31 ];
%tmp.54 = getv %tmp.53 :gMatch;
symbol [ state %tmp.55 52 32 37 ];
%tmp.55 = getv %tmp.54 :state;
push %tmp.55;
switch %tmp.55 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_16_58_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_16_58_16_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 53 20 ]
%tmp.56 = dup %tmp.55;
symbol [ POSTGAME %tmp.58 53 25 33 ];
%tmp.58 = getv ? :POSTGAME;
%tmp.59 = getv function %tmp.56 :equals;
%tmp.60 = invoke %tmp.56 %tmp.59 (%tmp.58);
bt %tmp.60 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_53_20_53_33_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 55 20 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_16_58_16_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_16_58_16_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_53_20_53_33_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_55_20_57_35_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_16_58_16_defaultCodeBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 57 24 ]
%tmp.61 = true;
ret %tmp.61;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_16_58_16_switchStmtEnd:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_50_12_57_16_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 51 16 ]
symbol [ $ %tmp.51 51 23 24 ];
%tmp.51 = getm $;
symbol [ gMatch %tmp.52 51 25 31 ];
%tmp.52 = getv %tmp.51 :gMatch;
symbol [ state %tmp.53 51 32 37 ];
%tmp.53 = getv %tmp.52 :state;
push %tmp.53;
switch %tmp.53 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 52 20 ]
%tmp.54 = dup %tmp.53;
symbol [ POSTGAME %tmp.56 52 25 33 ];
%tmp.56 = getv ? :POSTGAME;
%tmp.57 = getv function %tmp.54 :equals;
%tmp.58 = invoke %tmp.54 %tmp.57 (%tmp.56);
bt %tmp.58 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_20_52_33_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 54 20 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_20_52_33_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_54_20_56_35_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_defaultCodeBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 55 24 ]
symbol [ WatchUi %tmp.59 55 24 31 ];
%tmp.59 = getm $.Toybox.WatchUi;
symbol [ pushView %tmp.60 55 32 40 ];
%tmp.60 = getv function %tmp.59 :pushView;
symbol [ $ %tmp.61 55 41 42 ];
%tmp.61 = getm $;
symbol [ gMenuActions %tmp.62 55 43 55 ];
%tmp.62 = getv %tmp.61 :gMenuActions;
symbol [ menuActionsDelegate %tmp.66 55 61 80 ];
%tmp.66 = getv ? :menuActionsDelegate;
%tmp.63 = newc %tmp.66 ();
symbol [ WatchUi %tmp.67 55 84 91 ];
%tmp.67 = getm $.Toybox.WatchUi;
symbol [ SLIDE_UP %tmp.68 55 92 100 ];
%tmp.68 = getv %tmp.67 :SLIDE_UP;
invoke %tmp.59 %tmp.60(%tmp.62, %tmp.63, %tmp.68);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 56 24 ]
%tmp.69 = true;
ret %tmp.69;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_switchStmtEnd:
pop;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_60_12_61_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 61 16 ]
%tmp.62 = true;
ret %tmp.62;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_63_12_64_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 64 16 ]
%tmp.63 = true;
ret %tmp.63;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_66_12_67_28_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_defaultCodeBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 67 16 ]
%tmp.64 = false;
ret %tmp.64;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_switchStmtEnd:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_59_12_60_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 60 16 ]
%tmp.70 = true;
ret %tmp.70;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_62_12_63_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 63 16 ]
%tmp.71 = true;
ret %tmp.71;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_65_12_66_28_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_defaultCodeBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 66 16 ]
%tmp.72 = false;
ret %tmp.72;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_switchStmtEnd:
pop;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_34_60_69_4_stop:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_34_60_68_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 71; @symbol_functiondef = [onMenu,71,13,19]; @symbol_return<0> = [Boolean,71,25,32]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 70; @symbol_functiondef = [onMenu,70,13,19]; @symbol_return<0> = [Boolean,70,25,32]; ]
function onMenu() as Boolean {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_71_33_73_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 72 8 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_70_33_72_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 71 8 ]
%tmp.1 = false;
ret %tmp.1;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_71_33_73_4_stop:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_70_33_72_4_stop:
}
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 1; ]
+673 -184
View File
@@ -6,243 +6,732 @@ import Toybox.WatchUi;
import Toybox.Graphics;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Time,4,14,18]; ]
import Toybox.Time;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 6; @symbol_enumdef = [enCard,6,12,18]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [Math,5,14,18]; ]
import Toybox.Math;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 6; @symbol_importdef<0> = [Toybox,6,7,13]; @symbol_importdef<1> = [System,6,14,20]; ]
import Toybox.System;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 8; @symbol_enumdef = [enCard,8,12,18]; ]
enum enCard {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 7; @position = 4; @symbol_enumdec = [RED,7,4,7]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 9; @position = 4; @symbol_enumdec = [RED,9,4,7]; ]
RED,
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 8; @position = 4; @symbol_enumdec = [YELLOW,8,4,10]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 10; @position = 4; @symbol_enumdec = [YELLOW,10,4,10]; ]
YELLOW,
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 9; @position = 4; @symbol_enumdec = [GREEN,9,4,9]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 11; @position = 4; @symbol_enumdec = [GREEN,11,4,9]; ]
GREEN
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 11; @symbol_enumdef = [enGoal,11,12,18]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 13; @symbol_enumdef = [enGoal,13,12,18]; ]
enum enGoal {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 12; @position = 4; @symbol_enumdec = [PC,12,4,6]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 14; @position = 4; @symbol_enumdec = [PC,14,4,6]; ]
PC = "PC",
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 13; @position = 4; @symbol_enumdec = [PS,13,4,6]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 15; @position = 4; @symbol_enumdec = [PS,15,4,6]; ]
PS = "PS",
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 14; @position = 4; @symbol_enumdec = [FG,14,4,6]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 16; @position = 4; @symbol_enumdec = [FG,16,4,6]; ]
FG = "FG"
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 16; @symbol_enumdef = [enTeam,16,12,18]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 18; @symbol_enumdef = [enTeam,18,12,18]; ]
enum enTeam {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 17; @position = 4; @symbol_enumdec = [HOME,17,4,8]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 19; @position = 4; @symbol_enumdec = [HOME,19,4,8]; ]
HOME = "Home",
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 18; @position = 4; @symbol_enumdec = [AWAY,18,4,8]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 20; @position = 4; @symbol_enumdec = [AWAY,20,4,8]; ]
AWAY = "Away"
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 20; @symbol_enumdef = [enPeriod,20,12,20]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 22; @symbol_enumdef = [enPeriod,22,12,20]; ]
enum enPeriod {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 21; @position = 4; @symbol_enumdec = [PLAY,21,4,8]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 23; @position = 4; @symbol_enumdec = [PLAY,23,4,8]; ]
PLAY,
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 22; @position = 4; @symbol_enumdec = [BREAK,22,4,9]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 24; @position = 4; @symbol_enumdec = [BREAK,24,4,9]; ]
BREAK
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 24; @symbol_enumdef = [enAction,24,12,20]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 26; @symbol_enumdef = [enAction,26,12,20]; ]
enum enAction {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 25; @position = 4; @symbol_enumdec = [GOAL,25,4,8]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 27; @position = 4; @symbol_enumdec = [GOAL,27,4,8]; ]
GOAL,
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 26; @position = 4; @symbol_enumdec = [CARD,26,4,8]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 28; @position = 4; @symbol_enumdec = [CARD,28,4,8]; ]
CARD,
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 27; @position = 4; @symbol_enumdec = [QUIT,27,4,8]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 29; @position = 4; @symbol_enumdec = [QUIT,29,4,8]; ]
QUIT
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 29; @symbol_enumdef = [enGame,29,12,18]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 31; @symbol_enumdef = [enGame,31,12,18]; ]
enum enGame {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 30; @position = 4; @symbol_enumdec = [PREGAME,30,4,11]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 32; @position = 4; @symbol_enumdec = [PREGAME,32,4,11]; ]
PREGAME,
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 31; @position = 4; @symbol_enumdec = [INGAME,31,4,10]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 33; @position = 4; @symbol_enumdec = [INGAME,33,4,10]; ]
INGAME,
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 32; @position = 4; @symbol_enumdec = [POSTGAME,32,4,12]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 34; @position = 4; @symbol_enumdec = [POSTGAME,34,4,12]; ]
POSTGAME
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 36; @position = 11; @symbol_vardef = [gMenuTeams,36,11,21]; @symbol_type<0> = [WatchUi,36,27,34]; @symbol_type<1> = [Menu2,36,35,40]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 38; @position = 11; @symbol_vardef = [gMenuTeams,38,11,21]; @symbol_type<0> = [WatchUi,38,27,34]; @symbol_type<1> = [Menu2,38,35,40]; ]
var gMenuTeams as WatchUi.Menu2 or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 37; @position = 11; @symbol_vardef = [gMenuActions,37,11,23]; @symbol_type<0> = [WatchUi,37,27,34]; @symbol_type<1> = [Menu2,37,35,40]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 39; @position = 11; @symbol_vardef = [gMenuActions,39,11,23]; @symbol_type<0> = [WatchUi,39,27,34]; @symbol_type<1> = [Menu2,39,35,40]; ]
var gMenuActions as WatchUi.Menu2 or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 38; @position = 11; @symbol_vardef = [gMenuGoals,38,11,21]; @symbol_type<0> = [WatchUi,38,27,34]; @symbol_type<1> = [Menu2,38,35,40]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 40; @position = 11; @symbol_vardef = [gMenuGoals,40,11,21]; @symbol_type<0> = [WatchUi,40,27,34]; @symbol_type<1> = [Menu2,40,35,40]; ]
var gMenuGoals as WatchUi.Menu2 or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 39; @position = 11; @symbol_vardef = [gMenuCards,39,11,21]; @symbol_type<0> = [WatchUi,39,27,34]; @symbol_type<1> = [Menu2,39,35,40]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 41; @position = 11; @symbol_vardef = [gMenuCards,41,11,21]; @symbol_type<0> = [WatchUi,41,27,34]; @symbol_type<1> = [Menu2,41,35,40]; ]
var gMenuCards as WatchUi.Menu2 or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 40; @position = 11; @symbol_vardef = [gMenuApp,40,11,19]; @symbol_type<0> = [WatchUi,40,27,34]; @symbol_type<1> = [Menu2,40,35,40]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 42; @position = 11; @symbol_vardef = [gMenuApp,42,11,19]; @symbol_type<0> = [WatchUi,42,27,34]; @symbol_type<1> = [Menu2,42,35,40]; ]
var gMenuApp as WatchUi.Menu2 or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 42; @position = 11; @symbol_vardef = [gScore,42,11,17]; @symbol_type<0> = [String,42,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 44; @position = 11; @symbol_vardef = [gScore,44,11,17]; @symbol_type<0> = [String,44,27,33]; ]
var gScore as String = "0-0";
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 43; @position = 11; @symbol_vardef = [gMatch,43,11,17]; @symbol_type<0> = [Match,43,27,32]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 45; @position = 11; @symbol_vardef = [gMatch,45,11,17]; @symbol_type<0> = [Match,45,27,32]; ]
var gMatch as Match or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 45; @position = 11; @symbol_vardef = [gX,45,11,13]; @symbol_type<0> = [Number,45,27,33]; ]
var gX as Number or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 46; @position = 11; @symbol_vardef = [gR,46,11,13]; @symbol_type<0> = [Float,46,27,32]; ]
var gR as Float or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 47; @position = 11; @symbol_vardef = [gH,47,11,13]; @symbol_type<0> = [Number,47,27,33]; ]
var gH as Number or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 48; @position = 11; @symbol_vardef = [gW,48,11,13]; @symbol_type<0> = [Number,48,27,33]; ]
var gW as Number or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 49; @position = 11; @symbol_vardef = [gY,49,11,13]; @symbol_type<0> = [Number,49,27,33]; ]
var gY as Number or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 51; @position = 11; @symbol_vardef = [gTitleArc,51,11,20]; @symbol_type<0> = [Float,51,27,32]; ]
var gTitleArc as Float = 25.0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 52; @position = 11; @symbol_vardef = [gPeriodWidth,52,11,23]; @symbol_type<0> = [Float,52,27,32]; ]
var gPeriodWidth as Float = 6.0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 53; @position = 11; @symbol_vardef = [gPeriodArc,53,11,21]; @symbol_type<0> = [Float,53,27,32]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 46; @position = 11; @symbol_vardef = [gIconGreen,46,11,21]; ]
var gIconGreen;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 47; @position = 11; @symbol_vardef = [gIconYellow,47,11,22]; ]
var gIconYellow;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 48; @position = 11; @symbol_vardef = [gIconRed,48,11,19]; ]
var gIconRed;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 50; @position = 13; @symbol_constdef = [gH,50,13,15]; @symbol_type<0> = [Float,50,27,32]; ]
const gH as Float;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 51; @position = 13; @symbol_constdef = [gW,51,13,15]; @symbol_type<0> = [Float,51,27,32]; ]
const gW as Float;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 52; @position = 13; @symbol_constdef = [gX,52,13,15]; @symbol_type<0> = [Float,52,27,32]; ]
const gX as Float;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 53; @position = 13; @symbol_constdef = [gY,53,13,15]; @symbol_type<0> = [Float,53,27,32]; ]
const gY as Float;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 54; @position = 13; @symbol_constdef = [gR,54,13,15]; @symbol_type<0> = [Float,54,27,32]; ]
const gR as Float;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 56; @position = 11; @symbol_vardef = [gPeriodArc,56,11,21]; @symbol_type<0> = [Float,56,27,32]; ]
var gPeriodArc as Float or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 54; @position = 11; @symbol_vardef = [gFilledArc,54,11,21]; @symbol_type<0> = [Float,54,27,32]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 57; @position = 11; @symbol_vardef = [gFilledArc,57,11,21]; @symbol_type<0> = [Float,57,27,32]; ]
var gFilledArc as Float or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 55; @position = 11; @symbol_vardef = [gStartAngle,55,11,22]; @symbol_type<0> = [Float,55,27,32]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 58; @position = 11; @symbol_vardef = [gStartAngle,58,11,22]; @symbol_type<0> = [Float,58,27,32]; ]
var gStartAngle as Float or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 56; @position = 11; @symbol_vardef = [gEndAngle,56,11,20]; @symbol_type<0> = [Float,56,27,32]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 59; @position = 11; @symbol_vardef = [gEndAngle,59,11,20]; @symbol_type<0> = [Float,59,27,32]; ]
var gEndAngle as Float or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 58; @position = 11; @symbol_vardef = [gFontTimer,58,11,21]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 62; @position = 11; @symbol_vardef = [gFontTimer,62,11,21]; ]
var gFontTimer;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 59; @position = 11; @symbol_vardef = [gFontCards,59,11,21]; ]
var gFontCards;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 60; @position = 11; @symbol_vardef = [gFontClock,60,11,21]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 63; @position = 11; @symbol_vardef = [gFontButtons,63,11,23]; ]
var gFontButtons;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 64; @position = 11; @symbol_vardef = [gFontClock,64,11,21]; ]
var gFontClock;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 61; @position = 11; @symbol_vardef = [gFontScore,61,11,21]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 65; @position = 11; @symbol_vardef = [gFontScore,65,11,21]; ]
var gFontScore;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 62; @position = 11; @symbol_vardef = [gFontCardsX,62,11,22]; ]
var gFontCardsX;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 64; @position = 11; @symbol_vardef = [gInfo,64,11,16]; @symbol_type<0> = [Time,64,27,31]; @symbol_type<1> = [Gregorian,64,32,41]; @symbol_type<2> = [Info,64,42,46]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 66; @position = 11; @symbol_vardef = [gFontCards,66,11,21]; ]
var gFontCards;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 68; @position = 13; @symbol_constdef = [gFontCardsX,68,13,24]; ]
const gFontCardsX;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 69; @position = 13; @symbol_constdef = [gFontCardsW,69,13,24]; ]
const gFontCardsW;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 70; @position = 13; @symbol_constdef = [gFontCardsR,70,13,24]; ]
const gFontCardsR;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 72; @position = 11; @symbol_vardef = [gTitleArc1,72,11,21]; @symbol_type<0> = [Float,72,28,33]; ]
var gTitleArc1 as Float = 25.0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 73; @position = 11; @symbol_vardef = [gPeriodWidth,73,11,23]; @symbol_type<0> = [Float,73,27,32]; ]
var gPeriodWidth as Float = 6.0;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 75; @position = 13; @symbol_constdef = [gBUTTON_GPS,75,13,24]; @symbol_type<0> = [Array,75,28,33]; @symbol_type<1> = [Float,75,34,39]; ]
const gBUTTON_GPS as Array<Float>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 78; @position = 13; @symbol_constdef = [gBUTTON_SET,78,13,24]; @symbol_type<0> = [Array,78,28,33]; @symbol_type<1> = [Float,78,34,39]; ]
const gBUTTON_SET as Array<Float>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 81; @position = 13; @symbol_constdef = [gBUTTON_DOWN,81,13,25]; @symbol_type<0> = [Array,81,29,34]; @symbol_type<1> = [Float,81,35,40]; ]
const gBUTTON_DOWN as Array<Float>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 84; @position = 13; @symbol_constdef = [gBUTTON_UP,84,13,23]; @symbol_type<0> = [Array,84,27,32]; @symbol_type<1> = [Float,84,33,38]; ]
const gBUTTON_UP as Array<Float>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 87; @position = 13; @symbol_constdef = [gBUTTON_CTL,87,13,24]; @symbol_type<0> = [Array,87,28,33]; @symbol_type<1> = [Float,87,34,39]; ]
const gBUTTON_CTL as Array<Float>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 92; @position = 11; @symbol_vardef = [gInfo,92,11,16]; @symbol_type<0> = [Time,92,27,31]; @symbol_type<1> = [Gregorian,92,32,41]; @symbol_type<2> = [Info,92,42,46]; ]
var gInfo as Time.Gregorian.Info or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 65; @position = 11; @symbol_vardef = [gTime,65,11,16]; @symbol_type<0> = [String,65,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 93; @position = 11; @symbol_vardef = [gTime,93,11,16]; @symbol_type<0> = [String,93,27,33]; ]
var gTime as String or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 66; @position = 11; @symbol_vardef = [gTextCard,66,11,20]; @symbol_type<0> = [String,66,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 94; @position = 11; @symbol_vardef = [gTextCard,94,11,20]; @symbol_type<0> = [String,94,27,33]; ]
var gTextCard as String or Null;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 68; @position = 11; @symbol_vardef = [g1Q,68,11,14]; @symbol_type<0> = [String,68,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 96; @position = 11; @symbol_vardef = [g1Q,96,11,14]; @symbol_type<0> = [String,96,27,33]; ]
var g1Q as String;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 69; @position = 11; @symbol_vardef = [g1H,69,11,14]; @symbol_type<0> = [String,69,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 97; @position = 11; @symbol_vardef = [g1H,97,11,14]; @symbol_type<0> = [String,97,27,33]; ]
var g1H as String;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 70; @position = 11; @symbol_vardef = [g3Q,70,11,14]; @symbol_type<0> = [String,70,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 98; @position = 11; @symbol_vardef = [g3Q,98,11,14]; @symbol_type<0> = [String,98,27,33]; ]
var g3Q as String;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 72; @position = 11; @symbol_vardef = [gCards,72,11,17]; @symbol_type<0> = [Array,72,27,32]; @symbol_type<1> = [String,72,33,39]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 100; @position = 11; @symbol_vardef = [gCards,100,11,17]; @symbol_type<0> = [Array,100,27,32]; @symbol_type<1> = [String,100,33,39]; ]
var gCards as Array<String>;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 73; @position = 11; @symbol_vardef = [gPlay,73,11,16]; @symbol_type<0> = [String,73,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 101; @position = 11; @symbol_vardef = [gPlay,101,11,16]; @symbol_type<0> = [String,101,27,33]; ]
var gPlay as String;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 74; @position = 11; @symbol_vardef = [gPause,74,11,17]; @symbol_type<0> = [String,74,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 102; @position = 11; @symbol_vardef = [gPause,102,11,17]; @symbol_type<0> = [String,102,27,33]; ]
var gPause as String;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 75; @position = 11; @symbol_vardef = [gPlus,75,11,16]; @symbol_type<0> = [String,75,27,33]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 103; @position = 11; @symbol_vardef = [gPlus,103,11,16]; @symbol_type<0> = [String,103,27,33]; ]
var gPlus as String;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 105; @symbol_functiondef = [closeApp,105,16,24]; ]
function closeApp() {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appGlobals_mc_105_26_108_0_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 107 4 ]
symbol [ System %tmp.1 107 4 10 ];
%tmp.1 = getm $.Toybox.System;
symbol [ exit %tmp.2 107 11 15 ];
%tmp.2 = getv function %tmp.1 :exit;
invoke %tmp.1 %tmp.2();
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appGlobals_mc_105_26_108_0_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 1; ]
<init> {
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 58 11 ]
symbol [ WatchUi %tmp.1 58 25 32 ];
%tmp.1 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.2 58 33 45 ];
%tmp.2 = getv function %tmp.1 :loadResource;
symbol [ $ %tmp.3 58 46 47 ];
%tmp.3 = getm $;
symbol [ Rez %tmp.4 58 48 51 ];
%tmp.4 = getv %tmp.3 :Rez;
symbol [ Fonts %tmp.5 58 52 57 ];
%tmp.5 = getv %tmp.4 :Fonts;
symbol [ SevenSegment %tmp.6 58 58 70 ];
%tmp.6 = getv %tmp.5 :SevenSegment;
%tmp.7 = invoke %tmp.1 %tmp.2(%tmp.6);
putv self :gFontTimer %tmp.7;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 59 11 ]
symbol [ WatchUi %tmp.8 59 25 32 ];
%tmp.8 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.9 59 33 45 ];
%tmp.9 = getv function %tmp.8 :loadResource;
symbol [ $ %tmp.10 59 46 47 ];
%tmp.10 = getm $;
symbol [ Rez %tmp.11 59 48 51 ];
%tmp.11 = getv %tmp.10 :Rez;
symbol [ Fonts %tmp.12 59 52 57 ];
%tmp.12 = getv %tmp.11 :Fonts;
symbol [ font40 %tmp.13 59 58 64 ];
%tmp.13 = getv %tmp.12 :font40;
%tmp.14 = invoke %tmp.8 %tmp.9(%tmp.13);
putv self :gFontCards %tmp.14;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 60 11 ]
symbol [ WatchUi %tmp.15 60 25 32 ];
%tmp.15 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.16 60 33 45 ];
%tmp.16 = getv function %tmp.15 :loadResource;
symbol [ $ %tmp.17 60 46 47 ];
%tmp.17 = getm $;
symbol [ Rez %tmp.18 60 48 51 ];
%tmp.18 = getv %tmp.17 :Rez;
symbol [ Fonts %tmp.19 60 52 57 ];
%tmp.19 = getv %tmp.18 :Fonts;
symbol [ led_small %tmp.20 60 58 67 ];
%tmp.20 = getv %tmp.19 :led_small;
%tmp.21 = invoke %tmp.15 %tmp.16(%tmp.20);
putv self :gFontClock %tmp.21;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 61 11 ]
symbol [ WatchUi %tmp.22 61 25 32 ];
%tmp.22 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.23 61 33 45 ];
%tmp.23 = getv function %tmp.22 :loadResource;
symbol [ $ %tmp.24 61 46 47 ];
%tmp.24 = getm $;
symbol [ Rez %tmp.25 61 48 51 ];
%tmp.25 = getv %tmp.24 :Rez;
symbol [ Fonts %tmp.26 61 52 57 ];
%tmp.26 = getv %tmp.25 :Fonts;
symbol [ font40 %tmp.27 61 58 64 ];
%tmp.27 = getv %tmp.26 :font40;
%tmp.28 = invoke %tmp.22 %tmp.23(%tmp.27);
putv self :gFontScore %tmp.28;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 46 11 ]
symbol [ WatchUi %tmp.3 46 25 32 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.4 46 33 45 ];
%tmp.4 = getv function %tmp.3 :loadResource;
symbol [ Rez %tmp.6 46 46 49 ];
%tmp.6 = getv ? :Rez;
symbol [ Drawables %tmp.7 46 50 59 ];
%tmp.7 = getv %tmp.6 :Drawables;
symbol [ greenCard %tmp.8 46 60 69 ];
%tmp.8 = getv %tmp.7 :greenCard;
%tmp.9 = invoke %tmp.3 %tmp.4(%tmp.8);
putv self :gIconGreen %tmp.9;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 47 11 ]
symbol [ WatchUi %tmp.10 47 25 32 ];
%tmp.10 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.11 47 33 45 ];
%tmp.11 = getv function %tmp.10 :loadResource;
symbol [ Rez %tmp.13 47 46 49 ];
%tmp.13 = getv ? :Rez;
symbol [ Drawables %tmp.14 47 50 59 ];
%tmp.14 = getv %tmp.13 :Drawables;
symbol [ yellowCard %tmp.15 47 60 70 ];
%tmp.15 = getv %tmp.14 :yellowCard;
%tmp.16 = invoke %tmp.10 %tmp.11(%tmp.15);
putv self :gIconYellow %tmp.16;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 48 11 ]
symbol [ WatchUi %tmp.17 48 25 32 ];
%tmp.17 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.18 48 33 45 ];
%tmp.18 = getv function %tmp.17 :loadResource;
symbol [ Rez %tmp.20 48 46 49 ];
%tmp.20 = getv ? :Rez;
symbol [ Drawables %tmp.21 48 50 59 ];
%tmp.21 = getv %tmp.20 :Drawables;
symbol [ redCard %tmp.22 48 60 67 ];
%tmp.22 = getv %tmp.21 :redCard;
%tmp.23 = invoke %tmp.17 %tmp.18(%tmp.22);
putv self :gIconRed %tmp.23;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 50 13 ]
symbol [ Toybox %tmp.25 50 35 41 ];
%tmp.25 = getv ? :Toybox;
symbol [ System %tmp.26 50 42 48 ];
%tmp.26 = getv %tmp.25 :System;
symbol [ getDeviceSettings %tmp.27 50 49 66 ];
%tmp.27 = getv function %tmp.26 :getDeviceSettings;
%tmp.28 = invoke %tmp.26 %tmp.27();
symbol [ screenHeight %tmp.29 50 69 81 ];
%tmp.29 = getv %tmp.28 :screenHeight;
symbol [ toFloat %tmp.30 50 82 89 ];
%tmp.30 = getv function %tmp.29 :toFloat;
%tmp.31 = invoke %tmp.29 %tmp.30();
putv self :gH %tmp.31;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 51 13 ]
symbol [ Toybox %tmp.33 51 35 41 ];
%tmp.33 = getv ? :Toybox;
symbol [ System %tmp.34 51 42 48 ];
%tmp.34 = getv %tmp.33 :System;
symbol [ getDeviceSettings %tmp.35 51 49 66 ];
%tmp.35 = getv function %tmp.34 :getDeviceSettings;
%tmp.36 = invoke %tmp.34 %tmp.35();
symbol [ screenWidth %tmp.37 51 69 80 ];
%tmp.37 = getv %tmp.36 :screenWidth;
symbol [ toFloat %tmp.38 51 81 88 ];
%tmp.38 = getv function %tmp.37 :toFloat;
%tmp.39 = invoke %tmp.37 %tmp.38();
putv self :gW %tmp.39;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 52 13 ]
symbol [ gW %tmp.41 52 35 37 ];
%tmp.41 = getv ? :gW;
%tmp.42 = 2.0;
%tmp.43 = div %tmp.41 %tmp.42;
putv self :gX %tmp.43;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 53 13 ]
symbol [ gH %tmp.45 53 35 37 ];
%tmp.45 = getv ? :gH;
%tmp.46 = 2.0;
%tmp.47 = div %tmp.45 %tmp.46;
putv self :gY %tmp.47;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 54 13 ]
symbol [ gW %tmp.49 54 35 37 ];
%tmp.49 = getv ? :gW;
%tmp.50 = 2.0;
%tmp.51 = div %tmp.49 %tmp.50;
putv self :gR %tmp.51;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 62 11 ]
symbol [ Graphics %tmp.29 62 25 33 ];
%tmp.29 = getm $.Toybox.Graphics;
symbol [ getFontHeight %tmp.30 62 34 47 ];
%tmp.30 = getv function %tmp.29 :getFontHeight;
symbol [ $ %tmp.31 62 48 49 ];
%tmp.31 = getm $;
symbol [ gFontCards %tmp.32 62 50 60 ];
%tmp.32 = getv %tmp.31 :gFontCards;
%tmp.33 = invoke %tmp.29 %tmp.30(%tmp.32);
%tmp.34 = 2;
%tmp.35 = div %tmp.33 %tmp.34;
putv self :gFontCardsX %tmp.35;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 68 11 ]
%tmp.36 = "\u007F";
symbol [ toString %tmp.37 68 45 53 ];
%tmp.37 = getv function %tmp.36 :toString;
%tmp.38 = invoke %tmp.36 %tmp.37();
putv self :g1Q %tmp.38;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 69 11 ]
%tmp.39 = "\u0080";
symbol [ toString %tmp.40 69 45 53 ];
%tmp.40 = getv function %tmp.39 :toString;
%tmp.41 = invoke %tmp.39 %tmp.40();
putv self :g1H %tmp.41;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 70 11 ]
%tmp.42 = "\u0081";
symbol [ toString %tmp.43 70 45 53 ];
%tmp.43 = getv function %tmp.42 :toString;
%tmp.44 = invoke %tmp.42 %tmp.43();
putv self :g3Q %tmp.44;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 72 11 ]
%tmp.45 = newa 3;
%tmp.46 = "\u0084";
%tmp.47 = dup %tmp.45;
%tmp.48 = aputv %tmp.47 0 %tmp.46;
%tmp.49 = "\u0083";
%tmp.50 = dup %tmp.48;
%tmp.51 = aputv %tmp.50 1 %tmp.49;
%tmp.52 = "\u0082";
%tmp.53 = dup %tmp.51;
%tmp.54 = aputv %tmp.53 2 %tmp.52;
putv self :gCards %tmp.54;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 73 11 ]
%tmp.55 = "\u0085";
symbol [ toString %tmp.56 73 45 53 ];
%tmp.56 = getv function %tmp.55 :toString;
%tmp.57 = invoke %tmp.55 %tmp.56();
putv self :gPlay %tmp.57;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 74 11 ]
%tmp.58 = "\u0086";
symbol [ toString %tmp.59 74 45 53 ];
%tmp.59 = getv function %tmp.58 :toString;
%tmp.60 = invoke %tmp.58 %tmp.59();
putv self :gPause %tmp.60;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 75 11 ]
%tmp.61 = "\u0087";
symbol [ toString %tmp.62 75 45 53 ];
%tmp.62 = getv function %tmp.61 :toString;
%tmp.63 = invoke %tmp.61 %tmp.62();
putv self :gPlus %tmp.63;
symbol [ WatchUi %tmp.52 62 26 33 ];
%tmp.52 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.53 62 34 46 ];
%tmp.53 = getv function %tmp.52 :loadResource;
symbol [ $ %tmp.54 62 47 48 ];
%tmp.54 = getm $;
symbol [ Rez %tmp.55 62 49 52 ];
%tmp.55 = getv %tmp.54 :Rez;
symbol [ Fonts %tmp.56 62 53 58 ];
%tmp.56 = getv %tmp.55 :Fonts;
symbol [ SevenSegment %tmp.57 62 59 71 ];
%tmp.57 = getv %tmp.56 :SevenSegment;
%tmp.58 = invoke %tmp.52 %tmp.53(%tmp.57);
putv self :gFontTimer %tmp.58;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 63 11 ]
symbol [ WatchUi %tmp.59 63 26 33 ];
%tmp.59 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.60 63 34 46 ];
%tmp.60 = getv function %tmp.59 :loadResource;
symbol [ $ %tmp.61 63 47 48 ];
%tmp.61 = getm $;
symbol [ Rez %tmp.62 63 49 52 ];
%tmp.62 = getv %tmp.61 :Rez;
symbol [ Fonts %tmp.63 63 53 58 ];
%tmp.63 = getv %tmp.62 :Fonts;
symbol [ fontButtons %tmp.64 63 59 70 ];
%tmp.64 = getv %tmp.63 :fontButtons;
%tmp.65 = invoke %tmp.59 %tmp.60(%tmp.64);
putv self :gFontButtons %tmp.65;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 64 11 ]
symbol [ WatchUi %tmp.66 64 26 33 ];
%tmp.66 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.67 64 34 46 ];
%tmp.67 = getv function %tmp.66 :loadResource;
symbol [ $ %tmp.68 64 47 48 ];
%tmp.68 = getm $;
symbol [ Rez %tmp.69 64 49 52 ];
%tmp.69 = getv %tmp.68 :Rez;
symbol [ Fonts %tmp.70 64 53 58 ];
%tmp.70 = getv %tmp.69 :Fonts;
symbol [ led_small %tmp.71 64 59 68 ];
%tmp.71 = getv %tmp.70 :led_small;
%tmp.72 = invoke %tmp.66 %tmp.67(%tmp.71);
putv self :gFontClock %tmp.72;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 65 11 ]
symbol [ WatchUi %tmp.73 65 26 33 ];
%tmp.73 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.74 65 34 46 ];
%tmp.74 = getv function %tmp.73 :loadResource;
symbol [ $ %tmp.75 65 47 48 ];
%tmp.75 = getm $;
symbol [ Rez %tmp.76 65 49 52 ];
%tmp.76 = getv %tmp.75 :Rez;
symbol [ Fonts %tmp.77 65 53 58 ];
%tmp.77 = getv %tmp.76 :Fonts;
symbol [ fontCards %tmp.78 65 59 68 ];
%tmp.78 = getv %tmp.77 :fontCards;
%tmp.79 = invoke %tmp.73 %tmp.74(%tmp.78);
putv self :gFontScore %tmp.79;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 66 11 ]
symbol [ WatchUi %tmp.80 66 26 33 ];
%tmp.80 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.81 66 34 46 ];
%tmp.81 = getv function %tmp.80 :loadResource;
symbol [ $ %tmp.82 66 47 48 ];
%tmp.82 = getm $;
symbol [ Rez %tmp.83 66 49 52 ];
%tmp.83 = getv %tmp.82 :Rez;
symbol [ Fonts %tmp.84 66 53 58 ];
%tmp.84 = getv %tmp.83 :Fonts;
symbol [ fontCards %tmp.85 66 59 68 ];
%tmp.85 = getv %tmp.84 :fontCards;
%tmp.86 = invoke %tmp.80 %tmp.81(%tmp.85);
putv self :gFontCards %tmp.86;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 68 13 ]
symbol [ Graphics %tmp.87 68 28 36 ];
%tmp.87 = getm $.Toybox.Graphics;
symbol [ getFontHeight %tmp.88 68 37 50 ];
%tmp.88 = getv function %tmp.87 :getFontHeight;
symbol [ $ %tmp.89 68 51 52 ];
%tmp.89 = getm $;
symbol [ gFontButtons %tmp.90 68 53 65 ];
%tmp.90 = getv %tmp.89 :gFontButtons;
%tmp.91 = invoke %tmp.87 %tmp.88(%tmp.90);
%tmp.92 = 2;
%tmp.93 = div %tmp.91 %tmp.92;
putv self :gFontCardsX %tmp.93;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 69 13 ]
symbol [ Graphics %tmp.94 69 28 36 ];
%tmp.94 = getm $.Toybox.Graphics;
symbol [ getFontHeight %tmp.95 69 37 50 ];
%tmp.95 = getv function %tmp.94 :getFontHeight;
symbol [ $ %tmp.96 69 51 52 ];
%tmp.96 = getm $;
symbol [ gFontButtons %tmp.97 69 53 65 ];
%tmp.97 = getv %tmp.96 :gFontButtons;
%tmp.98 = invoke %tmp.94 %tmp.95(%tmp.97);
putv self :gFontCardsW %tmp.98;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 70 13 ]
symbol [ Math %tmp.99 70 28 32 ];
%tmp.99 = getm $.Toybox.Math;
symbol [ sqrt %tmp.100 70 33 37 ];
%tmp.100 = getv function %tmp.99 :sqrt;
%tmp.101 = 2;
symbol [ gFontCardsW %tmp.103 70 42 53 ];
%tmp.103 = getv ? :gFontCardsW;
%tmp.104 = mul %tmp.101 %tmp.103;
symbol [ gFontCardsW %tmp.106 70 56 67 ];
%tmp.106 = getv ? :gFontCardsW;
%tmp.107 = mul %tmp.104 %tmp.106;
%tmp.108 = invoke %tmp.99 %tmp.100(%tmp.107);
%tmp.109 = 2.0;
%tmp.110 = div %tmp.108 %tmp.109;
putv self :gFontCardsR %tmp.110;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 75 13 ]
%tmp.111 = newa 2;
symbol [ $ %tmp.112 76 8 9 ];
%tmp.112 = getm $;
symbol [ gX %tmp.113 76 10 12 ];
%tmp.113 = getv %tmp.112 :gX;
symbol [ Math %tmp.114 76 15 19 ];
%tmp.114 = getm $.Toybox.Math;
symbol [ sin %tmp.115 76 20 23 ];
%tmp.115 = getv function %tmp.114 :sin;
%tmp.116 = 60.0;
symbol [ Math %tmp.117 76 32 36 ];
%tmp.117 = getm $.Toybox.Math;
symbol [ PI %tmp.118 76 37 39 ];
%tmp.118 = getv %tmp.117 :PI;
%tmp.119 = mul %tmp.116 %tmp.118;
%tmp.120 = 180.0;
%tmp.121 = div %tmp.119 %tmp.120;
%tmp.122 = invoke %tmp.114 %tmp.115(%tmp.121);
symbol [ $ %tmp.123 76 52 53 ];
%tmp.123 = getm $;
symbol [ gX %tmp.124 76 54 56 ];
%tmp.124 = getv %tmp.123 :gX;
symbol [ gFontCardsR %tmp.126 76 59 70 ];
%tmp.126 = getv ? :gFontCardsR;
%tmp.127 = sub %tmp.124 %tmp.126;
symbol [ gPeriodWidth %tmp.129 76 73 85 ];
%tmp.129 = getv ? :gPeriodWidth;
%tmp.130 = sub %tmp.127 %tmp.129;
%tmp.131 = mul %tmp.122 %tmp.130;
%tmp.132 = add %tmp.113 %tmp.131;
%tmp.133 = dup %tmp.111;
%tmp.134 = aputv %tmp.133 0 %tmp.132;
symbol [ $ %tmp.135 77 8 9 ];
%tmp.135 = getm $;
symbol [ gY %tmp.136 77 10 12 ];
%tmp.136 = getv %tmp.135 :gY;
symbol [ Math %tmp.137 77 15 19 ];
%tmp.137 = getm $.Toybox.Math;
symbol [ cos %tmp.138 77 20 23 ];
%tmp.138 = getv function %tmp.137 :cos;
%tmp.139 = 60.0;
symbol [ Math %tmp.140 77 32 36 ];
%tmp.140 = getm $.Toybox.Math;
symbol [ PI %tmp.141 77 37 39 ];
%tmp.141 = getv %tmp.140 :PI;
%tmp.142 = mul %tmp.139 %tmp.141;
%tmp.143 = 180.0;
%tmp.144 = div %tmp.142 %tmp.143;
%tmp.145 = invoke %tmp.137 %tmp.138(%tmp.144);
symbol [ $ %tmp.146 77 52 53 ];
%tmp.146 = getm $;
symbol [ gX %tmp.147 77 54 56 ];
%tmp.147 = getv %tmp.146 :gX;
symbol [ gFontCardsR %tmp.149 77 59 70 ];
%tmp.149 = getv ? :gFontCardsR;
%tmp.150 = sub %tmp.147 %tmp.149;
symbol [ gPeriodWidth %tmp.152 77 73 85 ];
%tmp.152 = getv ? :gPeriodWidth;
%tmp.153 = sub %tmp.150 %tmp.152;
%tmp.154 = mul %tmp.145 %tmp.153;
%tmp.155 = sub %tmp.136 %tmp.154;
%tmp.156 = dup %tmp.134;
%tmp.157 = aputv %tmp.156 1 %tmp.155;
putv self :gBUTTON_GPS %tmp.157;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 78 13 ]
%tmp.158 = newa 2;
symbol [ $ %tmp.159 79 8 9 ];
%tmp.159 = getm $;
symbol [ gX %tmp.160 79 10 12 ];
%tmp.160 = getv %tmp.159 :gX;
symbol [ Math %tmp.161 79 15 19 ];
%tmp.161 = getm $.Toybox.Math;
symbol [ sin %tmp.162 79 20 23 ];
%tmp.162 = getv function %tmp.161 :sin;
%tmp.163 = 120.0;
symbol [ Math %tmp.164 79 32 36 ];
%tmp.164 = getm $.Toybox.Math;
symbol [ PI %tmp.165 79 37 39 ];
%tmp.165 = getv %tmp.164 :PI;
%tmp.166 = mul %tmp.163 %tmp.165;
%tmp.167 = 180.0;
%tmp.168 = div %tmp.166 %tmp.167;
%tmp.169 = invoke %tmp.161 %tmp.162(%tmp.168);
symbol [ $ %tmp.170 79 52 53 ];
%tmp.170 = getm $;
symbol [ gX %tmp.171 79 54 56 ];
%tmp.171 = getv %tmp.170 :gX;
symbol [ gFontCardsR %tmp.173 79 59 70 ];
%tmp.173 = getv ? :gFontCardsR;
%tmp.174 = sub %tmp.171 %tmp.173;
symbol [ gPeriodWidth %tmp.176 79 73 85 ];
%tmp.176 = getv ? :gPeriodWidth;
%tmp.177 = sub %tmp.174 %tmp.176;
%tmp.178 = mul %tmp.169 %tmp.177;
%tmp.179 = add %tmp.160 %tmp.178;
%tmp.180 = dup %tmp.158;
%tmp.181 = aputv %tmp.180 0 %tmp.179;
symbol [ $ %tmp.182 80 8 9 ];
%tmp.182 = getm $;
symbol [ gY %tmp.183 80 10 12 ];
%tmp.183 = getv %tmp.182 :gY;
symbol [ Math %tmp.184 80 15 19 ];
%tmp.184 = getm $.Toybox.Math;
symbol [ cos %tmp.185 80 20 23 ];
%tmp.185 = getv function %tmp.184 :cos;
%tmp.186 = 120.0;
symbol [ Math %tmp.187 80 32 36 ];
%tmp.187 = getm $.Toybox.Math;
symbol [ PI %tmp.188 80 37 39 ];
%tmp.188 = getv %tmp.187 :PI;
%tmp.189 = mul %tmp.186 %tmp.188;
%tmp.190 = 180.0;
%tmp.191 = div %tmp.189 %tmp.190;
%tmp.192 = invoke %tmp.184 %tmp.185(%tmp.191);
symbol [ $ %tmp.193 80 52 53 ];
%tmp.193 = getm $;
symbol [ gX %tmp.194 80 54 56 ];
%tmp.194 = getv %tmp.193 :gX;
symbol [ gFontCardsR %tmp.196 80 59 70 ];
%tmp.196 = getv ? :gFontCardsR;
%tmp.197 = sub %tmp.194 %tmp.196;
symbol [ gPeriodWidth %tmp.199 80 73 85 ];
%tmp.199 = getv ? :gPeriodWidth;
%tmp.200 = sub %tmp.197 %tmp.199;
%tmp.201 = mul %tmp.192 %tmp.200;
%tmp.202 = sub %tmp.183 %tmp.201;
%tmp.203 = dup %tmp.181;
%tmp.204 = aputv %tmp.203 1 %tmp.202;
putv self :gBUTTON_SET %tmp.204;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 81 13 ]
%tmp.205 = newa 2;
symbol [ $ %tmp.206 82 8 9 ];
%tmp.206 = getm $;
symbol [ gX %tmp.207 82 10 12 ];
%tmp.207 = getv %tmp.206 :gX;
symbol [ Math %tmp.208 82 15 19 ];
%tmp.208 = getm $.Toybox.Math;
symbol [ sin %tmp.209 82 20 23 ];
%tmp.209 = getv function %tmp.208 :sin;
%tmp.210 = 240.0;
symbol [ Math %tmp.211 82 32 36 ];
%tmp.211 = getm $.Toybox.Math;
symbol [ PI %tmp.212 82 37 39 ];
%tmp.212 = getv %tmp.211 :PI;
%tmp.213 = mul %tmp.210 %tmp.212;
%tmp.214 = 180.0;
%tmp.215 = div %tmp.213 %tmp.214;
%tmp.216 = invoke %tmp.208 %tmp.209(%tmp.215);
symbol [ $ %tmp.217 82 52 53 ];
%tmp.217 = getm $;
symbol [ gX %tmp.218 82 54 56 ];
%tmp.218 = getv %tmp.217 :gX;
symbol [ gFontCardsR %tmp.220 82 59 70 ];
%tmp.220 = getv ? :gFontCardsR;
%tmp.221 = sub %tmp.218 %tmp.220;
symbol [ gPeriodWidth %tmp.223 82 73 85 ];
%tmp.223 = getv ? :gPeriodWidth;
%tmp.224 = sub %tmp.221 %tmp.223;
%tmp.225 = mul %tmp.216 %tmp.224;
%tmp.226 = add %tmp.207 %tmp.225;
%tmp.227 = dup %tmp.205;
%tmp.228 = aputv %tmp.227 0 %tmp.226;
symbol [ $ %tmp.229 83 8 9 ];
%tmp.229 = getm $;
symbol [ gY %tmp.230 83 10 12 ];
%tmp.230 = getv %tmp.229 :gY;
symbol [ Math %tmp.231 83 15 19 ];
%tmp.231 = getm $.Toybox.Math;
symbol [ cos %tmp.232 83 20 23 ];
%tmp.232 = getv function %tmp.231 :cos;
%tmp.233 = 240.0;
symbol [ Math %tmp.234 83 32 36 ];
%tmp.234 = getm $.Toybox.Math;
symbol [ PI %tmp.235 83 37 39 ];
%tmp.235 = getv %tmp.234 :PI;
%tmp.236 = mul %tmp.233 %tmp.235;
%tmp.237 = 180.0;
%tmp.238 = div %tmp.236 %tmp.237;
%tmp.239 = invoke %tmp.231 %tmp.232(%tmp.238);
symbol [ $ %tmp.240 83 52 53 ];
%tmp.240 = getm $;
symbol [ gX %tmp.241 83 54 56 ];
%tmp.241 = getv %tmp.240 :gX;
symbol [ gFontCardsR %tmp.243 83 59 70 ];
%tmp.243 = getv ? :gFontCardsR;
%tmp.244 = sub %tmp.241 %tmp.243;
symbol [ gPeriodWidth %tmp.246 83 73 85 ];
%tmp.246 = getv ? :gPeriodWidth;
%tmp.247 = sub %tmp.244 %tmp.246;
%tmp.248 = mul %tmp.239 %tmp.247;
%tmp.249 = sub %tmp.230 %tmp.248;
%tmp.250 = dup %tmp.228;
%tmp.251 = aputv %tmp.250 1 %tmp.249;
putv self :gBUTTON_DOWN %tmp.251;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 84 13 ]
%tmp.252 = newa 2;
symbol [ $ %tmp.253 85 8 9 ];
%tmp.253 = getm $;
symbol [ gX %tmp.254 85 10 12 ];
%tmp.254 = getv %tmp.253 :gX;
symbol [ Math %tmp.255 85 15 19 ];
%tmp.255 = getm $.Toybox.Math;
symbol [ sin %tmp.256 85 20 23 ];
%tmp.256 = getv function %tmp.255 :sin;
%tmp.257 = 270.0;
symbol [ Math %tmp.258 85 32 36 ];
%tmp.258 = getm $.Toybox.Math;
symbol [ PI %tmp.259 85 37 39 ];
%tmp.259 = getv %tmp.258 :PI;
%tmp.260 = mul %tmp.257 %tmp.259;
%tmp.261 = 180.0;
%tmp.262 = div %tmp.260 %tmp.261;
%tmp.263 = invoke %tmp.255 %tmp.256(%tmp.262);
symbol [ $ %tmp.264 85 52 53 ];
%tmp.264 = getm $;
symbol [ gX %tmp.265 85 54 56 ];
%tmp.265 = getv %tmp.264 :gX;
symbol [ gFontCardsR %tmp.267 85 59 70 ];
%tmp.267 = getv ? :gFontCardsR;
%tmp.268 = sub %tmp.265 %tmp.267;
symbol [ gPeriodWidth %tmp.270 85 73 85 ];
%tmp.270 = getv ? :gPeriodWidth;
%tmp.271 = sub %tmp.268 %tmp.270;
%tmp.272 = mul %tmp.263 %tmp.271;
%tmp.273 = add %tmp.254 %tmp.272;
%tmp.274 = dup %tmp.252;
%tmp.275 = aputv %tmp.274 0 %tmp.273;
symbol [ $ %tmp.276 86 8 9 ];
%tmp.276 = getm $;
symbol [ gY %tmp.277 86 10 12 ];
%tmp.277 = getv %tmp.276 :gY;
symbol [ Math %tmp.278 86 15 19 ];
%tmp.278 = getm $.Toybox.Math;
symbol [ cos %tmp.279 86 20 23 ];
%tmp.279 = getv function %tmp.278 :cos;
%tmp.280 = 270.0;
symbol [ Math %tmp.281 86 32 36 ];
%tmp.281 = getm $.Toybox.Math;
symbol [ PI %tmp.282 86 37 39 ];
%tmp.282 = getv %tmp.281 :PI;
%tmp.283 = mul %tmp.280 %tmp.282;
%tmp.284 = 180.0;
%tmp.285 = div %tmp.283 %tmp.284;
%tmp.286 = invoke %tmp.278 %tmp.279(%tmp.285);
symbol [ $ %tmp.287 86 52 53 ];
%tmp.287 = getm $;
symbol [ gX %tmp.288 86 54 56 ];
%tmp.288 = getv %tmp.287 :gX;
symbol [ gFontCardsR %tmp.290 86 59 70 ];
%tmp.290 = getv ? :gFontCardsR;
%tmp.291 = sub %tmp.288 %tmp.290;
symbol [ gPeriodWidth %tmp.293 86 73 85 ];
%tmp.293 = getv ? :gPeriodWidth;
%tmp.294 = sub %tmp.291 %tmp.293;
%tmp.295 = mul %tmp.286 %tmp.294;
%tmp.296 = sub %tmp.277 %tmp.295;
%tmp.297 = dup %tmp.275;
%tmp.298 = aputv %tmp.297 1 %tmp.296;
putv self :gBUTTON_UP %tmp.298;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 87 13 ]
%tmp.299 = newa 2;
symbol [ $ %tmp.300 88 8 9 ];
%tmp.300 = getm $;
symbol [ gX %tmp.301 88 10 12 ];
%tmp.301 = getv %tmp.300 :gX;
symbol [ Math %tmp.302 88 15 19 ];
%tmp.302 = getm $.Toybox.Math;
symbol [ sin %tmp.303 88 20 23 ];
%tmp.303 = getv function %tmp.302 :sin;
%tmp.304 = 300.0;
symbol [ Math %tmp.305 88 32 36 ];
%tmp.305 = getm $.Toybox.Math;
symbol [ PI %tmp.306 88 37 39 ];
%tmp.306 = getv %tmp.305 :PI;
%tmp.307 = mul %tmp.304 %tmp.306;
%tmp.308 = 180.0;
%tmp.309 = div %tmp.307 %tmp.308;
%tmp.310 = invoke %tmp.302 %tmp.303(%tmp.309);
symbol [ $ %tmp.311 88 52 53 ];
%tmp.311 = getm $;
symbol [ gX %tmp.312 88 54 56 ];
%tmp.312 = getv %tmp.311 :gX;
symbol [ gFontCardsR %tmp.314 88 59 70 ];
%tmp.314 = getv ? :gFontCardsR;
%tmp.315 = sub %tmp.312 %tmp.314;
symbol [ gPeriodWidth %tmp.317 88 73 85 ];
%tmp.317 = getv ? :gPeriodWidth;
%tmp.318 = sub %tmp.315 %tmp.317;
%tmp.319 = mul %tmp.310 %tmp.318;
%tmp.320 = add %tmp.301 %tmp.319;
%tmp.321 = dup %tmp.299;
%tmp.322 = aputv %tmp.321 0 %tmp.320;
symbol [ $ %tmp.323 89 8 9 ];
%tmp.323 = getm $;
symbol [ gY %tmp.324 89 10 12 ];
%tmp.324 = getv %tmp.323 :gY;
symbol [ Math %tmp.325 89 15 19 ];
%tmp.325 = getm $.Toybox.Math;
symbol [ cos %tmp.326 89 20 23 ];
%tmp.326 = getv function %tmp.325 :cos;
%tmp.327 = 300.0;
symbol [ Math %tmp.328 89 32 36 ];
%tmp.328 = getm $.Toybox.Math;
symbol [ PI %tmp.329 89 37 39 ];
%tmp.329 = getv %tmp.328 :PI;
%tmp.330 = mul %tmp.327 %tmp.329;
%tmp.331 = 180.0;
%tmp.332 = div %tmp.330 %tmp.331;
%tmp.333 = invoke %tmp.325 %tmp.326(%tmp.332);
symbol [ $ %tmp.334 89 52 53 ];
%tmp.334 = getm $;
symbol [ gX %tmp.335 89 54 56 ];
%tmp.335 = getv %tmp.334 :gX;
symbol [ gFontCardsR %tmp.337 89 59 70 ];
%tmp.337 = getv ? :gFontCardsR;
%tmp.338 = sub %tmp.335 %tmp.337;
symbol [ gPeriodWidth %tmp.340 89 73 85 ];
%tmp.340 = getv ? :gPeriodWidth;
%tmp.341 = sub %tmp.338 %tmp.340;
%tmp.342 = mul %tmp.333 %tmp.341;
%tmp.343 = sub %tmp.324 %tmp.342;
%tmp.344 = dup %tmp.322;
%tmp.345 = aputv %tmp.344 1 %tmp.343;
putv self :gBUTTON_CTL %tmp.345;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 96 11 ]
%tmp.346 = "\u007F";
symbol [ toString %tmp.347 96 45 53 ];
%tmp.347 = getv function %tmp.346 :toString;
%tmp.348 = invoke %tmp.346 %tmp.347();
putv self :g1Q %tmp.348;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 97 11 ]
%tmp.349 = "\u0080";
symbol [ toString %tmp.350 97 45 53 ];
%tmp.350 = getv function %tmp.349 :toString;
%tmp.351 = invoke %tmp.349 %tmp.350();
putv self :g1H %tmp.351;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 98 11 ]
%tmp.352 = "\u0081";
symbol [ toString %tmp.353 98 45 53 ];
%tmp.353 = getv function %tmp.352 :toString;
%tmp.354 = invoke %tmp.352 %tmp.353();
putv self :g3Q %tmp.354;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 100 11 ]
%tmp.355 = newa 3;
%tmp.356 = "\u0084";
%tmp.357 = dup %tmp.355;
%tmp.358 = aputv %tmp.357 0 %tmp.356;
%tmp.359 = "\u0083";
%tmp.360 = dup %tmp.358;
%tmp.361 = aputv %tmp.360 1 %tmp.359;
%tmp.362 = "\u0082";
%tmp.363 = dup %tmp.361;
%tmp.364 = aputv %tmp.363 2 %tmp.362;
putv self :gCards %tmp.364;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 101 11 ]
%tmp.365 = "\u0030";
symbol [ toString %tmp.366 101 45 53 ];
%tmp.366 = getv function %tmp.365 :toString;
%tmp.367 = invoke %tmp.365 %tmp.366();
putv self :gPlay %tmp.367;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 102 11 ]
%tmp.368 = "\u0031";
symbol [ toString %tmp.369 102 45 53 ];
%tmp.369 = getv function %tmp.368 :toString;
%tmp.370 = invoke %tmp.368 %tmp.369();
putv self :gPause %tmp.370;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 103 11 ]
%tmp.371 = "\u0032";
symbol [ toString %tmp.372 103 45 53 ];
%tmp.372 = getv function %tmp.371 :toString;
%tmp.373 = invoke %tmp.371 %tmp.372();
putv self :gPlus %tmp.373;
}
+871 -1042
View File
File diff suppressed because it is too large. Load diff
+40 -23
View File
@@ -133,31 +133,48 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc
bf %tmp.10 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_true:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_26_48_8_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 46 12 ]
symbol [ System %tmp.11 46 12 18 ];
%tmp.11 = getm $.Toybox.System;
symbol [ println %tmp.12 46 19 26 ];
%tmp.12 = getv function %tmp.11 :println;
symbol [ Lang %tmp.13 46 27 31 ];
%tmp.13 = getm $.Toybox.Lang;
symbol [ format %tmp.14 46 32 38 ];
%tmp.14 = getv function %tmp.13 :format;
%tmp.15 = "Card: $1$ Over";
%tmp.16 = newa 1;
symbol [ player %tmp.18 46 57 63 ];
%tmp.18 = getv ? :player;
symbol [ format %tmp.19 46 64 70 ];
%tmp.19 = getv function %tmp.18 :format;
%tmp.20 = "%02d";
%tmp.21 = invoke %tmp.18 %tmp.19(%tmp.20);
%tmp.22 = dup %tmp.16;
%tmp.23 = aputv %tmp.22 0 %tmp.21;
%tmp.24 = invoke %tmp.13 %tmp.14(%tmp.15, %tmp.23);
invoke %tmp.11 %tmp.12(%tmp.24);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 45 12 ]
symbol [ WatchUi %tmp.11 45 12 19 ];
%tmp.11 = getm $.Toybox.WatchUi;
symbol [ pushView %tmp.12 45 20 28 ];
%tmp.12 = getv function %tmp.11 :pushView;
symbol [ menuConfirmationDelegate %tmp.16 45 33 57 ];
%tmp.16 = getv ? :menuConfirmationDelegate;
symbol [ Lang %tmp.17 45 58 62 ];
%tmp.17 = getm $.Toybox.Lang;
symbol [ format %tmp.18 45 63 69 ];
%tmp.18 = getv function %tmp.17 :format;
%tmp.19 = "Card: $1$ Over";
%tmp.20 = newa 1;
symbol [ player %tmp.22 45 88 94 ];
%tmp.22 = getv ? :player;
symbol [ format %tmp.23 45 95 101 ];
%tmp.23 = getv function %tmp.22 :format;
%tmp.24 = "%02d";
%tmp.25 = invoke %tmp.22 %tmp.23(%tmp.24);
%tmp.26 = dup %tmp.20;
%tmp.27 = aputv %tmp.26 0 %tmp.25;
%tmp.28 = invoke %tmp.17 %tmp.18(%tmp.19, %tmp.27);
%tmp.29 = false;
%tmp.13 = newc %tmp.16 (%tmp.28, %tmp.29);
symbol [ ConfirmationDelegate %tmp.33 45 125 145 ];
%tmp.33 = getv ? :ConfirmationDelegate;
%tmp.34 = self;
symbol [ method %tmp.35 45 146 152 ];
%tmp.35 = getv function %tmp.34 :method;
%tmp.37 = const :dummy;
symbol [ dummy %tmp.37 45 154 159 const ];
%tmp.38 = invoke %tmp.34 %tmp.35(%tmp.37);
%tmp.30 = newc %tmp.33 (%tmp.38);
symbol [ WatchUi %tmp.39 45 163 170 ];
%tmp.39 = getm $.Toybox.WatchUi;
symbol [ SLIDE_LEFT %tmp.40 45 171 181 ];
%tmp.40 = getv %tmp.39 :SLIDE_LEFT;
invoke %tmp.11 %tmp.12(%tmp.13, %tmp.30, %tmp.40);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 47 12 ]
%tmp.25 = false;
%tmp.41 = false;
symbol [ isActive ? 47 12 20 ];
putv self :isActive %tmp.25;
putv self :isActive %tmp.41;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_26_48_8_stop:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_end:
+208 -139
View File
@@ -115,188 +115,190 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc
%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);
%tmp.18 = 35;
%tmp.19 = 60;
%tmp.20 = mul %tmp.18 %tmp.19;
%tmp.11 = newc %tmp.14 (%tmp.15, %tmp.17, %tmp.20);
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);
symbol [ periods %tmp.22 37 8 15 ];
%tmp.22 = getv ? :periods;
symbol [ add %tmp.23 37 16 19 ];
%tmp.23 = getv function %tmp.22 :add;
symbol [ Period %tmp.27 37 24 30 ];
%tmp.27 = getv ? :Period;
%tmp.28 = "1/4 Break";
symbol [ BREAK %tmp.30 37 46 51 ];
%tmp.30 = getv ? :BREAK;
%tmp.31 = 2;
%tmp.24 = newc %tmp.27 (%tmp.28, %tmp.30, %tmp.31);
invoke %tmp.22 %tmp.23(%tmp.24);
[ "/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);
symbol [ periods %tmp.33 38 8 15 ];
%tmp.33 = getv ? :periods;
symbol [ add %tmp.34 38 16 19 ];
%tmp.34 = getv function %tmp.33 :add;
symbol [ Period %tmp.38 38 24 30 ];
%tmp.38 = getv ? :Period;
%tmp.39 = "2nd Quarter";
symbol [ PLAY %tmp.41 38 46 50 ];
%tmp.41 = getv ? :PLAY;
%tmp.42 = 100;
%tmp.35 = newc %tmp.38 (%tmp.39, %tmp.41, %tmp.42);
invoke %tmp.33 %tmp.34(%tmp.35);
[ "/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);
symbol [ periods %tmp.44 39 8 15 ];
%tmp.44 = getv ? :periods;
symbol [ add %tmp.45 39 16 19 ];
%tmp.45 = getv function %tmp.44 :add;
symbol [ Period %tmp.49 39 24 30 ];
%tmp.49 = getv ? :Period;
%tmp.50 = "1/2 Break";
symbol [ BREAK %tmp.52 39 46 51 ];
%tmp.52 = getv ? :BREAK;
%tmp.53 = 2;
%tmp.46 = newc %tmp.49 (%tmp.50, %tmp.52, %tmp.53);
invoke %tmp.44 %tmp.45(%tmp.46);
[ "/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);
symbol [ periods %tmp.55 40 8 15 ];
%tmp.55 = getv ? :periods;
symbol [ add %tmp.56 40 16 19 ];
%tmp.56 = getv function %tmp.55 :add;
symbol [ Period %tmp.60 40 24 30 ];
%tmp.60 = getv ? :Period;
%tmp.61 = "3rd Quarter";
symbol [ PLAY %tmp.63 40 46 50 ];
%tmp.63 = getv ? :PLAY;
%tmp.64 = 100;
%tmp.57 = newc %tmp.60 (%tmp.61, %tmp.63, %tmp.64);
invoke %tmp.55 %tmp.56(%tmp.57);
[ "/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);
symbol [ periods %tmp.66 41 8 15 ];
%tmp.66 = getv ? :periods;
symbol [ add %tmp.67 41 16 19 ];
%tmp.67 = getv function %tmp.66 :add;
symbol [ Period %tmp.71 41 24 30 ];
%tmp.71 = getv ? :Period;
%tmp.72 = "3/4 Break";
symbol [ BREAK %tmp.74 41 46 51 ];
%tmp.74 = getv ? :BREAK;
%tmp.75 = 2;
%tmp.68 = newc %tmp.71 (%tmp.72, %tmp.74, %tmp.75);
invoke %tmp.66 %tmp.67(%tmp.68);
[ "/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);
symbol [ periods %tmp.77 42 8 15 ];
%tmp.77 = getv ? :periods;
symbol [ add %tmp.78 42 16 19 ];
%tmp.78 = getv function %tmp.77 :add;
symbol [ Period %tmp.82 42 24 30 ];
%tmp.82 = getv ? :Period;
%tmp.83 = "4th Quarter";
symbol [ PLAY %tmp.85 42 46 50 ];
%tmp.85 = getv ? :PLAY;
%tmp.86 = 100;
%tmp.79 = newc %tmp.82 (%tmp.83, %tmp.85, %tmp.86);
invoke %tmp.77 %tmp.78(%tmp.79);
[ "/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 [ periods %tmp.88 43 17 24 ];
%tmp.88 = getv ? :periods;
symbol [ _period %tmp.90 43 25 32 ];
%tmp.90 = getv ? :_period;
%tmp.91 = agetv %tmp.88 %tmp.90;
symbol [ period ? 43 8 14 ];
putv self :period %tmp.89;
putv self :period %tmp.91;
[ "/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;
%tmp.92 = 0;
lputv %i.1 %tmp.92;
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;
%tmp.93 = lgetv %i.1;
symbol [ i %tmp.93 45 23 24 ];
symbol [ periods %tmp.95 45 26 33 ];
%tmp.95 = getv ? :periods;
symbol [ size %tmp.96 45 34 38 ];
%tmp.96 = getv function %tmp.95 :size;
%tmp.97 = invoke %tmp.95 %tmp.96();
%tmp.98 = lt %tmp.93 %tmp.97;
bf %tmp.98 @_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 %tmp.101 46 12 23 ];
%tmp.101 = getv ? :periodCount;
%tmp.102 = add %tmp.101 1;
symbol [ periodCount ? 46 12 23 ];
putv self :periodCount dup %tmp.100;
putv self :periodCount dup %tmp.102;
[ "/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;
symbol [ periods %tmp.104 47 20 27 ];
%tmp.104 = getv ? :periods;
%tmp.105 = lgetv %i.1;
symbol [ i %tmp.105 47 28 29 ];
%tmp.106 = agetv %tmp.104 %tmp.105;
symbol [ type %tmp.107 47 31 35 ];
%tmp.107 = getv %tmp.106 :type;
push %tmp.107;
switch %tmp.107 @_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;
%tmp.108 = dup %tmp.107;
symbol [ PLAY %tmp.110 48 21 25 ];
%tmp.110 = getv ? :PLAY;
%tmp.111 = getv function %tmp.108 :equals;
%tmp.112 = invoke %tmp.108 %tmp.111 (%tmp.110);
bt %tmp.112 @_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;
%tmp.113 = dup %tmp.107;
symbol [ BREAK %tmp.115 52 21 26 ];
%tmp.115 = getv ? :BREAK;
%tmp.116 = getv function %tmp.113 :equals;
%tmp.117 = invoke %tmp.113 %tmp.116 (%tmp.115);
bt %tmp.117 @_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 %tmp.118 49 20 28 ];
%tmp.118 = getv self :duration;
symbol [ periods %tmp.120 49 32 39 ];
%tmp.120 = getv ? :periods;
%tmp.121 = lgetv %i.1;
symbol [ i %tmp.121 49 40 41 ];
%tmp.122 = agetv %tmp.120 %tmp.121;
symbol [ duration %tmp.123 49 43 51 ];
%tmp.123 = getv %tmp.122 :duration;
%tmp.124 = add %tmp.118 %tmp.123;
symbol [ duration ? 49 20 28 ];
putv self :duration dup %tmp.122;
putv self :duration dup %tmp.124;
[ "/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 %tmp.127 50 20 29 ];
%tmp.127 = getv ? :playCount;
%tmp.128 = add %tmp.127 1;
symbol [ playCount ? 50 20 29 ];
putv self :playCount dup %tmp.126;
putv self :playCount dup %tmp.128;
[ "/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 %tmp.131 53 20 30 ];
%tmp.131 = getv ? :breakCount;
%tmp.132 = add %tmp.131 1;
symbol [ breakCount ? 53 20 30 ];
putv self :breakCount dup %tmp.130;
putv self :breakCount dup %tmp.132;
_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;
%tmp.135 = lgetv %i.1;
symbol [ i %tmp.135 45 42 43 ];
%tmp.136 = add %tmp.135 1;
lputv %i.1 %tmp.136;
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:
@@ -396,6 +398,73 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc
invoke %tmp.2 %tmp.3(%tmp.4);
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_75_43_78_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 80; @symbol_functiondef = [recordGoal,80,13,23]; @symbol_param<0> = [team,80,24,28]; @symbol_param<0>_type<0> = [enTeam,80,32,38]; @symbol_param<1> = [type,80,40,44]; @symbol_param<1>_type<0> = [enGoal,80,48,54]; @symbol_param<2> = [player,80,56,62]; @symbol_param<2>_type<0> = [Number,80,66,72]; ]
function recordGoal(team as enTeam, type as enGoal, player as Number) {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_80_73_91_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 81 8 ]
symbol [ goals %tmp.2 81 8 13 ];
%tmp.2 = getv ? :goals;
symbol [ add %tmp.3 81 14 17 ];
%tmp.3 = getv function %tmp.2 :add;
symbol [ Goal %tmp.7 81 22 26 ];
%tmp.7 = getv ? :Goal;
%tmp.8 = lgetv %team;
symbol [ team %tmp.8 81 27 31 ];
%tmp.9 = lgetv %type;
symbol [ type %tmp.9 81 33 37 ];
%tmp.10 = lgetv %player;
symbol [ player %tmp.10 81 39 45 ];
%tmp.11 = self;
symbol [ me %tmp.11 81 47 49 ];
symbol [ elapsed %tmp.12 81 50 57 ];
%tmp.12 = getv %tmp.11 :elapsed;
%tmp.4 = newc %tmp.7 (%tmp.8, %tmp.9, %tmp.10, %tmp.12);
invoke %tmp.2 %tmp.3(%tmp.4);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 82 8 ]
%tmp.13 = lgetv %team;
symbol [ team %tmp.13 82 16 20 ];
push %tmp.13;
switch %tmp.13 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_82_8_90_8_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_82_8_90_8_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 83 12 ]
%tmp.14 = dup %tmp.13;
symbol [ HOME %tmp.16 83 17 21 ];
%tmp.16 = getv ? :HOME;
%tmp.17 = getv function %tmp.14 :equals;
%tmp.18 = invoke %tmp.14 %tmp.17 (%tmp.16);
bt %tmp.18 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_83_12_85_21_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 87 12 ]
%tmp.19 = dup %tmp.13;
symbol [ AWAY %tmp.21 87 17 21 ];
%tmp.21 = getv ? :AWAY;
%tmp.22 = getv function %tmp.19 :equals;
%tmp.23 = invoke %tmp.19 %tmp.22 (%tmp.21);
bt %tmp.23 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_87_12_89_21_switchCase;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_82_8_90_8_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_82_8_90_8_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_83_12_85_21_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 84 16 ]
symbol [ homeScore %tmp.26 84 16 25 ];
%tmp.26 = getv ? :homeScore;
%tmp.27 = add %tmp.26 1;
symbol [ homeScore ? 84 16 25 ];
putv self :homeScore dup %tmp.27;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 85 16 ]
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_82_8_90_8_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_87_12_89_21_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 88 16 ]
symbol [ awayScore %tmp.30 88 16 25 ];
%tmp.30 = getv ? :awayScore;
%tmp.31 = add %tmp.30 1;
symbol [ awayScore ? 88 16 25 ];
putv self :awayScore dup %tmp.31;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 89 16 ]
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_82_8_90_8_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_82_8_90_8_defaultCodeBegin:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_82_8_90_8_switchStmtEnd:
pop;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_80_73_91_4_stop:
}
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 1; ]
<init> {
+56 -144
View File
@@ -33,26 +33,15 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDel
%tmp.2 = "on-Drag";
symbol [ kjr ? 13 8 11 ];
putv %tmp.1 :kjr %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 14 6 ]
symbol [ System %tmp.4 14 6 12 ];
%tmp.4 = getv ? :System;
symbol [ println %tmp.5 14 13 20 ];
%tmp.5 = getv function %tmp.4 :println;
%tmp.6 = lgetv %dragEvent;
symbol [ dragEvent %tmp.6 14 21 30 ];
symbol [ getType %tmp.7 14 31 38 ];
%tmp.7 = getv function %tmp.6 :getType;
%tmp.8 = invoke %tmp.6 %tmp.7();
invoke %tmp.4 %tmp.5(%tmp.8);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 15 6 ]
symbol [ WatchUi %tmp.9 15 6 13 ];
%tmp.9 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.10 15 14 27 ];
%tmp.10 = getv function %tmp.9 :requestUpdate;
invoke %tmp.9 %tmp.10();
symbol [ WatchUi %tmp.3 15 6 13 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.4 15 14 27 ];
%tmp.4 = getv function %tmp.3 :requestUpdate;
invoke %tmp.3 %tmp.4();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 16 6 ]
%tmp.11 = true;
ret %tmp.11;
%tmp.5 = true;
ret %tmp.5;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_12_68_18_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 19; @symbol_functiondef = [onFlick,19,13,20]; @symbol_param<0> = [flickEvent,19,21,31]; @symbol_param<0>_type<0> = [WatchUi,19,35,42]; @symbol_param<0>_type<1> = [FlickEvent,19,43,53]; @symbol_return<0> = [Lang,19,58,62]; @symbol_return<1> = [Boolean,19,63,70]; ]
@@ -64,26 +53,15 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDel
%tmp.2 = "onFlick";
symbol [ kjr ? 20 8 11 ];
putv %tmp.1 :kjr %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 21 6 ]
symbol [ System %tmp.4 21 6 12 ];
%tmp.4 = getv ? :System;
symbol [ println %tmp.5 21 13 20 ];
%tmp.5 = getv function %tmp.4 :println;
%tmp.6 = lgetv %flickEvent;
symbol [ flickEvent %tmp.6 21 21 31 ];
symbol [ getDirection %tmp.7 21 32 44 ];
%tmp.7 = getv function %tmp.6 :getDirection;
%tmp.8 = invoke %tmp.6 %tmp.7();
invoke %tmp.4 %tmp.5(%tmp.8);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 22 6 ]
symbol [ WatchUi %tmp.9 22 6 13 ];
%tmp.9 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.10 22 14 27 ];
%tmp.10 = getv function %tmp.9 :requestUpdate;
invoke %tmp.9 %tmp.10();
symbol [ WatchUi %tmp.3 22 6 13 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.4 22 14 27 ];
%tmp.4 = getv function %tmp.3 :requestUpdate;
invoke %tmp.3 %tmp.4();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 23 6 ]
%tmp.11 = true;
ret %tmp.11;
%tmp.5 = true;
ret %tmp.5;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_19_71_24_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 25; @symbol_functiondef = [onHold,25,13,19]; @symbol_param<0> = [clickEvent,25,20,30]; @symbol_param<0>_type<0> = [WatchUi,25,34,41]; @symbol_param<0>_type<1> = [ClickEvent,25,42,52]; @symbol_return<0> = [Lang,25,57,61]; @symbol_return<1> = [Boolean,25,62,69]; ]
@@ -95,26 +73,15 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDel
%tmp.2 = "onHold";
symbol [ kjr ? 26 8 11 ];
putv %tmp.1 :kjr %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 27 6 ]
symbol [ System %tmp.4 27 6 12 ];
%tmp.4 = getv ? :System;
symbol [ println %tmp.5 27 13 20 ];
%tmp.5 = getv function %tmp.4 :println;
%tmp.6 = lgetv %clickEvent;
symbol [ clickEvent %tmp.6 27 21 31 ];
symbol [ getType %tmp.7 27 32 39 ];
%tmp.7 = getv function %tmp.6 :getType;
%tmp.8 = invoke %tmp.6 %tmp.7();
invoke %tmp.4 %tmp.5(%tmp.8);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 28 6 ]
symbol [ WatchUi %tmp.9 28 6 13 ];
%tmp.9 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.10 28 14 27 ];
%tmp.10 = getv function %tmp.9 :requestUpdate;
invoke %tmp.9 %tmp.10();
symbol [ WatchUi %tmp.3 28 6 13 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.4 28 14 27 ];
%tmp.4 = getv function %tmp.3 :requestUpdate;
invoke %tmp.3 %tmp.4();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 29 6 ]
%tmp.11 = true;
ret %tmp.11;
%tmp.5 = true;
ret %tmp.5;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_25_70_30_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 31; @symbol_functiondef = [onKey,31,13,18]; @symbol_param<0> = [keyEvent,31,19,27]; @symbol_param<0>_type<0> = [WatchUi,31,31,38]; @symbol_param<0>_type<1> = [KeyEvent,31,39,47]; @symbol_return<0> = [Lang,31,52,56]; @symbol_return<1> = [Boolean,31,57,64]; ]
@@ -126,26 +93,15 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDel
%tmp.2 = "onKey";
symbol [ kjr ? 32 8 11 ];
putv %tmp.1 :kjr %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 33 6 ]
symbol [ System %tmp.4 33 6 12 ];
%tmp.4 = getv ? :System;
symbol [ println %tmp.5 33 13 20 ];
%tmp.5 = getv function %tmp.4 :println;
%tmp.6 = lgetv %keyEvent;
symbol [ keyEvent %tmp.6 33 21 29 ];
symbol [ getKey %tmp.7 33 30 36 ];
%tmp.7 = getv function %tmp.6 :getKey;
%tmp.8 = invoke %tmp.6 %tmp.7();
invoke %tmp.4 %tmp.5(%tmp.8);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 34 6 ]
symbol [ WatchUi %tmp.9 34 6 13 ];
%tmp.9 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.10 34 14 27 ];
%tmp.10 = getv function %tmp.9 :requestUpdate;
invoke %tmp.9 %tmp.10();
symbol [ WatchUi %tmp.3 34 6 13 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.4 34 14 27 ];
%tmp.4 = getv function %tmp.3 :requestUpdate;
invoke %tmp.3 %tmp.4();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 35 6 ]
%tmp.11 = true;
ret %tmp.11;
%tmp.5 = true;
ret %tmp.5;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_31_65_36_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 37; @symbol_functiondef = [onKeyPressed,37,13,25]; @symbol_param<0> = [keyEvent,37,26,34]; @symbol_param<0>_type<0> = [WatchUi,37,38,45]; @symbol_param<0>_type<1> = [KeyEvent,37,46,54]; @symbol_return<0> = [Lang,37,59,63]; @symbol_return<1> = [Boolean,37,64,71]; ]
@@ -157,26 +113,15 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDel
%tmp.2 = "onKeyPressed";
symbol [ kjr ? 38 8 11 ];
putv %tmp.1 :kjr %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 39 6 ]
symbol [ System %tmp.4 39 6 12 ];
%tmp.4 = getv ? :System;
symbol [ println %tmp.5 39 13 20 ];
%tmp.5 = getv function %tmp.4 :println;
%tmp.6 = lgetv %keyEvent;
symbol [ keyEvent %tmp.6 39 21 29 ];
symbol [ getKey %tmp.7 39 30 36 ];
%tmp.7 = getv function %tmp.6 :getKey;
%tmp.8 = invoke %tmp.6 %tmp.7();
invoke %tmp.4 %tmp.5(%tmp.8);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 40 6 ]
symbol [ WatchUi %tmp.9 40 6 13 ];
%tmp.9 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.10 40 14 27 ];
%tmp.10 = getv function %tmp.9 :requestUpdate;
invoke %tmp.9 %tmp.10();
symbol [ WatchUi %tmp.3 40 6 13 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.4 40 14 27 ];
%tmp.4 = getv function %tmp.3 :requestUpdate;
invoke %tmp.3 %tmp.4();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 41 6 ]
%tmp.11 = true;
ret %tmp.11;
%tmp.5 = true;
ret %tmp.5;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_37_72_42_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 43; @symbol_functiondef = [onKeyReleased,43,13,26]; @symbol_param<0> = [keyEvent,43,27,35]; @symbol_param<0>_type<0> = [WatchUi,43,39,46]; @symbol_param<0>_type<1> = [KeyEvent,43,47,55]; @symbol_return<0> = [Lang,43,60,64]; @symbol_return<1> = [Boolean,43,65,72]; ]
@@ -188,26 +133,15 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDel
%tmp.2 = "onKeyReleased";
symbol [ kjr ? 44 8 11 ];
putv %tmp.1 :kjr %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 45 6 ]
symbol [ System %tmp.4 45 6 12 ];
%tmp.4 = getv ? :System;
symbol [ println %tmp.5 45 13 20 ];
%tmp.5 = getv function %tmp.4 :println;
%tmp.6 = lgetv %keyEvent;
symbol [ keyEvent %tmp.6 45 21 29 ];
symbol [ getKey %tmp.7 45 30 36 ];
%tmp.7 = getv function %tmp.6 :getKey;
%tmp.8 = invoke %tmp.6 %tmp.7();
invoke %tmp.4 %tmp.5(%tmp.8);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 46 6 ]
symbol [ WatchUi %tmp.9 46 6 13 ];
%tmp.9 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.10 46 14 27 ];
%tmp.10 = getv function %tmp.9 :requestUpdate;
invoke %tmp.9 %tmp.10();
symbol [ WatchUi %tmp.3 46 6 13 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.4 46 14 27 ];
%tmp.4 = getv function %tmp.3 :requestUpdate;
invoke %tmp.3 %tmp.4();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 47 6 ]
%tmp.11 = true;
ret %tmp.11;
%tmp.5 = true;
ret %tmp.5;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_43_73_48_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 49; @symbol_functiondef = [onRelease,49,13,22]; @symbol_param<0> = [clickEvent,49,23,33]; @symbol_param<0>_type<0> = [WatchUi,49,37,44]; @symbol_param<0>_type<1> = [ClickEvent,49,45,55]; @symbol_return<0> = [Lang,49,60,64]; @symbol_return<1> = [Boolean,49,65,72]; ]
@@ -219,26 +153,15 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDel
%tmp.2 = "onRelease";
symbol [ kjr ? 50 8 11 ];
putv %tmp.1 :kjr %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 51 6 ]
symbol [ System %tmp.4 51 6 12 ];
%tmp.4 = getv ? :System;
symbol [ println %tmp.5 51 13 20 ];
%tmp.5 = getv function %tmp.4 :println;
%tmp.6 = lgetv %clickEvent;
symbol [ clickEvent %tmp.6 51 21 31 ];
symbol [ getType %tmp.7 51 32 39 ];
%tmp.7 = getv function %tmp.6 :getType;
%tmp.8 = invoke %tmp.6 %tmp.7();
invoke %tmp.4 %tmp.5(%tmp.8);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 52 6 ]
symbol [ WatchUi %tmp.9 52 6 13 ];
%tmp.9 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.10 52 14 27 ];
%tmp.10 = getv function %tmp.9 :requestUpdate;
invoke %tmp.9 %tmp.10();
symbol [ WatchUi %tmp.3 52 6 13 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.4 52 14 27 ];
%tmp.4 = getv function %tmp.3 :requestUpdate;
invoke %tmp.3 %tmp.4();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 53 6 ]
%tmp.11 = true;
ret %tmp.11;
%tmp.5 = true;
ret %tmp.5;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_49_73_54_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 55; @symbol_functiondef = [onSelectable,55,13,25]; @symbol_param<0> = [selectableEvent,55,26,41]; @symbol_param<0>_type<0> = [WatchUi,55,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,55,53,68]; @symbol_return<0> = [Lang,55,73,77]; @symbol_return<1> = [Boolean,55,78,85]; ]
@@ -301,26 +224,15 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDel
%tmp.2 = "onTap";
symbol [ kjr ? 67 8 11 ];
putv %tmp.1 :kjr %tmp.2;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 68 6 ]
symbol [ System %tmp.4 68 6 12 ];
%tmp.4 = getv ? :System;
symbol [ println %tmp.5 68 13 20 ];
%tmp.5 = getv function %tmp.4 :println;
%tmp.6 = lgetv %clickEvent;
symbol [ clickEvent %tmp.6 68 21 31 ];
symbol [ getType %tmp.7 68 32 39 ];
%tmp.7 = getv function %tmp.6 :getType;
%tmp.8 = invoke %tmp.6 %tmp.7();
invoke %tmp.4 %tmp.5(%tmp.8);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 69 6 ]
symbol [ WatchUi %tmp.9 69 6 13 ];
%tmp.9 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.10 69 14 27 ];
%tmp.10 = getv function %tmp.9 :requestUpdate;
invoke %tmp.9 %tmp.10();
symbol [ WatchUi %tmp.3 69 6 13 ];
%tmp.3 = getm $.Toybox.WatchUi;
symbol [ requestUpdate %tmp.4 69 14 27 ];
%tmp.4 = getv function %tmp.3 :requestUpdate;
invoke %tmp.3 %tmp.4();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 70 6 ]
%tmp.11 = true;
ret %tmp.11;
%tmp.5 = true;
ret %tmp.5;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_66_69_71_4_stop:
}
}